UnifyPort Region Selection: supported vs allocatable
A region can support a messaging provider without being available for a new account. In UnifyPort, supported describes whether the provider runs in that region; allocatable describes whether new accounts can currently be bound there. Before creating a messaging account, read the provider’s regions and choose an eligible region with allocatable: true. A positive result is a current observation—not a capacity reservation or proof that account authorization will succeed.
Check three gates before asking the user to log in
The List provider regions reference defines the regional flags. The Quickstart explicitly warns that creating an account in a region that cannot allocate fails with 409 no_allocatable_server.
Keep these checks independent:
| Gate | Evidence to inspect | What it does not establish |
|---|---|---|
| Regional availability | The selected provider’s supported and allocatable values | Workspace quota or future capacity |
| Workspace capacity | account_quota and account_quota_used | Regional availability or successful creation |
| Account readiness after creation | Authorization state and runtime_status | Successful webhook storage or message delivery |
Read the region list for the provider actually selected. An available WhatsApp region is not evidence that the same region is available for LINE, Telegram, or Zalo. Preserve the returned region identifier rather than deriving one from a country name or copying a value from an old example.
If you are still verifying the API key and receiver, complete the first webhook test checklist alongside these checks. A working key does not establish either of the first two gates.
Build a region picker that admits uncertainty
The following is a recommended application workflow, not an additional API guarantee:
- Ask the operator to select the provider and review any application-specific deployment requirements.
- Retrieve that provider’s current region list from your backend. Keep the API key out of browser code and logs.
- Offer only regions that meet your requirements and whose returned flags explicitly indicate support and allocation availability. Keep unavailable options explanatory rather than silently substituting another region.
- Clear the region selection whenever the provider changes. Discard late responses belonging to an earlier selection.
- Refresh availability before submitting a deliberate creation request. If availability changed, return to selection rather than issuing a loop of creates.
Treat a failed region lookup as availability unknown, not as an empty list or proof that every region is unavailable. Likewise, do not interpret an absent flag as true.
The region field is allocation configuration. These flags alone do not establish a legal data-residency guarantee, recipient-country eligibility, latency target, or permission to use a particular platform. Confirm those requirements separately. This guide intentionally does not publish a static country list: use the returned availability for the current provider.
Separate workspace quota from regional capacity
The Get current workspace reference defines account_quota as effective account capacity and account_quota_used as current usage. Capacity is not the number of remaining slots. Usage includes accounts awaiting authorization as well as stopped or disconnected accounts.
For a UI estimate, calculate remaining headroom as the non-negative difference between capacity and usage. Label it as an observation, not a reserved slot. Another creation request can consume capacity before the next action.
Stopping a runtime therefore does not release an account slot. Nor should an onboarding failure automatically trigger account deletion. Review unused resources deliberately; deletion and any related billing outcome are separate workflows. The docs also note that usage can exceed current capacity after paid quota expires, so do not discard such a response as impossible.
Route a failed creation to the right recovery
Use the HTTP status together with error.code and the operation, as documented in the error reference. A status such as 409 is not enough to choose a recovery action.
| Observation | Recommended next step |
|---|---|
409 no_allocatable_server | Refresh the provider’s regions; review another acceptable allocatable region or wait and escalate |
| An error identifies the workspace account limit | Inspect workspace capacity and usage; changing regions does not create quota |
| A timeout or unreadable create response | Keep the result unconfirmed; reconcile account records before another create |
| An account exists but authorization is waiting | Continue that account’s documented authorization flow |
| Authorization succeeded but the connection is not ready | Inspect runtime_status; do not create a replacement account merely to retry connection setup |
Do not silently change region or start an unlimited retry loop. For an uncertain creation, retain redacted diagnostics and use the account list and any returned identifiers to investigate. A matching display name alone is not reliable proof that a record belongs to that attempt.
After creation, the problem changes. Use the runtime recovery runbook for connection diagnosis rather than repeating the regional allocation process. UnifyPort’s unofficial interface still requires the appropriate provider authorization; available infrastructure is not an authorized account.
FAQ
Does supported=true mean I can create an account now?
No. Check allocatable for current allocation availability and workspace quota separately. Creation can still fail after a successful preflight read.
Will reconnecting an existing account fix no_allocatable_server during creation?
That is a different operation. Regional allocation concerns the new-account request; runtime recovery concerns an existing account’s connection. Diagnose the failing operation first.
Can the application automatically pick another region?
Only under an explicit application policy that permits the alternative. A region being allocatable does not establish that it satisfies your operational or contractual requirements.
Next step and sources
Start with a read-only provider region lookup, then compare workspace headroom before enabling Create. Test stale selections, failed reads, exhausted quota, changing availability, and uncertain creation results. These are proposed checks, not reported live-test results.
Official product references checked on 2026-11-27:
Turn messaging integration into a stable product pipeline.
Start by sending through one API, then bring every inbound message back into your business system with standard events.