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 to which the service provider belongs.

Query Parameters

type
enum<string>
required

Type of the service provider for which the webhook status will be changed.

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

Defines the new webhook status. true to enable, false to disable.

Response

200 - application/json

The response is of type string.