Messages

Get message

Get a message.

Path Parameters

id*string

A UUID; anything else is 400 invalid_id.

Formatuuid

Header Parameters

X-Request-Id?string

Your id for this request; it becomes the request_id of any error. Without it the server makes one.

curl -X GET 'https://v3.ghala.io/v1/messages/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "phone": "string",  "body": "string",  "content": {    "type": "text",    "text": "string"  },  "parts": 0,  "sender_id": "string",  "from": "string",  "channel": "sms",  "campaign_id": "78614b6c-fe7c-41e2-8e25-c9b3a3c91904",  "run_id": "dded282c-8ebd-44cf-8ba5-9a234973d1ec",  "provider_message_id": "string",  "request_id": "string",  "status": "queued",  "error": "string",  "failure_reason": "rejected",  "price_minor": 0,  "submitted_at": "2019-08-24T14:15:22Z",  "delivered_at": "2019-08-24T14:15:22Z",  "read_at": "2019-08-24T14:15:22Z",  "failed_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "test": true}