Listener calls
Paths on this page have no trailing slash. The caller endpoints accept optional listener bearer authorization . The station determines whether guests may call .
HTTP methods GET
Authentication Optional listener bearer token
Pass station and optional browser_id. Returns state (ok or offline), cooldown_until, who_can_call, and logged_in.
HTTP methods POST
Authentication Optional listener bearer token
Send station, browser_id, guest name when needed, intro, and the solved altcha payload from an unscoped listener challenge
. HTTP 201 returns call_id, call_token, and ticket. HTTP 409 can mean busy, duplicate, unavailable, or cooldown with retry_at in Unix seconds.
HTTP methods POST
Authentication Optional listener bearer token
Send the call_token from admission
to obtain another ticket with expires_in in seconds.
Panel calls
Use a panel JWT with access to call management.
HTTP methods GET, PUT
Authentication Panel JWT
GET takes query station. PUT takes JSON station plus any of enabled, who_can_call, cooldown_min, max_wait_min, and max_call_min. Responses also include the durations in seconds.
HTTP methods GET
Authentication Panel JWT
Pass station and optional date, outcome, registered, limit, and offset. Rows include id, timestamps, caller data, status, wait_s, call_s, air_ms, and end_reason.
HTTP methods GET, POST
Authentication Panel JWT
GET lists blocks for query station. POST creates a block with JSON station, call_id
, and optional note. Returns the block with HTTP 201.
HTTP methods DELETE
Authentication Panel JWT
Remove the call block. Returns HTTP 204.
HTTP methods GET
Authentication Panel JWT
Pass station. Returns ice_servers for the call host.
HTTP methods GET, PUT
Authentication Panel JWT
Read or partially update widget settings. Returns the station’s call widget configuration.
Realtime panel tickets
HTTP methods POST
Authentication Panel JWT
Use a panel JWT. Send integer station, role (ptt, call_host, or chat_staff), and connection (messaging or audio). HTTP 201 returns ticket and expires_in (30 seconds).
HTTP methods POST
Authentication Panel JWT
Revoke realtime access for the current panel session. Returns HTTP 204.
POST /api/v2/realtime/tickets
{
"station": 1,
"role": "ptt",
"connection": "audio"
}
The ticket response is for opening a connection to the station’s realtime service. Ticket issuance depends on the role being enabled, station settings , and the caller’s permissions. Listener chat uses the listener ticket endpoint instead.
Example settings request
The panel settings accept who_can_call as anyone or registered. A value of zero for cooldown_min or max_call_min disables that limit. max_wait_min must be between 1 and 1440.
PUT /api/v2/calls/settings
{"station":1,"enabled":true,"who_can_call":"registered","max_wait_min":15}
Call status and log filters
| Field or parameter | Meaning |
|---|---|
state |
ok means calling is available, offline means it is unavailable for this caller. |
status, outcome |
pending admission in progress, queued waiting for host, accepted answered, ended closed. The outcome query accepts one of these states or an exact end_reason from a log row. |
registered |
1, true, or yes for accounts; 0, false, or no for guests. An omitted or empty value includes both. |
date, limit, offset |
Log date in YYYY-MM-DD, result count (50 by default, at most 200), and number of rows to skip (0 starts at the first row), respectively. |
browser_id, name, intro |
Browser identifier of 1–64 characters, guest name up to 40 characters, and optional introduction up to 140 characters. Signed-in callers use their account display name. |
In the examples, station: 1 selects station ID 1 and max_wait_min: 15 limits the wait to 15 minutes. messaging requests a control or chat connection. audio requests an audio connection. Panel roles are ptt for push-to-talk, call_host for the call host, and chat_staff for chat staff.