cURL
curl --request POST \ --url https://api.prod.usesimple.ai/api/v1/webhooks \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "url": "<string>", "event_types": [ "call.started" ], "description": "<string>", "disabled": false, "rate_limit": 123 }'
{ "endpoint_id": "<string>", "url": "<string>", "event_types": [ "call.started" ], "description": "<string>", "disabled": true, "created_at": "2023-11-07T05:31:56Z" }
Create a new webhook endpoint for receiving event notifications. Requires a valid API key.
Webhook Created Successfully
The response is of type object.
object
Was this page helpful?