Skip to main content
POST
/
subscriptions
/
{subscriptionId}
/
activate
Error
A valid request URL is required to generate request examples
{
  "subscriptionId": "<string>",
  "status": "PENDING",
  "type": "<string>",
  "display": "<string>",
  "msisdn": "<string>",
  "customer": {
    "customerId": "<string>",
    "name": "<string>"
  },
  "productOffering": {
    "productOfferingId": "<string>",
    "name": "<string>",
    "price": {
      "currency": "USD",
      "discount": 5,
      "netPrice": 5,
      "priceType": "ONE_TIME",
      "boundMonths": 12,
      "billingCycle": {
        "period": "MONTHLY",
        "interval": 1
      }
    },
    "productOfferingGroupId": "<string>",
    "group": {
      "productOfferingGroupId": "<string>",
      "name": "<string>",
      "category": "SUBSCRIPTION_CELL"
    }
  },
  "sim": {
    "esim": true,
    "imei": "<string>",
    "iccid": "<string>"
  },
  "activatedAt": "2023-11-07T05:31:56Z",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "subscriber": {
    "subscriberId": "<string>",
    "name": "<string>",
    "email": "[email protected]",
    "address": {
      "street1": "500 S Main St",
      "city": "Natick",
      "zip": "01701",
      "country": "US",
      "street2": "Apt 1",
      "state": "CA",
      "region": "<string>",
      "attention": "<string>"
    },
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  },
  "extensions": {},
  "pendingMsisdn": {
    "msisdn": "<string>",
    "scheduledAt": "2023-12-25"
  },
  "pendingStatus": {
    "status": "PENDING",
    "scheduledAt": "2023-12-25"
  },
  "pendingProductOffering": {
    "scheduledAt": "2023-12-25",
    "product": {
      "productOfferingId": "<string>",
      "name": "<string>",
      "price": {
        "currency": "USD",
        "discount": 5,
        "netPrice": 5,
        "priceType": "ONE_TIME",
        "boundMonths": 12,
        "billingCycle": {
          "period": "MONTHLY",
          "interval": 1
        }
      },
      "productOfferingGroupId": "<string>",
      "group": {
        "productOfferingGroupId": "<string>",
        "name": "<string>",
        "category": "SUBSCRIPTION_CELL"
      }
    }
  },
  "porting": {
    "msisdn": "<string>",
    "status": "PENDING",
    "direction": "INBOUND",
    "scheduledAt": "2023-12-25"
  },
  "cancelledAt": "2023-11-07T05:31:56Z",
  "metadata": {}
}

Authorizations

X-Api-Key
string
header
required

An API key that grants access to the Connect API. You can create and manage API keys in the portal.

Headers

X-Idempotency-Key
string

A unique key to ensure idempotency of requests. If a request with the same key has already been processed, the same result will be returned. The key must be unique for each distinct operation. Keys are expired after 24 hours, but we recommend using a new key for each request.

Modified requests with the same idempotency keys are rejected with a 409 Conflict status code.

Maximum string length: 256

Path Parameters

subscriptionId
string
required

The unique identifier of the subscription.

Body

application/json

Request to activate a pending subscription in the telecommunications network.

Use this endpoint to activate subscriptions that were created as "shells" without initial activation data, or to activate subscriptions that are in a state where network activation is needed.

Activation timing:

  • Omit scheduleActivationAt for immediate activation (or as soon as network resources are available)
  • Provide scheduleActivationAt to schedule activation for a future date
activation
object
required

Complete activation configuration required to bring the subscription online in the network.

This includes the phone number assignment, SIM card details, and any number porting information.

scheduleActivationAt
string<date>

Date when the subscription should be scheduled for activation.

If not provided, activation will be immediate or as soon as possible based on network availability.

Note: Network availability and porting timelines may affect exact timing. This date is considered a preference, not a guarantee. The actual activation may occur on or after this date.

Example:

"2025-01-01"

Response

Subscription activation scheduled or completed successfully.

A subscription represents a telecommunications service provisioned for a customer with embedded product and pricing details.

subscriptionId
string
required

The unique identifier for the subscription.

status
enum<string>
required

The status of the subscription.

Available options:
PENDING,
ACTIVATED,
BLOCKED,
CANCELLED,
PAUSED
type
string
required

The type of subscription, categorizing the service into various telecommunications service types.

display
string
required

The display name for the subscription, typically a pretty-print of the msisdn.

msisdn
string
required

The currently active phone number for this subscription.

customer
object
required

Customer information embedded in responses. Sensitive details require separate API calls with appropriate authorization.

productOffering
object
required

Embedded representation of a product offering.

sim
object
required

SIM card information for the subscription. Sensitive details like PUK require separate API calls.

Use dedicated SIM API endpoints with proper authorization to access sensitive information such as PUK.

activatedAt
string<date-time>
required

The date and time when the subscription was activated.

createdAt
string<date-time>
required

The date and time when the subscription was created.

updatedAt
string<date-time>
required

The date and time when the subscription was last updated.

subscriber
object

A subscriber is a user that has a subscription.

extensions
object

Additional subscription extensions fields provided for custom subscription types.

pendingMsisdn
object

Details about when a pending phone number change is scheduled for this subscription.

pendingStatus
object

Details about when a pending status change is scheduled for this subscription.

pendingProductOffering
object

Pending product offering change.

porting
object

Number porting information for subscriptions, indicating scheduled number transfers.

To get the detailed porting information, use the porting endpoint.

cancelledAt
string<date-time>

The date and time when the subscription was cancelled (if applicable).

metadata
object

A set of key-value pairs that can be attached to an object for storing additional information in a semi-structured format.