GET
/
v1
/
prospects
/
{prospect_id}
/
conversations
curl --request GET \
  --url https://api.trata.ai/v1/prospects/{prospect_id}/conversations \
  --header 'Authorization: Bearer <token>'
[
  {
    "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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

prospect_id
string
required

ID of the prospect

Response

200
application/json

Successful Response

The response is of type Conversation · object[].