Skip to main content
POST
/
api
/
webhook
/
elevenlabs
Handle ElevenLabs post-call webhook
curl --request POST \
  --url https://your-instance.example.com/api/webhook/elevenlabs \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "post_call_transcription",
  "event_timestamp": 1747580641,
  "data": {
    "conversation_id": "conv_8f3d1b9c2e7a4f0b9a4d2c1e6e2f8c01",
    "agent_id": "agent_a8d3c4e09b2f4e1ab3c45f6a7b8c9d01",
    "call_duration_secs": 42,
    "transcript": [
      {
        "role": "agent",
        "message": "Thanks for calling Acme Corp, how can I help?"
      },
      {
        "role": "user",
        "message": "I need to update my address."
      }
    ],
    "analysis": {
      "transcript_summary": "Caller asked to update their shipping address."
    },
    "metadata": {
      "caller_id": "+14165550100",
      "called_id": "+12362320246",
      "phone_call": {
        "direction": "inbound",
        "external_number": "+14165550100",
        "agent_number": "+12362320246"
      }
    }
  }
}
'
{
  "received": true,
  "callId": "5f7b1c2e8a1d4e0012c3b4a5"
}

Documentation Index

Fetch the complete documentation index at: https://docs.tetherai.ca/llms.txt

Use this file to discover all available pages before exploring further.

Body

application/json

ElevenLabs post-call webhook payload. The type field discriminates between post_call_transcription, post_call_audio, and call_initiation_failure. The bulk of the data lives under data (or sometimes top-level for older payload shapes).

type
enum<string>
required

Event discriminator selecting how the handler processes data: transcript+summary, recording upload, or missed-call record.

Available options:
post_call_transcription,
post_call_audio,
call_initiation_failure
event_timestamp
number

Unix epoch seconds when ElevenLabs emitted the event.

data
object

Event payload; field set depends on type. Older payloads sometimes inline these fields at top level.

Response

Event processed

received
boolean
callId
string
deduplicated
boolean
skipped
boolean
reason
string
error
string