Set Settings
To set settings to your instance
if you need to set instance settings such as webhook URL or other settings use this point
To set settings to your instance
POST
https://api.cartat.net/instance/settings
Headers
Accept*
application/json
Content-Type*
application/json
Authorization*
Bearer {{token}}
Request Body
archive
true
True/False
set to true to put any sent message
to the archive on WhatsApp automatically.
webhook[is_active]
true
True/False
to active/deactivate webhook events
webhook[ack_events]
true
True/False
to active/deactivate read indicators events, eg: when messages are read, the ack event will trigger.
webhook[webhook_url]
https://ex.com
URL
the webhook URL that you will receive events on it
webhook[instance_events]
true
True/False
webhook[messages_events]
true
True/False
to active/deactivate receiving messages events, when a new message arrived we will send the message payload to your webhook URL
settings explain
Last updated