Skip to main content

Create a Webhook

Create a webhook with the provided details.

POST/api/v1/integrations/create-webhook/

Headers

NameValue
AuthorizationBearer Base64Encoded(Client ID:Client Secret)
Content-Typeapplication/json

Payload

event
required
string

Event name for which subscription is being created

callback_url
required
string

Callback URL for the webhook

{
  • "event": "string",
  • "callback_url": "string"
}

Response

{
"success": true,
"message": "Successfully created webhook for the event",
"data": {
"id": 123,
"event": "call.status",
"active": true,
"callback_url": "CALLBACK_URL",
"created_at": "",
"updated_at": ""
}
}