Skip to main content

Get the final status, wamid and failure reason

GET/v1/messages/{id}

Get the final status, wamid and failure reason.

Authentication

Send Authorization: Bearer <API_KEY> in the request headers. Which resources an API Key can reach is determined by its current authorization scope.

Request​

Base URL: https://api.bluehola.com

Parameters​

NameInRequiredType / constraintsDescription
idpathYesstringThe platform's message ID, msg_...

Response​

StatusDescription
200MessageDetails, including the status and a structured failure reason
401API Key missing or invalid
403The current credential cannot access this resource
404The message does not exist, or does not belong to the current account
500Internal platform error

For the complete response structure, see MessageDetails in OpenAPI & Agent Access.

For the common error envelope and how to handle it, see Error Codes.

Notes​

Status progression: accepted → sending → submitted → sent → delivered → read, with any step able to turn failed. submitted only means Meta accepted the request and returned a wamid — it does not mean the message was sent; sent is a separate status callback, and delivered is when it actually reaches the device.

On failure, error.code coming from Meta is Meta's own numeric code (which maps directly onto their official error code table); only failures determined locally — insufficient account balance, an exhausted customer budget, the local 131049 cooldown, or exhausted retries — use one of our own error codes. error.message is Meta's own wording, passed through unchanged; error.meta is the entire native envelope (details / userMsg / type / fbtrace_id, the last of which is the credential you need when opening a Meta Direct Support ticket). retryable / customerAction / stage are BlueMedia's own judgement, not fields Meta supplies (submit means it was rejected before ever being delivered; delivery means Meta accepted it and it failed afterwards); the same failure status can hide failures of completely different natures, so do not decide whether to retry from the status alone.

If the Meta response is lost after submission, a message may remain in sending while the platform reconciles its outcome. Poll this endpoint later. Reusing the same Idempotency-Key returns the same platform message; do not submit a new message for the same business event.