Skip to main content
GET
/
api
/
v1
/
chat
/
threads
/
{threadId}
/
messages
Get messages for a web chat thread
curl --request GET \
  --url https://prod.featherhq.com/api/v1/chat/threads/{threadId}/messages
{
  "messages": [
    {
      "id": "<string>",
      "messageBody": "<string>",
      "createdAt": "<string>"
    }
  ],
  "pagination": {
    "limit": 10,
    "nextCursor": "<string>"
  }
}

Path Parameters

threadId
string<uuid>
required

Query Parameters

limit
string

Number of messages per page (default: 50, max: 100)

cursor
string

Cursor for pagination (createdAt_id of the last message)

Response

Chat thread messages

messages
object[]
required
pagination
object
required