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": "image",
      "attachment_url": "https://cdn.example.com/photo.jpg",
      "conversation_id": "conv_01HZ9X3Q4R5M6N7P8V2K0W1J",
      "created_at": "2026-03-27T10:30:00Z",
      "direction": "incoming",
      "id": "msg_01HZ9X3Q4R5M6N7P8V2K0W1J",
      "platform_id": "m_1234567890",
      "sender_id": "17841405793187999",
      "sender_name": "John Doe",
      "text": "Hi, I have a question about your product"
    }
  ],
  "pagination": {
    "has_more": true,
    "limit": 25,
    "next_cursor": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.social-api.ai/llms.txt

Use this file to discover all available pages before exploring further.

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