SubscriptionsExperimental
Get a subscription
Includes the current period and pending scheduled actions in execution order.
/profiles/{profileReference}/subscriptions/{subscriptionReference}Authorization
Authorization: Bearer {token} — an OAuth2 access token from the client-credentials flow. How authentication works
Path parameters
profileReferencestringrequiredProfile reference
subscriptionReferencestringrequiredThe subscription's reference.
Responses
200Current post-mutation subscription stateapplication/jsonShow response bodyHide response body
dataobjectShow propertiesHide properties
subscriptionReferencestringSubscription reference, stable across plan changes.
profileReferencestringProfile reference
esimReferencestringeSIM reference
subscriptionPlanReferencestringSubscription-plan reference.
statusstringpending until the eSIM has network service; a pending subscription has no period or packages.
pendingactivesuspendedterminatedstartedAtstring | null · date-timeStart of the first period; null while the subscription has not started.
lastRenewedAtstring · date-timeoptionalLast calendar renewal processing time; omitted before the first renewal and unchanged by plan changes.
nextRenewalAtstring | null · date-timeNull while the subscription is pending or suspended and once it is terminated.
terminatedAtstring · date-timeoptionalcurrentPeriodobject | nullNull while the subscription has not started.
Show propertiesHide properties
periodNumberintegersubscriptionPlanReferencestringSubscription-plan reference.
revisionintegerstartsAtstring · date-timeendsAtstring · date-timescheduledActionsarray of SubscriptionScheduledActionPending actions ordered by effectiveAt; empty when no actions are pending.
Show propertiesHide properties
actionReferencestring · uuidReference of a scheduled subscription action.
actionstringsuspendresumeterminatechange_planeffectiveAtstring · date-timecreatedAtstring · date-timesubscriptionPlanReferencestringoptionalSubscription-plan reference.
400Bad request - invalid parameters401Unauthorized - missing or invalid API key404Resource not found409Request with this idempotency key is still being processed