Get Message Status
Get the delivery result of a message by messageRequestId.
GET /api/v1/merchant/message/{messageRequestId}
Path params
| Param | Description |
|---|---|
messageRequestId | The id returned by Send Message |
Success 200
{
"code": "OK",
"message": "Success",
"requestId": "req_...",
"data": {
"messageRequestId": "2072...014",
"category": "OTP",
"status": "SENT"
}
}
| Field | Description |
|---|---|
status | QUEUED / SENT / FAILED |
category | NOTIFICATION / OTP |
Common errors
| code | HTTP | Description |
|---|---|---|
MESSAGE_NOT_FOUND | 404 | Message not found |
Example
curl https://loma-dev.acorners.com/api/v1/merchant/message/2072000000000000014 \
-H "X-Api-Key: lk_xxxx" -H "X-Api-Secret: xxxx"