URL
The API follows REST conventions. Perform an HTTPS GET to the URL in order to retrieve Transcript Analysis. Unlike v1, the v2 endpoint always returns an explicit, per-analysisstatus for both the transcript summary and sentiment, so clients never have to interpret a missing field. Each analysis has its own independent lifecycle (sentiment can be available while the summary is still pending, and vice versa).
The following response formats are supported, where CUID-33 is the call record id.
Authentication
The API uses OAuth to validate access. The OAuth Token can be passed in two ways. The first way is to pass the OAuth Token in the header of the request. The second is to pass the OAuth Token like any other query parameter. Please note that the OAuth Token is a required parameter. OAuth Tokens may be generated from the Manage API Credentials page.Status values
transcript_summary.status:
sentiment.status:
Response
Get a transcript analysis (summary and sentiment available)
Get a transcript analysis (summary and sentiment available)
Examples
Get transcript analysis for the given call recordCUID-33 where both the summary and sentiment are availableEndpoint:https://mynetwork.invoca.net/call/v2/transcript_analysis/CUID-33Format: application/jsonResponse Code: 200Response Body:Get a transcript analysis (summary pending, sentiment not enabled)
Get a transcript analysis (summary pending, sentiment not enabled)
Examples
Get transcript analysis for the given call recordCUID-33 where the summary is still pending and sentiment analysis is not enabledEndpoint:https://mynetwork.invoca.net/call/v2/transcript_analysis/CUID-33Format: application/jsonResponse Code: 200Response Body:https://mynetwork.invoca.net/call/v2/transcript_analysis/<call_record_id>