Skip to main content

SIMs

The SIM endpoints let you query your SIM estate, update tags, and queue provisioning changes.

Base URL​

https://app.zentarinetworks.com

List SIMs​

GET /api/sims

Returns a paginated list of SIMs in your estate.

Query Parameters​

ParameterTypeDefaultDescription
searchstring—Search by ICCID, IMSI, MSISDN, or tag
statusinteger—Filter by status code
poolIdinteger—Filter by pool ID
pageinteger1Page number
pageSizeinteger100Results per page (1–100)

Response​

{
"data": [ /* array of SIM objects */ ],
"pagination": {
"page": 1,
"pageSize": 100,
"totalItems": 42,
"totalPages": 1,
"hasNextPage": false,
"hasPreviousPage": false
}
}

Get SIM by ID​

GET /api/sims/{id}

Path Parameters​

ParameterTypeDescription
idinteger (int64)SIM ID

Get SIM by ICCID​

GET /api/sims/{iccid}

Path Parameters​

ParameterTypeDescription
iccidstringSIM ICCID

SIM Object​

Both GET endpoints return the same GetSimResponse shape:

FieldTypeDescription
idintegerSIM ID
tagstringUser-defined label
iccidstringICCID
poolIdinteger?Assigned pool ID
tariffIdinteger?Assigned tariff ID
imsistringIMSI
msisdnstringMSISDN
imeistringLast seen IMEI
statusintegerStatus code — see /api/sims/metadata
updatedAtdatetimeLast update timestamp
provisionedAtdatetime?Provisioning timestamp
lastSeenAtdatetime?Last network activity
limitMBdoubleData limit in MB
usageMBdoubleData used this cycle in MB
remainingMBdoubleRemaining data in MB
isOveragebooleanWhether SIM is in overage
overageMBdoubleOverage consumption in MB
voiceMinsdoubleVoice minutes used
smsCountintegerSMS count
typeintegerSIM type code — see /api/sims/metadata
esimQrPayloadstring?eSIM activation payload (eSIMs only)
esimQrDataUrlstring?eSIM QR code as data URL (eSIMs only)
pendingPoolIdinteger?Queued pool change
pendingTariffIdinteger?Queued tariff change
pendingUnassignbooleanWhether SIM is queued to be unassigned
watchdogModeintegerWatchdog mode
isWatchdogExemptbooleanWhether watchdog is disabled for this SIM
warningThresholdPctinteger?Usage warning threshold (%)
enableBurnRateAlertsboolean?Whether burn rate alerts are enabled
processingTicketbooleanWhether a ticket is currently processing
processingTicketCountintegerNumber of tickets processing
tariffobjectEmbedded tariff details

Update SIM Tag​

PATCH /api/sims/{id}/tag

Set a custom label on a SIM. The tag can be up to 128 characters.

Path Parameters​

ParameterTypeDescription
idinteger (int64)SIM ID

Request Body​

{
"tag": "my-device-label"
}

Response​

{ "id": 123456 }

Queue Unprovision​

POST /api/sims/{id}/queue-unprovision

Schedules the SIM to be unprovisioned and removed from its pool at the end of the current billing month.

Path Parameters​

ParameterTypeDescription
idinteger (int64)SIM ID

Response​

{ "id": 123456 }

Queue Reprovision​

POST /api/sims/{id}/queue-reprovision

Schedules the SIM to be reprovisioned into a different pool or tariff at the end of the current billing month.

Path Parameters​

ParameterTypeDescription
idinteger (int64)SIM ID

Request Body​

{
"poolId": 10,
"tariffId": 5
}

Both fields are optional — omit either to leave it unchanged.

Response​

{ "id": 123456 }

Get SIM Watchdog Logs​

GET /api/sims/{id}/watchdog-logs

Returns paginated watchdog log entries for a specific SIM.

Path Parameters​

ParameterTypeDescription
idinteger (int64)SIM ID

Query Parameters​

ParameterTypeDefaultDescription
searchTermstring—Filter by message content
datedatetime—Filter by date
levelinteger—Filter by log level
pageinteger1Page number
pageSizeinteger100Results per page (1–100)

SIM Metadata​

GET /api/sims/metadata

Returns the human-readable labels for SIM type and status integer codes.

Response​

{
"type": [
{ "code": 0, "description": "Physical SIM" },
{ "code": 1, "description": "eSIM" }
],
"status": [
{ "code": 0, "description": "Unprovisioned" },
{ "code": 1, "description": "Active" }
]
}