Create a plan
Plan
Create a plan
Creates a plan with the given configuration.
POST
Create a plan
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Name of the plan which can be any thing you like.
coverage id of the region. For full list check out the Help section in the dashboard.
The amount of MBs you want in the plan
plan validity in days
Response
200 - application/json
Returns the created plan.
Plan validity in days
Number of times the periodDays should be repeated.
Speed after allocated data is used up. The default zero means no usage allowed afterwards.
The plan-esim compatibility label
Example:
{
"id": "cvpr_hdy2da3n",
"name": "Australia region",
"label": "lambda",
"countries": [
{
"name": "Australia",
"iso2": "AU",
"iso3": "AUS",
"indicator": "A",
"operators": [
{
"name": "Telstra",
"supportedRats": ["4g", "5g"]
}
]
}
]
}