Skip to main content

Update notify sent by me

Concept#

This endpoint serves for you to activate the option of receiving messages sent by you through the webhook.

Caution

In order for it to work you will need to have a webhook for the event Upon receiving configured.


Updating the webhook#

API#

/update-notify-sent-by-me#

PUT https://api.z-api.io/instances/{id}/token/{token}/update-notify-sent-by-me

Header#

KeyValue
Client-TokenTOKEN DE SEGURANÇA DA CONTA

Request Body#

Required#

AtributosTipoDescrição
notifySentByMebooleanActivate webhook for messages received and sent by me
{
"notifySentByMe": true
}

Endpoint's return#

200#

{
"value": boolean
}