# Get the final status, wamid and failure reason

Canonical: https://docs.bluehola.com/docs/messaging/get-v1-messages-id
OpenAPI: https://docs.bluehola.com/openapi.yaml

<div class="endpoint"><span class="endpoint-method endpoint-method--get">GET</span><code class="endpoint-path">/v1/messages/{id}</code></div>

Get the final status, wamid and failure reason.

:::note[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

| Name | In | Required | Type / constraints | Description |
| --- | --- | --- | --- | --- |
| `id` | path | Yes | string | The platform's message ID, `msg_...` |

## Response

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

For the complete response structure, see `MessageDetails` in [OpenAPI & Agent Access](../reference/openapi.md).

For the common error envelope and how to handle it, see [Error Codes](../guides/error-codes.md).

## 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.
