SIM Management
API Reference
Read eSIM profile

Read eSIM profile

GET /api/sim/{serialNumber}/esim

Reads profile status and available profile history for an accessible eSIM. Supported networks are eSIMsmart 218 and 225 and Orange LMVNO 234. This is a profile-information read, distinct from the eSIM export submission. Use the bearer token described in Authentication.

Path parameterTypeDescription
serialNumberstringRequired eSIM serial number, not its MSISDN, ICCID or EID
curl --location 'https://api.cellhire.com/api/sim/89441000000000000001/esim' \
  --header 'Authorization: Bearer <access-token>'

Response

200 OK returns one profile object. Responses are cached for up to 30 minutes. Fields depend on the network and may be null; Orange returns the EID and current status while the other profile fields may be unavailable.

FieldTypeDescription
currentStatusstring or nullCurrent profile state
previousStatusstring or nullPrevious profile state
lastOperationDateTimedate-time or nullMost recent profile operation time
deviceImeistring or nullDevice IMEI associated with the profile
eidstring or nullEmbedded UICC identifier
profileReusePolicystring or nullProfile reuse policy reported by the network
profileHistoryarray or nullProfile events with nullable date-time operationDateTime, nullable string operationType and nullable string status

For eSIMsmart, history is limited to operations after the earliest rental-agreement commencement for the current account. An empty history does not establish that the profile has never been used. Status and policy fields are not fixed enums in the public schema. Handle device identifiers as sensitive information and avoid placing them in logs.

Errors

StatusMeaning
401Missing or invalid bearer token
403The user does not have access to this SIM
404SIM was not found, is not an eSIM, uses an unsupported network, or has no available profile details
500Profile lookup failed