Conversation
Import Conversation
Import a conversation from a media file. This endpoint creates a new conversation from an external source (e.g., Gong, Salesforce) and processes it through the Attention platform's transcription and analysis pipeline.
post/conversations/import
Request body
Example request
{
"mediaURL": "https://storage.example.com/recordings/call-abc123.mp4",
"userID": "user-uuid-123",
"conversationTitle": "Q1 Deal Review - Acme Corp",
"conversationStartedAt": "2024-03-18T10:30:00Z",
"applicationName": "zoom",
"applicationExternalID": "zoom-meeting-987654",
"opportunityID": "opp-uuid-456",
"linkedCrmRecords": [
{
"id": "001ABC123",
"code": "Account"
}
],
"externalMetadata": {
"participants": [
{
"email": "jane@example.com",
"name": "Jane Smith",
"accessType": "Internal",
"organizer": true
},
{
"email": "john@customer.com",
"name": "John Doe",
"accessType": "External",
"organizer": false
}
],
"extra": {
"source": "zoom",
"meetingDuration": 1800
}
},
"transcriptionSettings": {
"gladia": {
"enableDiarization": true
}
},
"headers": [
{
"key": "Authorization",
"value": "Bearer token123"
}
],
"skipCRMFieldsCalculation": false,
"skipOpportunitiesExport": false,
"skipScorecardCalculation": false
}Response
Conversation successfully imported
Example response
{
"uuid": "conv-uuid-new-123"
}