Conversations

List conversation messages

A conversation's messages.

Newest first.

Path Parameters

conversation*string

The conversation's id.

Formatuuid

Query Parameters

cursor?string
limit?integer
Range1 <= value <= 100
mark_read?boolean

The first page marks the thread read unless false.

Defaulttrue

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/messages'
{  "items": [    {      "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"    }  ],  "next_cursor": "string",  "has_more": true}