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

Get Instance Status

To get instance status

there are 7 instance statuses

  1. initialize when the instance is being initialized and not ready yet to get the QR code.

  2. qr ( when instance generating qr, this status only appears when you are logged out)

  3. loading_screen (this status appears while scanning QR and loading data )

  4. authenticated ( this status appears before the instance becomes ready status )

  5. ready ( this status appears when the instance is ready to send & receive messages after QR scanned )

  6. disconnected ( this status appears when you are logged out from your device/phone )

  7. auth_failure ( this status appears when the instance failure to authenticate your device for any reason )

To get instance status

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

Headers

Name
Type
Description

Accept*

application/json

Content-Type*

application/json

Authorization*

Bearer {{token}}

{
    "status": "qr"
}
PreviousGet QR stringNextRestart Instance

Last updated 11 months ago

you can find your access token

📲
📶
here