API v2.4 / eSIMs / List Bundles applied to eSIM
GET /esims/{iccid}/bundles
This endpoint allows you to retrieve a list of all bundles that have been applied to a specific eSIM. This endpoint is useful for tracking the service history and current status of an eSIM.
Remaining data can be found here.
Each Bundle can have multiple assignments.
Bundle Assignment States:
- Processing: The bundle assignment is currently processing. This is usually instant but can, on occasion, take up to 10 minutes to complete. The eSIM can still be installed and will register on a network while the bundle is processing.
- Queued: The bundle has been successfully assigned, has not been used yet, and is queued for use.
- Active: The bundle has successfully been used. It has data remaining and is within the bundle duration.
- Depleted: The bundle has no data remaining but is still within the bundle duration.
- Expired: The bundle has expired, and the bundle duration has been exceeded.
- Revoked: The bundle has been revoked, and is no longer on the esim.
- Lapsed: The bundle has expired without being used and is no longer on the eSIM.
Authorizations
Parameters
Path Parameters
(Required) The ICCID of the eSIM
Example
8944123456789012000
Query Parameters
Include used & expired Bundles Backward compatibility for v2.1
Example
true
Number of assignments to return. Must be between 1 and 200. Default is 15
Example
10
Responses
200
OK
object
object
Name of the bundle
Description of the bundle (size, validity period, coverage)
object
ID of assignment
Type of the bundle
The initial quantity the bundle had (in bytes)
The remaining quantity the bundle had (in bytes)
The date and time the bundle was created (utc string)
Assigment reference
Current state of a bundle
If the bundle is unlimited
Example
{ "bundles": [ { "name": "esim_1GB_7D_GB_V2", "description": "eSIM, 1GB, 7 Days, United Kingdom, V2", "assignments": [ { "id": "215009266", "callTypeGroup": "data", "initialQuantity": 1000000000, "remainingQuantity": 1000000000, "assignmentDateTime": "2024-12-11T10:47:00.34523Z", "assignmentReference": "3a6e2e40-c674-45e9-b289-b35027bf72a9-0", "bundleState": "queued", "unlimited": false } ] } ]}
400
Bad Request - returned when request format is not accepted
object
Status of api functions which do not return data
403
Unauthorised - returned when the api token is invalid; the user does not have any available Bundles left or the ICCID is not accessible by the user
object
Status of api functions which do not return data
429
Too Many Requests
object
Status of api functions which do not return data
500
Server Error
object
Status of api functions which do not return data
503
Processing - Please come back later or use the Retry-After (seconds) header
object
Status of api functions which do not return data