curl --request GET \
--url https://prod.featherhq.com/api/v1/threads/{threadId}/messages \
--header 'X-API-Key: <api-key>'{
"thread": {
"agentId": "<string>",
"agentDetails": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"agentType": "CALL"
},
"agentVersionId": "<string>",
"agentVersionDetails": {
"id": "<string>",
"version": 123,
"mode": "FLOW",
"smsMaxTokens": 123,
"smsTemperature": 123
},
"messages": [
{
"id": "<string>",
"threadId": "<string>",
"direction": "INBOUND",
"messageBody": "<string>",
"status": "QUEUED",
"twilioMessageSid": "<string>",
"twilioAccountSid": "<string>",
"twilioNumSegments": 123,
"twilioPrice": "<string>",
"twilioPriceCurrency": "<string>",
"twilioErrorCode": "<string>",
"twilioErrorMessage": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"sentAt": "<string>",
"deliveredAt": "<string>",
"readAt": "<string>"
}
],
"pagination": {
"limit": 10,
"nextCursor": "<string>"
}
}
}Get messages for a specific SMS thread with cursor-based pagination
curl --request GET \
--url https://prod.featherhq.com/api/v1/threads/{threadId}/messages \
--header 'X-API-Key: <api-key>'{
"thread": {
"agentId": "<string>",
"agentDetails": {
"id": "<string>",
"name": "<string>",
"description": "<string>",
"agentType": "CALL"
},
"agentVersionId": "<string>",
"agentVersionDetails": {
"id": "<string>",
"version": 123,
"mode": "FLOW",
"smsMaxTokens": 123,
"smsTemperature": 123
},
"messages": [
{
"id": "<string>",
"threadId": "<string>",
"direction": "INBOUND",
"messageBody": "<string>",
"status": "QUEUED",
"twilioMessageSid": "<string>",
"twilioAccountSid": "<string>",
"twilioNumSegments": 123,
"twilioPrice": "<string>",
"twilioPriceCurrency": "<string>",
"twilioErrorCode": "<string>",
"twilioErrorMessage": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"sentAt": "<string>",
"deliveredAt": "<string>",
"readAt": "<string>"
}
],
"pagination": {
"limit": 10,
"nextCursor": "<string>"
}
}
}Documentation Index
Fetch the complete documentation index at: https://docs.featherhq.com/llms.txt
Use this file to discover all available pages before exploring further.
Number of messages per page (default: 50, max: 100)
Cursor for pagination (ID of the last message in previous page)
Filter by message direction (INBOUND or OUTBOUND)
INBOUND, OUTBOUND Filter by message status
QUEUED, SENDING, SENT, DELIVERED, FAILED, UNDELIVERED, READ, RECEIVED Thread messages
Show child attributes