Skip to main content
GET
/
inbox
/
conversations
/
{id}
/
messages
List messages in a conversation
curl --request GET \
  --url https://api.social-api.ai/v1/inbox/conversations/{id}/messages \
  --header 'Authorization: <api-key>'
{
  "data": [
    {
      "attachment_type": "<string>",
      "attachment_url": "<string>",
      "conversation_id": "<string>",
      "created_at": "<string>",
      "direction": "<string>",
      "id": "<string>",
      "platform_id": "<string>",
      "sender_id": "<string>",
      "sender_name": "<string>",
      "status": "<string>",
      "status_updated_at": "<string>",
      "text": "<string>"
    }
  ],
  "pagination": {
    "has_more": true,
    "next_cursor": "<string>"
  }
}

Authorizations

Authorization
string
header
required

Prefix your API key with "Bearer ". Example: Authorization: Bearer sapi_key_...

Path Parameters

id
string
required

Conversation ID

Query Parameters

limit
integer

Max results (1–200, default 25)

cursor
string

Pagination cursor from previous response

Response

Paginated list of messages

data
object[]
pagination
object