eSimSmart Create Bundle
Request
curl --location 'https://api.cellhire.com/api/simSubmission' \
--header 'Content-Type: application/json;charset=UTF-8' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjRBMDlENTFBMDhEOEUxMTU0OTkyODFDN...' \
--data '{
"type": "esimsmart-create-bundle",
"name": "",
"commands": [
{
"serialNumbers": [
"01234567890"
],
"commandOptions": {
"type": "esimsmart-create-bundle",
"bundleSizeMb": 100,
"bundlePeriod": "monthly",
"provisioningTemplateId": 9
}
}
]
}
Bundle Sizes
Request
curl --location 'https://api.cellhire.com/api/network/218/bundleTopup' \
--header 'Content-Type: application/json;charset=UTF-8' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjRBMDlENTFBMDhEOEUxMTU0OTkyODFDN...'
Response
[
{
"id": 1,
"name": "100 MB",
"size": 100
},
{
"id": 2,
"name": "500 MB",
"size": 500
},
{
"id": 3,
"name": "1 GB",
"size": 1024
}
]
Provisioning Templates
Request
curl --location 'https://api.cellhire.com/api/account/1234/provisioningTemplates?networkId=218' \
--header 'Content-Type: application/json;charset=UTF-8' \
--header 'Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjRBMDlENTFBMDhEOEUxMTU0OTkyODFDN...'
Response
[
{
"id": 9,
"templateName": "Cellhire_FRData",
"friendlyName": "Operates in France Only, Data Only",
"visible": true,
"premium": false
}
]