Usage
Get eSIM usage
Retrieves data usage for a specific eSIM. Returns total, used, and remaining data for all active packages. Usage reflects what the network has reported so far, so recent activity can take a while to appear.
/profiles/{profileReference}/esims/{esimReference}/usageAuthorization
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)
Responses
200eSIM usage dataapplication/jsonShow response bodyHide response body
dataobjectoptionalShow propertiesHide properties
profileReferencestringoptionalesimReferencestringoptionaleSIM reference identifier (18-digit opaque token)
iccidstringoptionalpackagesarray of PackageUsageoptionalUsage details for each active package
Show propertiesHide properties
packageReferencestringPackage reference identifier (23-character opaque token)
externalTransactionIdstring | nullThe client's external transaction ID if provided
typestringExtensible enum. Package type: data for mobile data, sms for text messaging, voice for calls.
datasmsvoiceusageobjectUsage summary with unit
Show propertiesHide properties
totalnumberoptionalTotal capacity (MB for data, message count for SMS, seconds for voice)
usednumberoptionalAmount used
remainingnumberoptionalAmount remaining
totalsobjectoptionalAggregated usage totals across all packages by type
Show propertiesHide properties
dataobject | nullAggregated data usage (unit MB), null if no data packages
Show propertiesHide properties
totalnumberoptionalTotal capacity (MB for data, message count for SMS, seconds for voice)
usednumberoptionalAmount used
remainingnumberoptionalAmount remaining
smsobject | nullAggregated SMS usage (unit sms), null if no SMS packages
Show propertiesHide properties
totalnumberoptionalTotal capacity (MB for data, message count for SMS, seconds for voice)
usednumberoptionalAmount used
remainingnumberoptionalAmount remaining
voiceobject | nullAggregated voice usage (unit seconds), null if no voice packages
Show propertiesHide properties
totalnumberoptionalTotal capacity (MB for data, message count for SMS, seconds for voice)
usednumberoptionalAmount used
remainingnumberoptionalAmount remaining
401Unauthorized - missing or invalid API key403Forbidden - client does not have access to this resource404Resource not found429Rate limit exceeded. A `429` can also arrive without these headers or this body; handle it by its status code.500Internal server error