Base URL
Making requests
- Send and receive JSON (
Content-Type: application/json). - Authenticate with a Bearer API key in the
Authorizationheader. OnlyGET /pingis public. See Authentication. - Path segments such as
agentIdandconversationRefare plain strings. URL-encode them if they contain special characters.
Response format
Successful responses are JSON objects with"success": true. Failures use one of two shapes; see Errors.
Pagination
List endpoints accept two query parameters.
Each list response includes a
pagination object:
totalConversations, messages add totalMessages and sources add totalSources. Keep requesting the next page while hasNextPage is true.
Endpoints
conversationRef accepts either a conversationId or a persistent userId. See Persistent conversations.