> ## Documentation Index
> Fetch the complete documentation index at: https://docs.msgflash.com/llms.txt
> Use this file to discover all available pages before exploring further.

# GET Retrieve a message

> Retrieve message details by message ID.

## Endpoint

```txt theme={null}
GET /api/v1/messages/{id}
```

## Parameters path

| Nom  | Type | Required | Description   |
| ---- | ---- | -------- | ------------- |
| `id` | UUID | yes      | ID du message |

## Success response `200`

```json theme={null}
{
  "data": {
    "id": "msg_uuid",
    "userId": "user_uuid",
    "instanceId": "inst_uuid",
    "contactId": null,
    "campaignId": null,
    "direction": "outbound",
    "type": "text",
    "from": null,
    "to": "+33612345678",
    "body": "Hello",
    "mediaUrl": null,
    "status": "delivered",
    "error": null,
    "meta": {
      "providerResult": {},
      "workerSafety": {
        "decision": "allow",
        "riskLevel": "low",
        "state": "stable",
        "score": 72
      }
    },
    "providerMessageId": "BAE5D1A2B3C4D5E6",
    "createdAt": "2026-04-01T10:00:00.000Z",
    "updatedAt": "2026-04-01T10:01:10.000Z"
  }
}
```

## Common errors

| HTTP  | Code        | When              |
| ----- | ----------- | ----------------- |
| `404` | `NOT_FOUND` | Message not found |
