Skip to content

Create a Webhook

Create a webhook with the provided details.

POST /integrations/create-webhook/

Headers

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

Payload

eventrequired
string

Event name for which the webhook is being created

callback_urlrequired
string (uri)

Callback URL for the webhook

custom_headers
object

Custom headers for the callback_url

poc_emails
array of string

List of POC emails for the webhook (max 5)

Response

{
"success": true,
"message": "string",
"data": {
"id": 0,
"app_id": 0,
"event": "string",
"callback_url": "string",
"custom_headers": {},
"poc_emails": [],
"active": true,
"created_at": "date-time",
"updated_at": "date-time"
}
}