# Retrieve a message `GET /api/v1/messages/{id}` Returns one message by ID. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Messages → Read**. ## Path parameters - `id` (integer, required) — ID of the message. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request GET \ --url "https://api.asdincloud.com/api/v1/messages/${ID:?Set ID}" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" ``` ## Response **200 OK** The message is returned in data. Example with fictional data and selected fields. ```json { "status": "success", "data": { "id": 18, "channel": "email", "status": "queued", "email": "alex@example.com", "subject": "Practice schedule", "body": "
Practice starts at 18:00.
", "sent_at": null } } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `404` — The requested record was not found.