post-conversation
Changed onFired after the call ends. Contains the full transcript, call metadata, recording URL, and all agent variables that were in scope during the conversation.
Delivery. Sent as an HTTP POST with a 30 second timeout. Non-2xx responses and network errors mark the delivery as failed; there are no retries. Verify the X-Signature header before trusting the body. For the full field-level reference, see the Webhooks guide.
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/webhook-events/post-conversation
- Authnone declared. Required headers: X-Signature
Headers
Hex-encoded HMAC-SHA256 of the raw request body, keyed by the webhook's signing secret. See the Webhooks guide for verification samples.
Request body
Example request
{
"url": "https://example.com/webhook",
"event": "69fc7dd072a0c1d28d948ace.post-conversation",
"id": "69fd96118fd277fc807e4c23",
"metadata": {
"agentId": "69fc7dd072a0c1d28d948ace",
"eventType": "post-conversation",
"conversationType": "telephonyOutbound",
"callId": "CALL-1778226705739-7e4c17",
"callData": {
"fromNumber": "+918035317096",
"toNumber": "+916296641821",
"callDuration": 49.350622
},
"variables": {
"agent_name": "Nisha",
"customer_name": "Rahul Sharma",
"due_amount": "29000"
}
}
}Response
Your endpoint should return a 2XX status to acknowledge receipt.
Changes
- breaking
added the new required
headerrequest parameterX-Signature
- breaking
- breaking
removed the enum value
busyof the request property/// - breaking
removed the enum value
canceledof the request property/// - breaking
removed the enum value
no-answerof the request property/// - info
added the new
cancelledenum value to the request property/// - info
added the new
no_answerenum value to the request property///
- breaking