Skip to main content

1GLOBAL Enterprise APIs (1.0)

Download OpenAPI specification:Download

1GLOBAL Enterprise APIs

Subscriptions

Early Access
Endpoints for managing your subscriptions

List Subscriptions

Authorizations:
JWT
query Parameters
status
string
Enum: "active" "terminated"

The status of the subscription

limit
integer <int32> (Limit) [ 1 .. 100 ]
Default: 10
cursor
string (Cursor) [ 1 .. 128 ] characters
header Parameters
Prefer
string
Example: transclude="subscriber;account;sim_profile;phone_numbers;services"

What embedded resources to include in the response

Responses

Response samples

Content type
application/json
{}

Get Subscription

Authorizations:
JWT
path Parameters
id
string
Example: sub_01HTJA47C93ABKKR58T05JBAJB

The ID of the subscription

header Parameters
Prefer
string
Example: transclude="subscriber;account;sim_profile;phone_numbers;services"

What embedded resources to include in the response

Responses

Response samples

Content type
application/json
{}

Get Subscription's Phone Numbers

Authorizations:
JWT
path Parameters
id
string
Example: sub_01HTJA47C93ABKKR58T05JBAJB

The ID of the subscription

Responses

Response samples

Content type
application/hal+json
{}

Get Subscription's Services

Authorizations:
JWT
path Parameters
id
string
Example: sub_01HTJA47C93ABKKR58T05JBAJB

The ID of the subscription

Responses

Response samples

Content type
application/hal+json
{}

Get Subscription's Sim Profile

Authorizations:
JWT
path Parameters
id
string
Example: sub_01HTJA47C93ABKKR58T05JBAJB

The ID of the subscription

Responses

Response samples

Content type
application/hal+json
{}

Orders

Preview
Endpoints for changing your service

Create Order

Submit a request to perform changes on the Subscription list under a given Account

Authorizations:
JWT
Request Body schema: application/json
required
type
required
string

The Order's requested action - create a new Subscription

account_id
required
string^acc_[0-9A-Z]{26}$

The account where the new subscription will be provisioned

template_id
string^otpl_[0-9A-Z]{26}$

The ID of the pre-configured template which includes plans and phone numbers

required
object

The Person who will use the new Subscription

required
object

Configuration of the SIM Profile to be provisioned

Responses

Request samples

Content type
application/json
Example
{
  • "type": "activate_subscription",
  • "account_id": "string",
  • "template_id": "string",
  • "subscriber": {
    },
  • "sim_profile": {
    }
}

Response samples

Content type
application/json
{}

Get Order

Consult the status and/or result of a previously submitted order

Authorizations:
JWT
path Parameters
id
string^order_[0-9A-Z]{26}$
Example: order_01HZQ8GENA2K171RTJ3Z5FWW9R

The ID of the order

Responses

Response samples

Content type
application/json
{}