API Documentation
Prospects
Agents
VoiceModels
Hive
HiveAgentLink
Actions
ActionAgentLink
Products
Conversations
ConversationProspectLink
ConversationProspectLink
List all conversations linked to a specific prospect
List all conversations linked to a specific prospect
GET
/
v1
/
prospects
/
{prospect_id}
/
conversations
Copy
curl --request GET \
--url https://api.trata.ai/v1/prospects/{prospect_id}/conversations \
--header 'Authorization: Bearer <token>'
Copy
[
{
"id": "<string>",
"orgId": "<string>",
"prospectId": "<string>",
"source": "<string>",
"sourceType": "<string>",
"aiAgentId": "<string>",
"transcriptText": [
{
"speaker": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"message_id": "<string>"
}
],
"transcriptSummary": "<string>",
"transcriptRecordingUrl": "<string>",
"timestampStart": "2023-11-07T05:31:56Z",
"timestampEnd": "2023-11-07T05:31:56Z",
"conversationAnalytics": {
"summary": "<string>",
"action_items": [
"<string>"
],
"is_audio_consent_given": true,
"email_address_of_caller": "<string>",
"name_of_caller": "<string>",
"phone_number_of_caller": "<string>",
"address_of_caller": "<string>",
"sentiment_of_caller": "positive",
"prospectStatus": "NEW"
},
"status": "<string>",
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
ID of the prospect
Response
200
application/json
Successful Response
The response is of type Conversation · object[]
.
Copy
curl --request GET \
--url https://api.trata.ai/v1/prospects/{prospect_id}/conversations \
--header 'Authorization: Bearer <token>'
Copy
[
{
"id": "<string>",
"orgId": "<string>",
"prospectId": "<string>",
"source": "<string>",
"sourceType": "<string>",
"aiAgentId": "<string>",
"transcriptText": [
{
"speaker": "<string>",
"message": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"message_id": "<string>"
}
],
"transcriptSummary": "<string>",
"transcriptRecordingUrl": "<string>",
"timestampStart": "2023-11-07T05:31:56Z",
"timestampEnd": "2023-11-07T05:31:56Z",
"conversationAnalytics": {
"summary": "<string>",
"action_items": [
"<string>"
],
"is_audio_consent_given": true,
"email_address_of_caller": "<string>",
"name_of_caller": "<string>",
"phone_number_of_caller": "<string>",
"address_of_caller": "<string>",
"sentiment_of_caller": "positive",
"prospectStatus": "NEW"
},
"status": "<string>",
"createdBy": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedBy": "<string>",
"updatedAt": "2023-11-07T05:31:56Z"
}
]
Assistant
Responses are generated using AI and may contain mistakes.