Conversations
Conversations represent SMS message threads between your agent’s phone number and an external participant. Each conversation tracks the full message history, supports custom metadata for storing session state, and is sorted by most recent activity.
List conversations
List all conversations for this project, sorted by most recent activity.
Query parameters
Example
Get conversation
Get a conversation with its recent messages.
Query parameters
Example
Update conversation
Update conversation metadata (state). Use this to store custom context for AI agents, such as customer information, business context, or session state.
The metadata is included in webhook payloads as conversationState, enabling your AI backend to maintain context across messages.
Request body
Example
Get conversation messages
Get paginated messages for a conversation. Use before/after for cursor-based pagination through large message histories.
