Conversations

Get conversation

One conversation.

Path Parameters

conversation*string

The conversation's 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/conversations/497f6eca-6276-4993-bfeb-53cbbbba6f08'
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "phone_number_id": "string",  "channel": "string",  "contact": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "identity_id": "011a42b9-62d7-49eb-8328-c2e454af88a1",    "phone_number": "string",    "name": "string"  },  "last_message": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "direction": "inbound",    "message_type": "string",    "content": "string",    "status": "string",    "error_message": "string",    "wa_message_id": "string",    "provider_message_id": "string",    "media_url": "string",    "media_mime_type": "string",    "sent_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"  },  "unread_count": 0,  "status": "open",  "last_message_at": "2019-08-24T14:15:22Z",  "can_send_freeform": true,  "freeform_window_expires_at": "2019-08-24T14:15:22Z",  "human_takeover": true,  "auto_reply_paused_until": "2019-08-24T14:15:22Z"}