Skip to main content
GET
/
v2
/
subscriptions
/
{xid}
Get a subscription
curl --request GET \
  --url https://api.bondio.co/v2/subscriptions/{xid} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "esim": {
    "iccid": "891004234814455936F",
    "activationCode": "LPA:1$smdp.bondio.com$23LKL-32340MX-20349LIH",
    "msisdn": "449898978234",
    "label": "alpha"
  },
  "createdAt": 123,
  "metadata": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

xid
string
required

esim ICCID or subscription id

Query Parameters

expand
string

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

Response

200 - application/json

OK

id
string
required
esim
required
Example:
{
"iccid": "891004234814455936F",
"activationCode": "LPA:1$smdp.bondio.com$23LKL-32340MX-20349LIH",
"msisdn": "449898978234",
"label": "alpha"
}
createdAt
integer
required
metadata
string | null
required