SDK
Ingest a completed AgentPhone call
Changed onTranslates an AgentPhone agent.call_ended webhook from a hosted-mode agent into one Agnost voice conversation. Messages, reactions, number releases, and test events are acknowledged without capture. Live voice turns are rejected because Agnost cannot answer a caller. AgentPhone sends no per-turn timestamps, so turn timing is estimated across the call duration.
post/api/voice/v1/webhooks/agentphone
Request
- Base URLhttps://api.agnost.ai
- URLhttps://api.agnost.ai/api/voice/v1/webhooks/agentphone
- Authnone declared
Query parameters
org_idstring uuid required
Your Agnost organization ID.
agent_namestring
Display name for the agent. Defaults to the AgentPhone agentId.
Request body
Example request
{
"event": "agent.call_ended",
"channel": "voice"
}Response
Completed call accepted and translated into a conversation.
Changes
- info
endpoint added
- info