Get Settings

To get your instance settings

if you need to get your instance settings such as webhook URL or other settings use this point

To get your instance settings

GET https://api.cartat.net/instance/settings

Headers

NameTypeDescription

Accept*

application/json

Content-Type*

application/json

Authorization*

Bearer {{token}}

you can find your access token here

{
    "archive": true,
    "webhook": {
        "is_active": false,
        "ack_events": false,
        "webhook_url": "https://webhook.site",
        "instance_events": false,
        "messages_events": false
    }
}

settings explain

archive

True/False

set to true to put any sent message

to the archive on WhatsApp automatically.

webhook->is_active

True/False

to active/deactive webhook events

webhook->ack_events

True/False

to active/deactive read indecators events, eg: when message are read, the ack event will trigger.

webhook->webhook_url

URL

the webhook URL that you will receive events on it

webhook->instance_events

True/False

to active/deactive receving instance events such as : qr, ready etc ... reference

webhook->messages_events

True/False

to active/deactive receving messages events, when new message arrived we will send the message payload to your webhook URL

Last updated