Firsty

Search...

Search...

SubscriptionsExperimental

List profile subscriptions

Returns a paginated list of the profile's current and past subscriptions.

get/profiles/{profileReference}/subscriptions

Authorization

Authorization: Bearer {token} — an OAuth2 access token from the client-credentials flow. How authentication works

Path parameters

profileReferencestringrequired

Profile reference

Query parameters

limitinteger

Maximum number of items to return (1-100)

Default20
cursorstring

Cursor for the next page. Pass the nextCursor value from a previous response.

Responses

200Current and historical subscriptionsapplication/json
Show response body
dataarray of Subscription
Show properties
subscriptionReferencestring

Subscription reference, stable across plan changes.

profileReferencestring

Profile reference

esimReferencestring

eSIM reference

subscriptionPlanReferencestring

Subscription-plan reference.

statusstring

pending until the eSIM has network service; a pending subscription has no period or packages.

Optionspendingactivesuspendedterminated
startedAtstring | null · date-time

Start of the first period; null while the subscription has not started.

lastRenewedAtstring · date-timeoptional

Last calendar renewal processing time; omitted before the first renewal and unchanged by plan changes.

nextRenewalAtstring | null · date-time

Null while the subscription is pending or suspended and once it is terminated.

terminatedAtstring · date-timeoptional
currentPeriodobject | null

Null while the subscription has not started.

Show properties
periodNumberinteger
subscriptionPlanReferencestring

Subscription-plan reference.

revisioninteger
startsAtstring · date-time
endsAtstring · date-time
scheduledActionsarray of SubscriptionScheduledAction

Pending actions ordered by effectiveAt; empty when no actions are pending.

Show properties
actionReferencestring · uuid

Reference of a scheduled subscription action.

actionstring
Optionssuspendresumeterminatechange_plan
effectiveAtstring · date-time
createdAtstring · date-time
subscriptionPlanReferencestringoptional

Subscription-plan reference.

paginationobject
Show properties
limitinteger

Maximum items per page

hasMoreboolean

Whether there are more items after this page

nextCursorstring | null

Cursor for the next page. Null when there are no more results.

400Bad request - invalid parameters401Unauthorized - missing or invalid API key404Resource not found