POST /webhook
POST
/webhook
Attaching a webhook
Headers
x-api-key* string
x-api-key
API key for authorization
Request
url*
url
string
URL of webhook
events*
events
array of string
Events [lead_create, lead_update]
[lead_create, lead_update]
Response
{ "hookId": 123 }
{ "error": "Missing data" }
DELETE /webhook/{hookID}
DELETE
/webhook/
{hookID}
Detaching a webhook
Empty
Last updated 1 year ago
{ "error": "Webhook ID is undefined" }