Skip to main content

Requests and responses

Every endpoint follows the same conventions, so once you've read this page the rest of the API should hold no surprises.

The basics​

Base URLhttps://app.zentarinetworks.com/api/v1
FormatJSON in and out (Content-Type: application/json), UTF-8
Property namescamelCase, e.g. usageBytes, pendingPlanChange
Query parameterscamelCase too, e.g. ?poolId=7&pageSize=100
IdsNumbers, except tickets (a UUID) and your account (a UUID)
Missing valuesnull (the property is always there)

Units​

KindHow it's sentExample
DataBytes, as a whole number5368709120 (5 GB)
MoneyPounds sterling, excluding VAT (invoices add VAT)12.50
TimesUTC, ISO 8601, always ending Z2026-10-08T14:30:00Z
Monthsyyyy-MM2026-10
Daysyyyy-MM-dd (UTC days)2026-10-08

Axis counts data in binary units: 1 GB is 1,073,741,824 bytes. Invoice totals from Stripe (GET /billing/invoices) include VAT, and say so.

Statuses and types are words​

Wherever a value comes from a fixed list, it's a lowercase word, never a number. The lists never lose a word once it's released, but new words can be added, so treat an unknown one gracefully (show it as it is, say).

FieldValues
SIM statusactive (live on the network), suspended (barred), offline (not on the network yet: new stock, or taken off its plan), unknown
SIM typephysical, digital (an eSIM)
Tariff typestandard (a SIM on its own), dynamic_pool, fixed_pool
Pool typedynamic (allowance grows with the number of SIMs), fixed (one fixed block of data)
Ticket statuspending, processing, completed, failed, cancelled
Order statusprocessing, shipped, completed, cancelled

The API explorer lists the values for every field.

Lists and paging​

Lists that can be long come back a page at a time:

GET /api/v1/sims?page=2&pageSize=100
{
"data": [ … ],
"pagination": { "page": 2, "pageSize": 100, "totalItems": 214, "totalPages": 3, "hasMore": true }
}
  • page starts at 1. pageSize is 50 by default and can be anything from 1 to 100.
  • Keep asking for the next page while hasMore is true. There's an example in Sync your SIMs.

Short lists that are always returned whole (tariffs, alert rules, invoices…) have just a data array:

{ "data": [ … ] }

Filtering and searching​

List endpoints take filters as query parameters, all optional and combinable. For example:

GET /api/v1/sims?status=active&poolId=7&sort=usage_desc
GET /api/v1/sims?search=van ← ICCID, IMSI, phone number or tag
GET /api/v1/sims?onPlan=false ← SIMs not on a plan yet
GET /api/v1/tickets?simId=4183&status=processing
GET /api/v1/events?type=watchdog&severity=warning

Each endpoint's filters are listed in the API explorer. A filter with a value that isn't allowed (say, status=on) gets a 400 saying which values are.

Changing things​

MethodUsed forAnswer
POSTCreating something, or doing something (/sims/{id}/suspend)201 with what was made, or 202 with a ticket
PATCHChanging some fields; only the fields you send change200 with the result
PUTSetting something as a whole (a SIM's plan, the webhook URL)200 with the result
DELETERemoving something204 with no body, or 200 when there's something to report

Anything that has to change on the mobile network answers 202 Accepted with a ticket, because the network finishes it a little later. See Tickets.

Headers you'll meet​

HeaderDirectionWhat it's for
AuthorizationYou → AxisBearer axis_live_…, on every request (Authentication)
Idempotency-KeyYou → AxisMakes a POST safe to retry (Retries and idempotency)
Idempotent-ReplayedAxis → youtrue when a response is a replay of an earlier one
LocationAxis → youWhere to find a ticket after a 202
Retry-AfterAxis → youSeconds to wait after a 429 (Rate limits)