agent-webhooks

Create Or Update Agent Webhook

Register or update a webhook URL for a specific agent.

When set, this agent's events are delivered here instead of the account default webhook.

post/v1/agents/{agent_id}/webhook

Request

  • Base URL
    https://api.agentphone.ai
  • URL
    https://api.agentphone.ai/v1/agents/{agent_id}/webhook
  • Auth
    HTTP bearer

Path parameters

agent_idstring required

Request body

urlstring uri required
contextLimitinteger nullable
timeoutinteger nullable

Response

Successful Response

idstring required
urlstring required
secretstring required
statusstring required
contextLimitinteger required
timeoutinteger required
createdAtstring date-time required

Changes

No recorded changes to this operation across all 42 revisions of this API.