Skip to main content
GET
/
v2
/
subscriptions
/
{xid}
/
esim-location
Get the location of subscription esim
curl --request GET \
  --url https://api.bondio.co/v2/subscriptions/{xid}/esim-location \
  --header 'Authorization: Bearer <token>'
{
  "currentLocation": {
    "country": {
      "iso2": "IN",
      "iso3": "IND",
      "name": "India"
    },
    "updatedAt": 1739299683
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

xid
string
required

iccid or subscription id

Query Parameters

expand
string

can be used to fetch full country object with expand=country

Response

200 - application/json

OK

currentLocation
EsimLocation · object
required
Example:
{
"country": {
"iso2": "IN",
"iso3": "IND",
"name": "India"
},
"updatedAt": 1739299683
}