Reports & Analytics
Export a single collated lead for a conversation.
Changed onReturns one merged lead built from all lead rows in the conversation.
get/api/v1/projects/{projectId}/reports/leads/{sessionId}/collated
Request
- Base URLhttps://app.customgpt.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
projectIdinteger required
Example:1
The ID of the project to get collated lead for
sessionIdstring required
Example:c50f3196-4f3b-4903-a2be-552f017f6147
The session identifier of the conversation
Response
A single collated lead object for a conversation
Example response
{
"status": "success",
"data": {
"session_id": "f1b9aaf0-5e4e-11eb-ae93-0242ac130002"
}
}Changes
- info
endpoint added
- info