Create a subscription
Subscription
Create a subscription
Creates a mobile plan subscription with the given plan.
POST
Create a subscription
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Exactly one of the plan or planId must be provided.
Response
Returns the created subscription.
Example:
{
"name": "Australia 1GB 7d",
"dataMegaBytes": 1024,
"periodDays": 1,
"periodIterations": 7,
"throttledSpeedKbps": 128,
"label": "alpha",
"coverageProfileId": "cvpr_ybrs38es"
}Example:
{
"dataBytes": 1024,
"voiceSeconds": 60,
"smsMessages": 100
}Example:
{
"dataBytes": 1024,
"voiceSeconds": 60,
"smsMessages": 100
}Available options:
active, expired, ready