Envelope
Successful and error responses use a consistent JSON shape (seeApiResponse in the backend):
Success example
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.Related
- Authentication — 401/403 response messages for API key and plan issues