Webhooks
Use the REST API to interact with Webhooks
Creating a new webhook
Add a new webhook for lead.created event
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Query parameters
eventstring · enumRequiredPossible values:
The event for which the webhook will be triggered
urlstring · uriRequiredExample:
The URL to which the webhook will send the payload
https://example.com/webhook-receiverhttp_verbstring · enumRequiredPossible values:
The HTTP verb to be used when sending the payload (e.g., POST, GET, PUT, DELETE)
Header parameters
AcceptstringRequiredExample:
Request content type
application/jsonResponses
201
Webhook created successfully
400
Invalid input
post
/webhooksNo content
Deleting a webhook
Delete an existing webhook by ID
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequiredExample:
The ID of the webhook to be deleted
296130fc-6fa5-48db-a571-925d60309ed1Header parameters
AcceptstringRequiredExample:
Request content type
application/jsonResponses
200
Webhook deleted successfully
No content
400
Invalid input
delete
/webhooks/{id}No content
Last updated