Docs/API Reference/Conversations

Get messages in a conversation

Conversations · GET /v1/conversations/:id/messages

Get messages in a conversation

GET/v1/conversations/:id/messages

Request

curl https://api.repull.dev/v1/conversations/123/messages?limit=20 \
  -H "Authorization: Bearer $REPULL_API_KEY"

Response

{
  "data": [
    {
      "id": "123",
      "externalMessageId": "123",
      "direction": "outbound",
      "senderType": "user",
      "senderName": "Example",
      "senderAvatar": null,
      "channel": "airbnb",
      "body": "Example text",
      "translatedBody": null,
      "attachments": [],
      "isAutomated": false,
      "aiGenerated": false,
      "sentAt": "2026-06-01T12:00:00.000Z",
      "deliveredAt": "2026-06-01T12:00:00.000Z",
      "readAt": null
    }
  ],
  "pagination": {
    "nextCursor": "eyJpZCI6MTIzfQ==",
    "hasMore": true
  }
}

Captured from a real response. Regenerated on every release, and CI fails if this shape stops matching the API.

AI