Getting started

    Errors

    Status codes, error codes and the error body.

    Errors use standard HTTP status codes and a JSON body:

    Error body
    {
      "errCode": "MISSING_SCOPE",
      "errMsg": {
        "success": false,
        "message": "Missing required scope: messages:send",
        "required_scope": "messages:send",
        "granted_scopes": ["chats:read", "groups:read"]
      }
    }
    StatuserrCodeWhen
    400Missing or invalid parameter. The message says which.
    401Key missing, unknown, revoked or expired.
    402BILLING_ACCESS_DENIEDThe organization's subscription is inactive. Only sending is blocked.
    403ROUTE_NOT_PUBLICThe route exists but is not available to API keys.
    403MISSING_SCOPEThe key lacks the scope this route needs.
    403INTEGRATION_NOT_ALLOWEDintegration_id is outside the numbers the key is restricted to.
    403INTEGRATION_ID_REQUIREDThe key is restricted to several numbers and none was given.
    404The resource does not exist in your organization.
    429TooManyRequestsRate limit exceeded. See the Retry-After header.
    5xxSomething failed on our side. Safe to retry reads; check the inbox before retrying a send.