Firsty

Search...

Search...

Packages

Get package details

Retrieves detailed information about a specific package including usage data.

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

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)

packageReferencestringrequired

Package reference identifier (23-character opaque token)

Responses

200Package detailsapplication/json
Show response body
dataobject
Show properties
packageReferencestring

Package reference identifier (23-character opaque token)

externalTransactionIdstring | null

The client's external transaction ID if provided

profileReferencestring
externalProfileIdstring | null

The client's external profile ID if provided

esimReferencestring

eSIM reference identifier (18-digit opaque token)

iccidstring
packagePlanobject
Show properties
planReferencestring

Plan reference identifier (14-character opaque token)

namestring
typestring

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

Optionsdatasmsvoice
capacityMbnumber | null
speedKbpsnumber | null
smsCountinteger | null

Number of SMS messages included (for SMS packages)

voiceSecondsinteger | null

Voice call seconds included (for voice packages)

validityMinutesinteger
countryCodestring
recurringboolean
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
usageobject

Usage data for the package

Show properties
totalnumber

Total package capacity (MB for data, count for SMS, seconds for voice)

usednumber

Amount used

remainingnumber

Amount remaining

unitstring

Unit of measurement based on package type

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