Get data usage
GET
/v2/sims/{sim_iccid}/usage
This endpoint comes with a Rate Limit: you can pull specific eSIM usage info once every 15 minutes.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/v2/sims//usage' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {{token}}'
Response Response Example
200 - Get Usage: 200
{
"data": {
"remaining": 767,
"total": 2048,
"expired_at": "2022-01-01 00:00:00",
"is_unlimited": true,
"status": "ACTIVE", // All Cases: [ NOT_ACTIVE, ACTIVE, FINISHED, UNKNOWN, EXPIRED ]
"remaining_voice": 0,
"remaining_text": 0,
"total_voice": 0,
"total_text": 0
},
"meta": {
"message": "api.succes"
}
}
Request
Path Params
sim_iccid
string
required
Header Params
Accept
string
required
Example:
application/json
Authorization
string
required
Example:
Bearer {{token}}
Responses
Modified at 2025-01-31 10:00:49