Cartat WhatsApp API
  • 🚛Get Started
  • 💼Use case
  • 📲WhatsApp API
    • 📶instance
      • ⚙️Settings
        • Get Settings
        • Set Settings
      • Get Instance Info
      • Initialize Instance
      • Link WhatsApp using QR
      • Get QR string
      • Get Instance Status
      • Restart Instance
      • Logout
      • Destroy
    • 📤Messages
      • Send Text
      • Send Media
    • 📬Chats
      • Chats
      • Chats/{chat_id}
      • Chats By Lable ID
    • 🏷️Labels
      • Labels
    • 🔢Contacts
      • Contacts
Powered by GitBook
On this page
  1. WhatsApp API
  2. instance
  3. Settings

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

Name
Type
Description

Accept*

application/json

Content-Type*

application/json

Authorization*

Bearer {{token}}

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

settings explain

PreviousSettingsNextSet Settings

Last updated 1 year ago

you can find your access token

📲
📶
⚙️
here

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

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

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

reference