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

NameTypeDescription

Accept*

application/json

Content-Type*

application/json

Authorization*

Bearer {{token}}

you can find your access token here

{
    "status": "qr"
}

Last updated