Webhooks
Set Webhook
Create or replace an agent's webhook.
The configured URL receives ALL of that agent's event types — call lifecycle (call.received, call.completed, call.failed), SMS (sms.received), and future events — as signed JSON POSTs. Each agent may have at most one webhook; setting it again replaces the URL. Omitted secret, signature_header, protocol and capabilities keep their current values.
Returns agent_id, url, the full secret (shown only here; get_webhook masks it), signature_header, protocol, capabilities and created_at. Store the secret to verify the signature header on deliveries.
post/v1/webhooks
Request
- Base URL: https://api.agentline.cloud
- URL: https://api.agentline.cloud/v1/webhooks
- Auth: HTTP bearer
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.