Usage
Get eSIM usage
Retrieves data usage for a specific eSIM. Returns total, used, and remaining data for all active packages.
/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
dataobjectShow propertiesHide properties
profileReferencestringesimReferencestringeSIM reference identifier (18-digit opaque token)
iccidstringpackagesarray of PackageUsageUsage details for each active package
Show propertiesHide properties
packageReferencestringPackage reference identifier (23-character opaque token)
externalTransactionIdstring | nullThe client's external transaction ID if provided
typestringPackage type: data for mobile data, sms for text messaging, voice for calls
datasmsvoiceusageobjectUsage summary with unit
Show propertiesHide properties
totalnumberTotal capacity (MB for data, message count for SMS, seconds for voice)
usednumberAmount used
remainingnumberAmount remaining
unitstringUnit of measurement (MB, sms, or seconds)
MBsmssecondstotalsobjectAggregated usage totals across all packages by type
Show propertiesHide properties
dataone of UsageSummary | option 2Aggregated data usage (unit MB), null if no data packages
Show propertiesHide properties
UsageSummaryobjectUsage summary with unit
Show propertiesHide properties
totalnumberTotal capacity (MB for data, message count for SMS, seconds for voice)
usednumberAmount used
remainingnumberAmount remaining
unitstringUnit of measurement (MB, sms, or seconds)
MBsmssecondsoption 2nullsmsone of UsageSummary | option 2Aggregated SMS usage (unit sms), null if no SMS packages
Show propertiesHide properties
UsageSummaryobjectUsage summary with unit
Show propertiesHide properties
totalnumberTotal capacity (MB for data, message count for SMS, seconds for voice)
usednumberAmount used
remainingnumberAmount remaining
unitstringUnit of measurement (MB, sms, or seconds)
MBsmssecondsoption 2nullvoiceone of UsageSummary | option 2Aggregated voice usage (unit seconds), null if no voice packages
Show propertiesHide properties
UsageSummaryobjectUsage summary with unit
Show propertiesHide properties
totalnumberTotal capacity (MB for data, message count for SMS, seconds for voice)
usednumberAmount used
remainingnumberAmount remaining
unitstringUnit of measurement (MB, sms, or seconds)
MBsmssecondsoption 2null401Unauthorized - missing or invalid API key403Forbidden - client does not have access to this resource404Resource not found429Rate limit exceeded500Internal server error