Get Started
This guide describes how to get started with the Call Score API.
Before you start
- Before you use the API, you must generate an access token. For more information, see Authenticate
- The transcript needs to be at least 50 words or longer in order to qualify for call-score processing
Process a conversation
Use the Async API to process a recorded text, audio, or video conversation. You can use following attributes to use Call Score behavior for your business use case.
For additional Async API settings, see the API reference documentation.
features: Enable callScore
and insights
features to generate the call score.
scorecard: Enables you score the conversation on custom criteria. To learn more about criteria, refer here.
{
"features": {
"featureList": ["callScore", "insights"],
"callScore": {
"scorecardId": "5463513598865445"
}
}
}
metadata: Provide additional context about a call such as sales stage to customize call score algorithm. When setting salesStage
, the value must be lowercase. You can choose salesStage
as qualification
, discovery
, demo
, negotiation
, and general
.
{
"metadata": {
"salesStage": "qualification",
"prospectName": "DeepMind AI"
}
}
conversationType: Set as sales
for sales calls and general
for other types of calls.
{
"conversationType": "sales"
}
Process text conversation
Request
POST https://api.symbl.ai/v1/process/text
{
"name": "My text conversation",
"conversationType": "general",
"features": {
"featureList": [
"insights",
"callScore"
]
},
"metadata": {
"salesStage": "qualification",
"prospectName": "DeepMind AI"
},
"messages": [
{
"duration": {
"startTime": "2023-07-20T16:04:19.99Z",
"endTime": "2023-07-20T16:04:20.99Z"
},
"payload": {
"content": "Hi, this is a live demo that we are trying to give very we are going to show how the platform detects various insights can do transcription in real-time and also the different topics of discussions, which would be generated after the call is over, and they will be an email that will be sent to the inbox.",
"contentType": "text/plain"
},
"from": {
"name": "John",
"userId": "[email protected]"
}
}
]
}
Response
{
"jobId": "bb3d5e45-d9a6-46e4-b593-10cb24a2b7bf",
"conversationId": "6089504127713280"
}
Process an audio sales conversation using an URL
Request
POST https://api.symbl.ai/v1/process/audio/url
{
"name": "Use cases discovery call",
"conversationType": "sales"
"features": {
"featureList": ["insights", "callScore"],
"callScore": {
"scorecardId": "5463513598865445"
},
},
"metadata": {
"salesStage": "Discovery",
"prospectName": "Wayne Enterprises"
}
}
Response
{
"jobId": "bb3d5e45-d9a6-46e4-b593-10cb24a2b7bf",
"conversationId": "6089504127713280"
}
Process a video conversation by a uploading file
Request
POST https://api.symbl.ai/process/video
POST https://api.symbl.ai/process/video ?name="Charmingdale Sales Meeting" &features={"featureList":["callScore", "insights"],"callScore": {"scorecardId": "5463513598865445"}} &conversationType=sales &metadata={"callStage":"general","prospectName":"CharmAI"}
{
<video file>
}
Response
{
"jobId": "bb3d5e45-d9a6-46e4-b593-10cb24a2b7bf",
"conversationId": "6089504127713280"
}
Wait for Call Score to complete
After you have processed the conversation, wait for the callScore
job to complete before proceeding.
Request
GET https://api.symbl.ai/v1/conversations/6089504127713280/callscore/status
Response
{
"jobId": "24991ace-2f34-442a-83bf-cea6e2f6e338",
"status": "completed"
}
Get Call Score
Request
GET https://api.symbl.ai/v1/conversations/6089504127713280/callscore
Response
{
"scorecardId": "9027394048629293"
"score": 82,
"summary": "The sales call had some good aspects, but there were areas that could be improved. The representative was able to engage the prospect and discuss the product, but there were some interruptions and the conversation could have been more focused on the prospect's needs. The new context provided additional information about the product and the prospect's interest, which improved the evaluation.",
"criteria": [
{
"criteriaId": "8238493002892209",
"name": "Customer Criteria 1",
"score": 75,
"summary": "The representative engaged in a conversation with the prospect, discussing the product and its features. However, there were some interruptions and the conversation could have been more focused on the prospect's needs. The new context shows the prospect's strong desire to learn about the product and their willingness to schedule a follow-up call.",
"feedback": {
"positive": {
"summary": "The representative was able to engage the prospect in a conversation about the product and its features. The talk times between the representative and the prospect were relatively balanced, and the representative's pace matched the prospect's pace. The prospect's sentiment was very positive."
},
"negative": {
"summary": "The representative interrupted the prospect a few times during the call, and the agenda of the call was not explicitly mentioned in the first 5 minutes."
}
}
},
{
"criteriaId": "8238493002892455",
"name": "Custom criteria 2",
"score": 85,
"summary": "The representative was able to answer most of the prospect's questions and provide information about the product. The new context shows the representative addressing the prospect's questions about pricing and other tools using the product, as well as handling the prospect's request for a follow-up call with the CEO.",
"feedback": {
"positive": {
"summary": "The representative was able to answer all of the prospect's questions and provide information about the product, including addressing questions about pricing and other tools using the product, as well as handling the prospect's request for a follow-up call with the CEO."
},
"negative": {
"summary": "There were no major issues in question handling."
}
}
},
{
"criteriaId": "82384930028343309",
"name": "Forward Motion",
"score": 86,
"summary": "The representative discussed the product and its features with the prospect, and the new context shows the representative suggesting a follow-up call with the CEO to address the prospect's concerns and questions. This demonstrates a clear mention of next steps and alignment with the prospect's needs.",
"feedback": {
"positive": {
"summary": "The representative was able to discuss the product and its features with the prospect and suggested a follow-up call with the CEO to address the prospect's concerns and questions."
},
"negative": {
"summary": "There was no clear mention of next steps or alignment with the prospect's needs earlier in the conversation."
}
}
}
]
}
Updated 5 months ago