Create a Webhook
Create a webhook with the provided details.
POST /integrations/create-webhook/
Headers
| Name | Value |
|---|---|
| Authorization | Bearer Base64Encoded(Client ID:Client Secret) |
| Content-Type | application/json |
Payload
eventrequiredstring
Event name for which the webhook is being created
callback_urlrequiredstring (uri)
Callback URL for the webhook
custom_headersobject
Custom headers for the callback_url
poc_emailsarray 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" }}