PATCH
/
agents
/
{id}
/
webhook

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

ID of the agent.

Query Parameters

type
enum<string>
required

Service provider type.

Available options:
whatsapp,
telegram,
zapi,
instagram
enabled
boolean
required

Flag to enable (true) or disable (false) the webhook.

Response

200 - application/json

The response is of type string.