Skip to main content
POST
/
api
/
v1
/
call
/
create-summary
Create Call Summary
curl --request POST \
  --url https://sa.dialgen.ai/api/v1/call/create-summary \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data @- <<EOF
{
  "callId": "call_12345...",
  "transcription": [
    {
      "role": "assistant",
      "content": "Hello, how can I help you today?"
    },
    {
      "role": "user",
      "content": "I'm interested in your pricing plans."
    }
  ]
}
EOF
{
  "success": true,
  "summary": 150,
  "customMetricsProcessed": 3
}

Authorizations

Authorization
string
header
required

Bearer token authentication. Obtain your API key from the Dialgen API Keys dashboard at https://sa.dialgen.ai/api-keys

Body

application/json
callId
string
required
transcription
object[]
required

Response

Summary created successfully

success
boolean
summary
number
customMetricsProcessed
number