Dispatch
A player in trouble sends a beacon; a crew of dispatchers and responders sees it, claims it and works it. The API is the queue behind HorizonOS's Beacon and Dispatch screens, and an org that runs its own rescue operation can put its own console on it.
- Base URL
- https://api.apexstarcomm.space/api/v1/dispatch
- Auth
- A player token with a dispatch grant
- Poll
- Every 10 s, with If-None-Match
What it is
Dispatch replaces the old Medical Distress voice channel, where a player under fire had to tune a radio and describe where they were to whoever happened to be listening. A beacon is one action: HorizonOS fills in the system, the nearest place, the last position fix, the server shard and the ship, and everything the caller could type is optional and can be added after sending.
There is one queue, and Apex runs it. Every beacon lands on the same board, and every dispatcher and responder sees it there. An org does not get a queue of its own; what it gets is the ability to build its own console for its own crew, with the same rights those people have in HorizonOS.
If you run such an org, the Dispatch page is the pitch and the way in; this page is the contract.
Status
Who may call it
Every route takes a signed-in player’s own UCI token, the same one HorizonOS holds. The crew routes additionally need a Link access grant of dispatcher or responder on that player, made by an Apex operator and revocable live. A dispatcher can do everything a responder can, and more.
So an org’s console is not a machine client; it is an app its dispatchers sign in to as themselves, with the grants they already hold. The grant is per person, not per org, which is what makes it revocable per person. Access and limits covers how a third-party app signs a player in, and where that stands today.
A beacon
A beacon has a type (medical, rescue, refuel, repair, combat, escort, other); a priority Atlas derives from it (P1 for medical and combat, P2 rescue, P3 refuel, repair and escort, P4 other) and a dispatcher may override; a code like BCN-4K7Q that is safe to read aloud; the caller’s RSI handle if their account is verified; the system, place, position and its age, shard, region and vehicle HorizonOS supplied; the armistice and jurisdiction zone if known; and the optional souls, details, mobility and approach the caller added.
Its state moves received → acknowledged → assigned → en_route → on_scene → resolved; or cancelled, closed_hoax, closed_no_show. Each assigned crew member carries their own state, and the beacon follows the furthest one along.
The crew side
What an org’s console would use. The board is everything open; the full call, with the position, the handle and the thread, is only for dispatchers and for the crew assigned to it.
| Method | Path | Returns |
|---|---|---|
| GET | /api/v1/dispatch/me | Your roles and whether you are on duty. |
| PUT | /api/v1/dispatch/duty | Go on or off duty. |
| GET | /api/v1/dispatch/board | Every open call: type, system, place, region and age. Poll with If-None-Match. |
| GET | /api/v1/dispatch/beacons/{id} | One call in full, if you are its dispatcher or assigned to it. |
| POST | /api/v1/dispatch/beacons/{id}/claim | Responder: take the call. |
| POST | /api/v1/dispatch/beacons/{id}/status | Responder: en route, on scene, released. |
| POST | /api/v1/dispatch/beacons/{id}/ack | assign | priority | close | Dispatcher only. |
| GET | /api/v1/dispatch/handoff | The current wording for adding a caller on Spectrum. |
The caller side
Listed for completeness. Callers are HorizonOS only, by decision: the agent on the player’s machine is what knows where they are, and a beacon without that context is a worse call. There is no web form and no plan for a third-party sender.
| Method | Path | Returns |
|---|---|---|
| POST | /api/v1/dispatch/beacons | Sends a call for help. 409 with the reason if one is open or you are cooling down. |
| GET | /api/v1/dispatch/beacons/mine | Your open beacon, or your last one for a day after it closed. Poll with If-None-Match. |
| PATCH | /api/v1/dispatch/beacons/{id} | Adds details or a fresher position while it is open. |
| POST | /api/v1/dispatch/beacons/{id}/cancel | You are fine after all. |
| GET / POST | /api/v1/dispatch/beacons/{id}/messages | The thread between you and the crew on your call. |
Privacy and abuse
- A caller’s exact position, handle and thread are shown only to dispatchers and to the crew assigned to that call, and only while it is open.
- A closed call’s position and thread are wiped seven days after it closes.
- One open beacon per player. A cancel costs a two-minute cooldown; a call closed as a hoax costs an hour, doubling on each repeat within a week.
- Nothing a caller types is ever spoken on a radio. The voice announcement on the dispatch channel is built only from the type, priority, place and code.
What comes next
The schema leaves room for an org to run a queue of its own; that is room, not a promise. A voice channel per call is a later step. If your org would use either, say so in the #help forum: what gets built next is decided by who shows up.