Activate a SIM
A SIM that isn't on a plan is offline: the network won't let it connect. To bring it to life you put it on a
plan, either a tariff of its own or a data pool it shares with other SIMs. Axis sends that to the network
as a ticket, and the SIM is usually live within a few minutes.
- Endpoint
- PUT /sims/{id}/plan
- Needs
- A full-access key and a card on file
- Takes
- Usually a few minutes
- Billing
- Starts when the SIM is put on the plan
- Find the SIM
New SIMs (from an order, or allocated to you by Axis) appear in your list as
offlinewith noplan. List the ones waiting to be activated:Or look one up by the ICCID printed on the card (19 or 20 digits):
curl https://app.zentarinetworks.com/api/v1/sims/by-iccid/8944501234567890123 \-H "Authorization: Bearer $AXIS_API_KEY"Note its
id: every other SIM endpoint uses that. - Choose a plan
On its own tariff: list your tariffs and pick one with
"type": "standard".{"data": [{ "id": 2, "name": "UK 5GB", "type": "standard", "isActive": true, "simMonthlyFee": 6.5,"allowanceBytesPerSim": 5368709120, "overageFeePerGb": 3.0, "smsFee": 0.04, "voiceFeePerMinute": 0.05 },{ "id": 3, "name": "Pool 5GB per SIM", "type": "dynamic_pool", "isActive": true, "simMonthlyFee": 5.0,"allowanceBytesPerSim": 5368709120, "overageFeePerGb": 2.5, "smsFee": 0.04, "voiceFeePerMinute": 0.05 }]}In a data pool: list your pools (or create one) and use its
id. - Put the SIM on the plan
Send exactly one of
tariffIdorpoolId.- cURL
- Node.js
- Python
- C#
curl -X PUT https://app.zentarinetworks.com/api/v1/sims/4183/plan \-H "Authorization: Bearer $AXIS_API_KEY" \-H "Content-Type: application/json" \-d '{ "tariffId": 2 }'const res = await fetch('https://app.zentarinetworks.com/api/v1/sims/4183/plan', {method: 'PUT',headers: { Authorization: `Bearer ${process.env.AXIS_API_KEY}`, 'Content-Type': 'application/json' },body: JSON.stringify({ tariffId: 2 }), // or { poolId: 7 }});const result = await res.json();res = requests.put("https://app.zentarinetworks.com/api/v1/sims/4183/plan",json={"tariffId": 2}, # or {"poolId": 7}headers={"Authorization": f"Bearer {os.environ['AXIS_API_KEY']}"},)result = res.json()var res = await http.PutAsJsonAsync("sims/4183/plan", new { tariffId = 2 }); // or new { poolId = 7 }var result = await res.Content.ReadFromJsonAsync<JsonElement>();{"outcome": "provisioning_started","ticket": {"id": "a1d0c7e2-5b9f-4f3a-8c2e-7d6b5a4f3e21","simId": 4183,"type": "provision","status": "processing","createdAt": "2026-10-08T14:30:02Z","provisioning": { "poolId": null, "tariffId": 2, "unassign": false, "tag": null }},"effectiveFrom": null,"message": "Provisioning has started. The SIM is usually live within a few minutes."}outcometells you what happened:outcomeMeaning provisioning_startedThe SIM had no plan, so it's being switched on now. Follow the ticketscheduledThe SIM was already on a plan, so the move happens at the start of next month. See Change a SIM's plan no_changeIt's already on that plan. Any queued change was cleared - Wait for the ticket
When the network finishes you get a
ticket.completedwebhook (orticket.failed). Without webhooks, pollGET /tickets/{id}every few seconds: see Tickets.Once it's completed, the SIM shows
"status": "active"and itsplan:{ "id": 4183, "status": "active", "plan": { "kind": "tariff", "poolId": null, "tariffId": 2, "name": "UK 5GB" }, … } - Label it (optional)
Give the SIM a tag your team will recognise, like a vehicle or site name. Tags show in the portal, in reports, and in search (
GET /sims?search=van).curl -X PATCH https://app.zentarinetworks.com/api/v1/sims/4183 \-H "Authorization: Bearer $AXIS_API_KEY" \-H "Content-Type: application/json" \-d '{ "tag": "Van 12" }'
eSIMs
For an eSIM ("type": "digital"), the SIM's esimActivationCode is the text in its QR code. Turn it into a QR code
(any QR library will do) and scan it on the device to download the eSIM profile, then activate it as above.
What can go wrong
| Answer | Why | What to do |
|---|---|---|
402 payment_required | No card on file. Activating starts billing | An admin adds a card in the portal (Settings > Billing) |
400 invalid_request | Both or neither of tariffId/poolId; a pool tariff used directly; or a pool or tariff that isn't on your account | Send one of your own: a standard tariff, or a pool |
404 not_found | The SIM isn't yours | Check the SIM's id |
409 conflict | It's already being provisioned | Wait for that ticket |
403 account_suspended | Your account is suspended | Contact support |
ticket.failed | The network couldn't switch it on | Try again; if it fails twice, contact support with the ICCID |
:::tip Doing lots at once? Activate SIMs one at a time at a steady rate (a request or two a second keeps you well under the rate limit), and use webhooks rather than polling each ticket. :::