Call Completed Trigger
Fires when a call handled by an Agent ends.
https://api.vantaxai.com/v1/workflows (trigger: call.completed)Use the `call.completed` trigger to automate post-call work — log outcomes, send follow-up texts, or open tasks once a call wraps up. Scope it by `agent_id` so each Agent can have its own after-call Workflow. When the event fires, the Workflow's `trigger_event` includes the call summary payload below. Reference this trigger by setting `trigger.type` to `call.completed` on the Create Workflow endpoint.
Headers
AuthorizationstringrequiredBearer authentication with your secret API key.
example: Bearer vx_live_3fa9c2…
Content-TypestringrequiredMust be application/json for requests with a body.
example: application/json
Body Parameters
trigger.typestringrequiredSet to `call.completed` to use this trigger.
example: call.completed
trigger.config.agent_idstringoptionalOnly fire for calls handled by this Agent.
example: agt_3d9b21
trigger.config.outcomestringoptionalOnly fire for calls with this outcome.
completedno_answervoicemailtransferredexample: completed