Skip to navigation

Get conversation messages

Get messages (paginated) for a conversation by its ID. On a voice conversation, a text reply the caller sent by SMS and the AI Agent answered itself is stored with a content.body that starts with sms:. A reply that a Process captured as an input is stored as the bare text. When a file message holds a file that Ada stores, Ada returns a new URL that is valid for 1 hour. This includes a file from the attachment upload endpoint and an image message that Ada adds. Get the messages again rather than store that URL. When your integration sends a file message with a URL that Ada does not store, Ada returns that URL unchanged.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

conversation_idstringRequiredformat: "id"
The ID of the conversation

Query parameters

cursorstringOptional

Cursor for pagination. Use the value from meta.next_page_url in the previous response.

limitintegerOptional1-100Defaults to 100

Maximum number of messages to return (default 100, max 100)

Response

List of messages
datalist of objects
List of messages in the conversation
metaobject

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error