Webhook

Attach a webhook

POST /webhook

Attaching a webhook

Headers

x-api-key* string

API key for authorization

Request

Name
Type
Description

url*

string

URL of webhook

events*

array of string

Events [lead_create, lead_update]

Response

{
  "hookId": 123
}

Detach a webhook

DELETE /webhook/{hookID}

Detaching a webhook

Headers

x-api-key* string

API key for authorization

Response

Empty

Last updated