eSIM Profile Lifecycle
An eSIM has different states throughout its lifecycle. The Connect API returns the eSIM profile state for a given ICCID using the SIM endpoint. The key states are outlined below.
Status | Description |
---|---|
Released | ready to be installed by the customer |
Downloaded | downloaded into the eUICC of the customer device |
Installed | successfully installed in eUICC of the customer device |
Unavailable | deleted from eUICC of customer device |
Note: Please note, when an eSIM becomes "Unavailable" it will automatically switch back to “Released” so it can be re-installed again.
#
Example Requestcurl -X GET \ https://services.truphone.com/connect-api/v1/sim/8944474600000109251 \ -H "Authorization: Bearer $ACCESS_TOKEN" \ -H 'Cache-Control: no-cache' \ -H 'Content-Type: application/json' \ -H 'X-Correlation-ID: unique-id-from-requester-123'
#
Example Response{ "iccid": "8944474600000063847", "matching_id": "O-17QF0-MJVBIN", "matchingId": "O-17QF0-MJVBIN", "status": "Released", "profileStatus": "Released", "eid": "89001012012341234012345678901224", "last_modified": "2019-08-02T09:09:33Z", "lpa_url": "LPA:1$rsp.truphone.com$O-17QF0-MJVBIN"}