Read SIM bundle
GET /api/sim/{serialNumber}/bundle
Reads the current bundle information for an accessible SIM on eSIMsmart networks 218 and 225, or Orange LMVNO network 234. This operation requires a bearer token from Authentication. It does not create a bundle or request a new usage report.
| Path parameter | Type | Description |
|---|---|---|
serialNumber | string | Required SIM serial number, not its MSISDN |
curl --location 'https://api.cellhire.com/api/sim/89441000000000000001/bundle' \
--header 'Authorization: Bearer <access-token>'Response
200 OK returns a single bundle object. Responses are cached for up to 30 minutes, so this endpoint should not be treated as a real-time confirmation immediately after a bundle change. Values vary by network; nullable fields may be absent or null when unavailable.
| Field | Type | Description |
|---|---|---|
msisdn | string or null | SIM telephone number |
createdOnUtc | date-time | Bundle creation time |
lastUpdatedOnUtc | date-time or null | Last recorded update |
period | string or null | Bundle renewal period reported by the network |
status | string or null | Bundle status reported by the network |
startDateUtc | date-time | Bundle start time |
renewalDateUtc, expirationDateUtc | date-time or null | Renewal and expiry times when available |
allowanceMb | number | Bundle allowance in MB |
templateName | string or null | Provisioning template or roaming zone name |
topUps | array or null | Top-ups with number amountMb and nullable date-time createdOnUtc |
url | string or null | Associated URL when supplied by the network; handle as sensitive |
shutdownAfterThreshold | integer or null | Network-reported shutdown threshold |
firstUsageDate | date-time or null | First recorded use |
endAction | string or null | Orange allowance-end action, such as cutoff or throttle |
buckets | array or null | Roaming bucket objects with nullable string name, integer allowanceMB and nullable date-time expirationDate |
resetDay | integer or null | Monthly reset day when supplied by the network |
Errors
| Status | Meaning |
|---|---|
401 | Missing or invalid bearer token |
403 | The user does not have access to this SIM |
404 | SIM, bundle or required active bucket was not found |
409 | Unsupported network, or the SIM has no MSISDN; the response includes an explanatory message |
500 | Bundle lookup failed |
The network's status and period strings are not declared as fixed enums in the public schema. Do not invent an exhaustive set of values or use this response to infer that an asynchronous submission completed. Check the submission result separately.