Update every webhooks
#
ConceptThis endpoint is for you if you want to change all webhooks to the same URL at once.
Attention
Z-API does not accept webhooks that aren’t HTTPS
#
Updating Webhooks#
API#
/update-every-webhooksPUT
https://api.z-api.io/instances/{id}/token/{token}/update-every-webhooks
#
HeaderKey | Value |
---|---|
Client-Token | ACCOUNT SECURITY TOKEN |
#
Request Body#
RequiredAtributos | Tipo | Descrição |
---|---|---|
value | string | Webhook endpoint |
#
OptionalsAtributos | Tipo | Descrição |
---|---|---|
notifySentByMe | boolean | Activate webhook for messages received and sent by me |