cURL
curl --request POST \ --url https://api.callab.ai/v1/modules/webhook \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "event_type": "call.started", "settings": { "method": "GET", "url": "<string>", "headers": {}, "timeout": 123, "retry_limit": 123 } }'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "event_type": "<string>", "status": "active", "settings": { "method": "GET", "url": "<string>", "headers": {}, "timeout": 123, "retry_limit": 123 } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Webhook created successfully
The response is of type object.
object
Was this page helpful?