API reference
Call & Chat History
8 endpoints. Add your API key in the authentication panel to send test requests from this page.
List generated calls
/api/external/v1/applications/{appId}/generated-callsReturns a paginated list of generated-call rows.
This only includes rows that belong to Generated Calls system jobs (GENERATED_CALLS*).
If appId is provided, it only returns rows for that application.
Parameters
appIdstring (uuid)pathRequiredOptional unique UUID of the application
pageinteger (int32)queryPage number (0-indexed)
sizeinteger (int32)queryItems per page (max 200)
startDatestring (date-time)queryFilter by row creation start date (ISO 8601)
endDatestring (date-time)queryFilter by row creation end date (ISO 8601)
plannedStartDatestring (date-time)queryFilter by planned-call start date (ISO 8601)
plannedEndDatestring (date-time)queryFilter by planned-call end date (ISO 8601)
sortBystringqueryField to sort by (createdAt, plannedCallDateTime, status, duration, etc.)
sortDirstringquerySort direction (asc, desc)
statusarray of stringqueryOptional list of row statuses to include
searchstringquerySimple search across destination and caller numbers
approvedbooleanqueryFilter by approval state
approvalSourcestringqueryFilter by approval source (AUTO, USER)
excludeFinishedbooleanqueryExclude finished generated calls (DONE, DONE_WD, DONE_WC, ERROR)
flattenOutputsbooleanqueryMerge each structured output's fields flat onto the root, matching the API's original (pre-nesting) shape. Set to false to get the real object structure, grouped by output name.
Responses
200Paginated generated calls401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Call history
/api/external/v1/call-historySearches and retrieves call history with advanced filtering, sorting, and pagination. This endpoint allows querying across all jobs and standalone outbound/inbound calls.
Parameters
pageinteger (int32)queryPage number (0-indexed)
sizeinteger (int32)queryItems per page (max 200)
jobIdstring (uuid)queryFilter by specific job UUID
startDatestring (date-time)queryFilter by start date (ISO 8601)
endDatestring (date-time)queryFilter by end date (ISO 8601)
sortBystringqueryField to sort by (createdAt, status, duration, etc.)
sortDirstringquerySort direction (asc, desc)
inputKeystringqueryFilter by a key in the input rowData
inputValuestringqueryValue to match in input rowData
outputKeystringqueryFilter by a key in the output results
outputValuestringqueryValue to match in output results
flowIdstring (uuid)queryFilter by flow (internal UUID)
agentIdstringqueryFilter by agent (API ID or UUID)
directionstringqueryFilter by call direction (INBOUND, OUTBOUND)
flattenOutputsbooleanqueryMerge each structured output's fields flat onto the root, matching the API's original (pre-nesting) shape. Set to false to get the real object structure, grouped by output name.
Responses
200Paginated call history401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
List all call rows
/api/external/v1/call-jobs/rowsReturns a paginated list of all call rows across all jobs owned by the user associated with the API key. This is a convenient alias for retrieving the full call history.
Parameters
pageinteger (int32)queryPage number (0-indexed)
sizeinteger (int32)queryItems per page (max 200)
Responses
200Paginated call history401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Get call row
/api/external/v1/call-rows/{rowId}Retrieves the details of a specific call row by its unique UUID. Includes status, duration, recording URL, transcription, and outcome details.
Parameters
rowIdstring (uuid)pathRequiredThe unique UUID of the call row
flattenOutputsbooleanqueryMerge each structured output's fields flat onto the root, matching the API's original (pre-nesting) shape. Set to false to get the real object structure, grouped by output name.
Responses
200Call row details401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Chat history
/api/external/v1/chat-historySearches and retrieves chat session history with advanced filtering, sorting, and pagination. This endpoint allows querying across all widgets owned by the user associated with the API key.
Parameters
pageinteger (int32)queryPage number (0-indexed)
sizeinteger (int32)queryItems per page (max 200)
widgetIdstring (uuid)queryFilter by specific widget UUID
startDatestring (date-time)queryFilter by start date (ISO 8601)
endDatestring (date-time)queryFilter by end date (ISO 8601)
sortBystringqueryField to sort by (createdAt, status, durationSeconds, etc.)
sortDirstringquerySort direction (asc, desc)
contactIdentifierstringqueryFilter by contact identifier
statusstringqueryFilter by session status (STARTED, ENDED, etc.)
contactEmailstringqueryFilter by contact email
contactPhonestringqueryFilter by contact phone
flattenOutputsbooleanqueryMerge each structured output's fields flat onto the root, matching the API's original (pre-nesting) shape. Set to false to get the real object structure, grouped by output name.
Responses
200Paginated chat history401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
Get chat session
/api/external/v1/chat-sessions/{sessionId}Retrieves status and metadata for a specific chat session. Includes status, duration, AI summary, and metadata.
Parameters
sessionIdstring (uuid)pathRequiredThe unique UUID of the chat session
flattenOutputsbooleanqueryMerge each structured output's fields flat onto the root, matching the API's original (pre-nesting) shape. Set to false to get the real object structure, grouped by output name.
Responses
200Chat session details401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
List all chat session messages
/api/external/v1/chat-sessions/{sessionId}/messagesReturns chronological list of all messages (visitor, AI, agent, system, metadata) in a session. Includes roles (USER, ASSISTANT, etc.) and message content.
Parameters
sessionIdstring (uuid)pathRequiredThe unique UUID of the chat session
Responses
200List of messages401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found
List generated calls
/api/external/v1/generated-callsReturns a paginated list of generated-call rows.
This only includes rows that belong to Generated Calls system jobs (GENERATED_CALLS*).
If appId is provided, it only returns rows for that application.
Parameters
pageinteger (int32)queryPage number (0-indexed)
sizeinteger (int32)queryItems per page (max 200)
startDatestring (date-time)queryFilter by row creation start date (ISO 8601)
endDatestring (date-time)queryFilter by row creation end date (ISO 8601)
plannedStartDatestring (date-time)queryFilter by planned-call start date (ISO 8601)
plannedEndDatestring (date-time)queryFilter by planned-call end date (ISO 8601)
sortBystringqueryField to sort by (createdAt, plannedCallDateTime, status, duration, etc.)
sortDirstringquerySort direction (asc, desc)
statusarray of stringqueryOptional list of row statuses to include
searchstringquerySimple search across destination and caller numbers
approvedbooleanqueryFilter by approval state
approvalSourcestringqueryFilter by approval source (AUTO, USER)
excludeFinishedbooleanqueryExclude finished generated calls (DONE, DONE_WD, DONE_WC, ERROR)
flattenOutputsbooleanqueryMerge each structured output's fields flat onto the root, matching the API's original (pre-nesting) shape. Set to false to get the real object structure, grouped by output name.
Responses
200Paginated generated calls401Missing or invalid API key403Key is valid but lacks access to this resource404Requested resource not found