Listener authentication

Use the session token from login in Authorization: Bearer <listener_token>. The listener token is distinct from the panel JWT , the streaming access token , and the API key . The paths below have no trailing slash.

Endpoint /api/v2/listeners/challenge
HTTP methods GET
Authentication Public

Pass purpose as register, resend, or reset. Omit it for a general-purpose challenge. Returns a signed, single-use ALTCHA challenge. Submit the solved payload as altcha.

Endpoint /api/v2/listeners/register
HTTP methods POST
Authentication Public

Send email, display_name, password, challenge and solution , and optional language. Returns HTTP 202 with status: pending_confirmation, or a session and profile when registration immediately verifies the account.

Endpoint /api/v2/listeners/resend-confirmation
HTTP methods POST
Authentication Public

Send email and the corresponding challenge and solution . Returns HTTP 202 with status: accepted.

Endpoint /api/v2/listeners/confirm
HTTP methods POST
Authentication Public

Send email confirmation token in the body or query. Returns {"status":"confirmed"}.

Endpoint /api/v2/listeners/login
HTTP methods POST
Authentication Public

Send email and password. Returns token and account or HTTP 401.

Endpoint /api/v2/listeners/logout
HTTP methods POST
Authentication Listener bearer token

Revoke the current listener session. Returns HTTP 204.

Endpoint /api/v2/listeners/password-reset
HTTP methods POST
Authentication Public

Send email and the reset challenge and solution . Returns HTTP 202 with status: accepted.

Endpoint /api/v2/listeners/password-reset/confirm
HTTP methods POST
Authentication Public

Send reset token and the new password. Returns {"status":"changed"}.

Endpoint /api/v2/listeners/password
HTTP methods POST
Authentication Listener bearer token

Send current_password and new_password with listener authorization. Returns a new token and account.

Endpoint /api/listeners/landing/confirm
HTTP methods GET, POST
Authentication Public

GET with token renders the confirmation form. POST with form token confirms the email. Both return HTML.

Endpoint /api/listeners/landing/reset
HTTP methods GET, POST
Authentication Public

GET with token renders the reset form. POST takes form token, password, and optional password_confirm. Both return HTML.

POST /api/v2/listeners/login
{
  "email": "listener@example.com",
  "password": "<listener password>"
}

The account profile includes id, email, display_name, language, email_verified, created_at, and last_seen_at. Listener endpoints use an error code in error responses and can return HTTP 429 with Retry-After when rate limited.

Profile, blocks, and messaging

Endpoint /api/v2/listeners/me
HTTP methods GET, PATCH
Authentication Listener bearer token

Read the current profile. PATCH accepts display_name, language, or both. Returns the updated profile.

Endpoint /api/v2/listeners/me/delete
HTTP methods POST
Authentication Listener bearer token

Send password to delete the current listener account. Returns HTTP 204.

Endpoint /api/v2/listeners/me/export
HTTP methods GET
Authentication Listener bearer token

Download the listener’s account data as ZIP.

Endpoint /api/v2/listeners/blocks
HTTP methods GET, POST, DELETE
Authentication Listener bearer token

GET returns blocks. POST with JSON account blocks that listener and returns the block. DELETE with query account removes the block and returns HTTP 204.

Endpoint /api/v2/listeners/realtime/ticket
HTTP methods POST
Authentication Listener bearer token

Send station for a chat connection . HTTP 201 returns ticket and expires_in (30 seconds).

Listener parameter values

Challenge purpose is register for account creation, resend for another confirmation email, or reset for password reset. Omitting it requests a general challenge. email_verified is true for a confirmed email and false otherwise. account in a block request identifies the other listener. station in a ticket request identifies the station that the ticket grants access to.

Profile and challenge limits

display_name is the visible listener name, with 3–32 characters after trimming spaces. email is the address used for sign-in and confirmation. password is at least 8 characters and must pass strength checks. language is a locale tag of at most 16 characters and defaults to en (English). Where a translation is missing, the server uses English.

altcha contains the solved challenge. The challenge expires after 10 minutes. The messaging ticket is a separate temporary credential and expires_in gives its lifetime in seconds.