Skip to main content

Envelope

Successful and error responses use a consistent JSON shape (see ApiResponse in the backend):

Success example

The exact data object depends on the endpoint (list results, a single record, a send receipt, etc.).

Error example

BigInt and JSON

The server serializes BigInt values in JSON responses so numeric IDs from the database are safe for clients. If you see large integers, treat them as numbers or strings according to your client’s needs.
  • Authentication — 401/403 response messages for API key and plan issues