NewWhatsApp, Instagram, Messenger, email, SMS and website chat, now in one inbox
CAT Engage 360

Check your key

Which business this key belongs to and which scopes it has. Needs no scope, so a brand-new key can call it to check it works.

GET/api/v1/me

Works with any key, no scope needed.

Example#

curl "https://app.catengage360.com/api/v1/me" \
  -H "Authorization: Bearer cat_live_your_key_here"

Response#

200The key works

JSON
{
  "data": {
    "account": {
      "id": "b2c1e8f4-3a6d-4c9b-8e27-1d5f0a9b6c43",
      "name": "BrightPath Coaching",
      "status": "active"
    },
    "key": {
      "id": "9f4e2a71-6c3b-4d8e-a5f0-3b1c7d9e2a56",
      "scopes": [
        "messages:send",
        "contacts:read"
      ]
    }
  }
}

An account status other than active means the business is waiting for approval or is suspended: reads and contacts work, sending does not.

Errors#

Errors come as { "error": { "code", "message" } }. Branch on code.

CodeStatusWhat it means
unauthorized401The API key is missing, wrong, revoked or expired.
rate_limited429More than 120 requests a minute with this key. Wait for the seconds in Retry-After.