POST
/
webhooks
/
subscribe

Authorizations

x-api-token
string
headerrequired

Body

application/json
type
enum<string>
required

The type of webhook event to subscribe to.

Available options:
NEW_RESPONSE,
PHONE_TRANSFER
url
string
required

The callback URL to which the webhook should send the event.

data
string | null

Additional data for the webhook event.

Response

200 - application/json
error
object | null