Skip to main content

Get Binding Status

Check whether a customer is bound to LINE. Recommended before sending.

GET /api/v1/merchant/customer/{customerExternalId}/line-binding

Path params

ParamDescription
customerExternalIdCustomer ID in your system

Success 200

{
"code": "OK",
"message": "Success",
"requestId": "req_...",
"data": {
"customerExternalId": "C10086",
"bound": true,
"status": "ACTIVE",
"lineUserIdMasked": "U1a2****cd"
}
}
FieldDescription
boundWhether bound
statusACTIVE (bound) / UNBOUND
lineUserIdMaskedMasked LINE userId (plaintext is never returned)

When not bound: bound=false, status="UNBOUND", lineUserIdMasked=null. This is a query endpoint and does not error.

Example

curl https://loma-dev.acorners.com/api/v1/merchant/customer/C10086/line-binding \
-H "X-Api-Key: lk_xxxx" -H "X-Api-Secret: xxxx"