Firsty

Search...

Search...

Packages

List packages for an eSIM

Retrieves a paginated list of packages assigned to a specific eSIM. Results are sorted by creation date (newest first).

get/profiles/{profileReference}/esims/{esimReference}/packages

Authorization

Authorization: Bearer {token} — an OAuth2 access token from the client-credentials flow. How authentication works

Path parameters

profileReferencestringrequired

The eSIM's profile reference (16-digit numeric string)

esimReferencestringrequired

eSIM reference identifier (18-digit opaque token)

Query parameters

limitinteger

Maximum number of items to return (1-100)

Default20
cursorstring

Opaque cursor token for fetching the next page. Pass the nextCursor value from a previous response.

statusstring

Filter by package status

Optionsactivethrottledexhaustedexpiredremoved

Responses

200List of packagesapplication/json
Show response body
dataobject
Show properties
profileReferencestring

The eSIM profile reference

externalProfileIdstring | null

The client's external profile ID if provided

esimReferencestring

eSIM reference identifier (18-digit opaque token)

iccidstring

The eSIM ICCID

packagesarray of PackageSummary
Show properties
packageReferencestring

Package reference identifier (23-character opaque token)

externalTransactionIdstring | null

The client's external transaction ID if provided

planReferencestring

Plan reference identifier (14-character opaque token)

typestring

Package type: data for mobile data, sms for text messaging, voice for calls

Optionsdatasmsvoice
countryCodestring
statusstring
Optionsactivethrottledexhaustedexpiredremoved
recurringboolean

Whether this package will auto-renew

activatedAtstring | null · date-time
expiresAtstring | null · date-time
createdAtstring · date-time
paginationobject
Show properties
limitintegerrequired

Maximum items per page

hasMorebooleanrequired

Whether there are more items after this page

nextCursorstring | nullrequired

Opaque cursor token for the next page. Null when there are no more results.

401Unauthorized - missing or invalid API key403Forbidden - client does not have access to this resource404Resource not found429Rate limit exceeded500Internal server error