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 URL | https://app.zentarinetworks.com/api/v1 |
| Format | JSON in and out (Content-Type: application/json), UTF-8 |
| Property names | camelCase, e.g. usageBytes, pendingPlanChange |
| Query parameters | camelCase too, e.g. ?poolId=7&pageSize=100 |
| Ids | Numbers, except tickets (a UUID) and your account (a UUID) |
| Missing values | null (the property is always there) |
Units
| Kind | How it's sent | Example |
|---|---|---|
| Data | Bytes, as a whole number | 5368709120 (5 GB) |
| Money | Pounds sterling, excluding VAT (invoices add VAT) | 12.50 |
| Times | UTC, ISO 8601, always ending Z | 2026-10-08T14:30:00Z |
| Months | yyyy-MM | 2026-10 |
| Days | yyyy-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).
| Field | Values |
|---|---|
SIM status | active (live on the network), suspended (barred), offline (not on the network yet: new stock, or taken off its plan), unknown |
SIM type | physical, digital (an eSIM) |
Tariff type | standard (a SIM on its own), dynamic_pool, fixed_pool |
Pool type | dynamic (allowance grows with the number of SIMs), fixed (one fixed block of data) |
Ticket status | pending, processing, completed, failed, cancelled |
Order status | processing, 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 }
}
pagestarts at 1.pageSizeis 50 by default and can be anything from 1 to 100.- Keep asking for the next page while
hasMoreistrue. 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
| Method | Used for | Answer |
|---|---|---|
POST | Creating something, or doing something (/sims/{id}/suspend) | 201 with what was made, or 202 with a ticket |
PATCH | Changing some fields; only the fields you send change | 200 with the result |
PUT | Setting something as a whole (a SIM's plan, the webhook URL) | 200 with the result |
DELETE | Removing something | 204 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
| Header | Direction | What it's for |
|---|---|---|
Authorization | You → Axis | Bearer axis_live_…, on every request (Authentication) |
Idempotency-Key | You → Axis | Makes a POST safe to retry (Retries and idempotency) |
Idempotent-Replayed | Axis → you | true when a response is a replay of an earlier one |
Location | Axis → you | Where to find a ticket after a 202 |
Retry-After | Axis → you | Seconds to wait after a 429 (Rate limits) |