Packages
Get package details
Retrieves detailed information about a specific package including usage data.
/profiles/{profileReference}/esims/{esimReference}/packages/{packageReference}Authorization
Authorization: Bearer {token} — an OAuth2 access token from the client-credentials flow. How authentication works
Path parameters
profileReferencestringrequiredThe eSIM's profile reference (16-digit numeric string)
esimReferencestringrequiredeSIM reference identifier (18-digit opaque token)
packageReferencestringrequiredPackage reference identifier (23-character opaque token)
Responses
200Package detailsapplication/jsonShow response bodyHide response body
dataobjectShow propertiesHide properties
packageReferencestringPackage reference identifier (23-character opaque token)
externalTransactionIdstring | nullThe client's external transaction ID if provided
profileReferencestringexternalProfileIdstring | nullThe client's external profile ID if provided
esimReferencestringeSIM reference identifier (18-digit opaque token)
iccidstringpackagePlanobjectShow propertiesHide properties
planReferencestringPlan reference identifier (14-character opaque token)
namestringtypestringPackage type: data for mobile data, sms for text messaging, voice for calls
datasmsvoicecapacityMbnumber | nullspeedKbpsnumber | nullsmsCountinteger | nullNumber of SMS messages included (for SMS packages)
voiceSecondsinteger | nullVoice call seconds included (for voice packages)
validityMinutesintegercountryCodestringrecurringbooleantypestringPackage type: data for mobile data, sms for text messaging, voice for calls
datasmsvoicecountryCodestringstatusstringactivethrottledexhaustedexpiredremovedrecurringbooleanWhether this package will auto-renew
activatedAtstring | null · date-timeexpiresAtstring | null · date-timecreatedAtstring · date-timeusageobjectUsage data for the package
Show propertiesHide properties
totalnumberTotal package capacity (MB for data, count for SMS, seconds for voice)
usednumberAmount used
remainingnumberAmount remaining
unitstringUnit of measurement based on package type
mbsmsseconds401Unauthorized - missing or invalid API key403Forbidden - client does not have access to this resource404Resource not found429Rate limit exceeded500Internal server error