Number status map
Every phone number in Orbit carries astatus value. The vocabulary is
a closed set of six states, and every Numbers page and list endpoint you
touch reads one of them. This page defines what each state means, who
moves a number into it, and which transitions are reversible. The
lifecycle operations (auto-renew, release, reassign, reclaim) that move a
number through these states are documented step by step in Number
lifecycle — this page is the anchor for the status
vocabulary those operations depend on. Two refinements sit on top of the
six-state map and explain the rows that surprise operators: a second,
carrier-side axis (release_status) that keeps tracking a release after
status has moved on, and a freeze that holds status transitions while
a number is pending_compliance.
The six states
The lifecycle is a closed enum. A number is always in exactly one of:active— held and fully usable. Works for sending, receiving, and billing.pending_compliance— purchased into a regulated country and the carrier-approved compliance bundle is still being verified. Not yet a usable number.inactive— never provisioned or deliberately disabled. Shows in listings but is not usable.released— let go. Orbit’s side of the release is done and the row is terminal; the carrierDELETEis confirmed or finishing via the retry sweep (Two axes). The only path back in is a fresh purchase.parked— mid-release grace window. Holding the number against upstream release so you can reclaim it during a bounded window.suspended— soft pause on a NaaS DID (for an overdue balance or a manual suspend). It stops sending and receiving until reactivated.
One more status exists mid-transition
The six values above are the states a number can settle into. One further, synthetic member joins the closed enum while a port-out is in flight:port_out_pending — the DID is claimed by an outbound port
order and sits between active (its only entry edge, returning there on
cancel/failure) and gone (on completion). It is not a seventh lifecycle
path; it exists so the list endpoint, dashboard badge, and every
ownership guard can treat a mid-port number uniformly. The two-direction
model that defines it lives in Number portability
model, and its guards live in
Port-out lifecycle and ownership model.
Wire vs. terminal
The six states split by the same distinction the delivery lifecycle draws for messages: one terminal outcome, and five states a number can visibly leave again.
There are six paths a number traverses from purchase. Annotating them,
only one arrow is irreversible:
parked is the last reversible stop on the release path — cross it, and
the row is gone.
Every regulated-country purchase routes through
pending_compliance before it is active, because the carrier only
approves the compliance bundle after Orbit attaches it.
What each state means, and who sets it
active— set at purchase when the country has no regulatory bundle, and set frompending_complianceonce the carrier accepts the attached compliance profile. The dashboard and list endpoints default toactivewhen no status filter is supplied.pending_compliance— set at purchase into a regulated country. Orbit auto-releases it after its grace window unless you attach a compliance profile first (Attach a compliance profile).inactive— never provisioned or deliberately unhooked. Either way, the number is still yours; it only stops being usable. Set it yourself by sendingPUT /numbers/:idwithstatus: "inactive"(the same update acceptsstatus: "active"to bring it back — the configuration stays intact, so re-enabling is free). Provisioning arrives at it the other way: when a purchase left the messaging-profile or voice-connection attachment incomplete, the row waits for repair provisioning instead of ever reachingactive. Both directions route through the update endpoint, not the lifecycle schedulers, soPUTandrepair- provisioningare the only two doors intoinactive. You can still see the row with astatus=inactivefilter on the list endpoint.released— set after the graceful-release parking window closes; the carrierDELETEis confirmed or being completed by the retry sweep (Two axes). Terminal; recover by purchasing again.parked— set when you schedule a release. The parking-expiry scheduler is the only actor that moves the row fromparkedtoreleased. During the window,POST /:id/reclaimmoves it back toactivewithout re-purchasing.suspended— set for an overdue balance or a manual suspend on a NaaS DID. It is an explicit soft pause; reactivation flips it back toactivewith the configuration intact. Only anactivenumber can be suspended, sopending_compliance,parked, andreleasedrows are rejected with409.
Filtering by status on the list endpoint
GET /numbers accepts a status query. Omit it and the list returns
active rows only. Pass one value (suspended, released, …) and you
get that subset. Pass status=all to see every state at once, and pass
a comma-separated list to union several states in one call.
The dashboard Active tab deliberately queries the union
active,pending_compliance so a newly-purchased regulated-country DID
shows up alongside your usable numbers instead of disappearing from the
list until its compliance clears.
Suspended is not released
Usesuspended when you want the number to come back under you (an
overdue balance, a manual pause). Use released only for a verified
teardown. parked sits between them: the number was handed to a release
schedule but the grace window is still open, so it is reclaimable until
the scheduler closes it.
Two axes: status vs release_status
Thestatus column tells you where the number sits in your account.
A second column, release_status, tracks the carrier side of a
release. Releasing a number is two independent events. Orbit can finish
its side (the row flips to released) before, after, or while the
carrier is still answering the DELETE that hands the digits back
upstream. status records the first event, release_status the
second. That is why a number can read status = 'released' while
release activity is still in flight on the row.
The three release_status values and their companion fields:
release_attempts counts the automatic retries used so far against the
1-minute / 5-minute / 30-minute schedule.
Who advances each axis:
statusmoves when you or Orbit’s schedulers act: you schedule a release (active→parked), the parking-expiry scheduler closes the grace window (parked→released), you reclaim, re-enable, or suspend.release_statusmoves when the carrier or the release-retry sweep acts: the sweep flipspending→completedwhen the carrier confirms theDELETE, advancesrelease_attemptsandrelease_next_attempt_aton each retry, and flipspending→failedwhen the budget runs out. Your Retry release action (POST /numbers/:id/retry-release) is the one human lever on this axis: it returns afailedrow topendingand restarts the sweep.
For the carrier-aging timeline that runs after a release completes
(the parking window, region-sized aging, and what the next owner
inherits), see Number reuse, aging, and post-release
posture. That page follows the
number out of your account; this section explains the two-axis row you
see while it is still in it. The step-by-step retry mechanics live
under Retry a failed release.
The pending_compliance freeze
A number atpending_compliance is mid-verification: the
carrier-approved compliance bundle for a regulated country is under
review. While it is, status changes through the generic update
endpoint (PUT /numbers/:id with a status value) are refused. The
row cannot be re-enabled, disabled, or suspended through that path.
The reason is that a status move would fight the review in flight.
The carrier is evaluating the compliance bundle attached to exactly
this number as it stands; disabling it, re-enabling it, or suspending
it mid-review would change the bundle under review and could clear
verification that never actually passed. So the row holds still, and
you attach or correct the compliance profile
(POST /numbers/:id/attach-compliance-profile) instead of moving its
status. (Troubleshoot a pending number or Sender
ID walks the
attach-and-confirm flow and the rejection reasons.)
Two exit edges, and only two, move the row out of the freeze:
- Carrier confirm to
active. Once the carrier accepts the attached compliance profile, its webhook flips the row toactive. The edge is one-way: status never falls back topending_compliance. - Grace lapse to auto-release. Without an attached profile, the
grace window lapses and Orbit auto-releases the number to
released.
active, Orbit resets any stale release fields (release_status,
release_attempts, release_next_attempt_at, release_last_error)
to their idle baseline. Activation through any path (carrier confirm,
reclaim, re-enable) therefore clears leftover release tracking from an
earlier release attempt, and a live number never inherits a pending or
failed release it no longer owes.
Timeline examples
- Fresh purchase, unregulated country — purchase completes and the
number lands at
activeimmediately. - Fresh purchase, regulated country — purchase lands at
pending_compliance. Attach the approved compliance profile (POST /:id/attach-compliance-profile); the carrier webhook flips the row toactive. If the grace window lapses first, Orbit auto-releases it toreleased. - Trial-pool number — claimed from the shared pool as
active. Purchasing flips your claim to permanent ownership, releasing returns it to the pool. - Scheduled release — you schedule it; the number moves to
parked. The parking-expiry scheduler moves it toreleasedwhen the window ends, unless you reclaim it first. - Reclaim during the grace window — a
parkednumber moves back toactiveviaPOST /:id/reclaimwithout another purchase.
States and the operations that move them
The mechanics live in Number lifecycle — this table maps every state, plus the two refinements this page adds, to the operations that can move it into or out of the state you hold. Use it as the index; the linked section is where the operation itself runs step by step.
Operations that update a number without touching its state — auto-renew
toggle, reassign to a
subaccount, capability and
label updates — ride on the same rows but never move a state.
Cross-links
- Number reuse, aging, and post-release posture — the operational view of the release pipeline: the parking window by region, carrier aging, and the retry queue after release.
- Troubleshoot a pending number or Sender
ID — what to do
while
pending_complianceholds: attach the profile, read rejection reasons, and see which surfaces stay gated until it clears. - Number portability model — where
the synthetic
port_out_pendingstatus comes from, and the unified port-in/port-out model it anchors. - Number lifecycle — the step-by-step operations.
- Number dormancy and rental spend — find quiet numbers to review before scheduling a release.
- Number rental and your
wallet — the money arc that
moves a number into
suspended(unpaid renewal → 7-day grace → suspend → reactivate) and the controls that keep it from happening. - Numbers overview — the Numbers pillar surface.