CodeB Signaling API

The signaling API from CodeB — 5 operation(s) for signaling.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 5

GET /signal.ashx?room-info= Read the shape of a room (existence, mode, peer count, lock state) without… #
POST /signal.ashx?room-create Mint a fresh room code (or accept a caller-supplied one) plus, optionally, a… #
POST /signal.ashx?invite-mint Mint an invite JWS for an existing room. #
GET /signal.ashx?turn-creds Fresh ICE server list (STUN + TURN with HMAC-SHA1 REST credentials) outside a… #
GET /signal.ashx?attest-verify&t= Verify an identity-attest JWS minted by the identity-attest WS frame. #

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/codeb:codeb-signaling-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

codeb-signaling-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CodeB Sovereign Communications — Public Signaling API
  version: 2026-10-13 csc-rqes
  summary: REST + WebSocket + OpenID Connect + OpenID4VP + OpenID4VCI + LOTL + Federation + SIP-over-WebSocket surface, all multi-tenant by Host header. Aloaha-owned, built from scratch, hosted in Malta.
  description: 'This spec covers every publicly reachable endpoint exposed by the CodeB Sovereign Communications platform: the OIDC provider + EU Wallet verifier (oidc.ashx), the OpenID4VCI issuer (vci.ashx), the LOTL trust-anchor cache (lotl.ashx), the RP-certificate CA (rp-cert.ashx), the chat + file-transfer platform (chat.ashx + chat-ws.ashx + chat-invite/widget/email .ashx), the property-management inbox (pms.ashx), the per-tenant admin surface (signal.ashx), the v1 REST outbound-AI + numbers + transcripts (api.ashx/v1), the bridge health passthroughs (/sip-tls/health, /sip-ws/health, /sfu/health), and remote signing for EU Digital Identity Wallets (CSC v2 profile /rqes/csc/v2, also answered at /csc/rqes/v2, on csc.ashx + its OAuth 2.0 server csc-oauth.ashx). Every endpoint is tenant-scoped by the Host header; there is no cross-tenant data access. Import this file into Postman, Insomnia, Swagger UI or any OpenAPI-3-compatible tool to explore the surface. Machine-generated clients welcome. Authentication: `oidc-bearer` = an OIDC access-token minted by /oauth2/v1/token; `hmac-admin` = X-CodeB-Admin-Signature header = hex(HMAC-SHA256(WebPhone:AdminSharedSecret, bucketName + ''|'' + Host)). Many admin endpoints accept EITHER bearer OR HMAC.'
  contact:
    name: Aloaha Limited
    url: https://www.aloaha.com/contact.html
  license:
    name: Proprietary — Aloaha Limited
    url: https://www.aloaha.com/legal.html
  termsOfService: https://www.aloaha.com/legal.html
servers:
- url: https://phone.aloaha.com
  description: Primary production tenant
- url: https://phone.codeb.io
  description: Development / conformance tenant
- url: https://{tenant}
  description: Any tenant domain — replace {tenant} with your provisioned host
  variables:
    tenant:
      default: phone.aloaha.com
security: []
tags:
- name: signaling
paths:
  /signal.ashx?room-info=<code>:
    get:
      tags:
      - signaling
      operationId: signalRoomInfo
      summary: Read the shape of a room (existence, mode, peer count, lock state) without…
      description: Added 2026-09-28. Used by native clients to check whether a room is active before opening a WebSocket. No PII.
      parameters:
      - name: room-info
        in: query
        required: true
        schema:
          type: string
          pattern: ^[A-Za-z0-9._-]{1,128}$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  exists:
                    type: boolean
                  mode:
                    type: string
                    enum:
                    - mesh
                    - sfu
                  peerCount:
                    type: integer
                  locked:
                    type: boolean
                  controlLocked:
                    type: boolean
  /signal.ashx?room-create:
    post:
      tags:
      - signaling
      operationId: signalRoomCreate
      summary: Mint a fresh room code (or accept a caller-supplied one) plus, optionally, a…
      description: 'Added 2026-09-28. Auth: OIDC bearer or ak_ API key.'
      security:
      - oidcBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                code:
                  type: string
                  pattern: ^[A-Za-z0-9._-]{1,128}$
                mintInvite:
                  type: boolean
                  default: false
                inviteExpMin:
                  type: integer
                  minimum: 1
                  maximum: 1440
                  default: 60
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: string
                  invite:
                    type:
                    - string
                    - 'null'
                  join:
                    type: string
                    format: uri
        '401':
          description: Bearer required
        '405':
          description: POST required
  /signal.ashx?invite-mint:
    post:
      tags:
      - signaling
      operationId: signalInviteMint
      summary: Mint an invite JWS for an existing room.
      description: Added 2026-09-28. Present the returned JWS as ?tok= on the WS URL.
      security:
      - oidcBearer: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - room
              properties:
                room:
                  type: string
                  pattern: ^[A-Za-z0-9._-]{1,128}$
                sub:
                  type: string
                expMin:
                  type: integer
                  minimum: 1
                  maximum: 1440
                  default: 60
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  invite:
                    type: string
                  expiresUtc:
                    type: string
                    format: date-time
                  room:
                    type: string
        '503':
          description: No signing secret configured on tenant
  /signal.ashx?turn-creds:
    get:
      tags:
      - signaling
      operationId: signalTurnCreds
      summary: Fresh ICE server list (STUN + TURN with HMAC-SHA1 REST credentials) outside a…
      description: Added 2026-09-28. Same shape as welcome.iceServers. TTL is WebPhone:TurnTtlSec (default 3600 s).
      parameters:
      - name: peerId
        in: query
        required: false
        schema:
          type: string
          pattern: ^[a-f0-9]{12}$
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  iceServers:
                    type: array
                    items:
                      type: object
                  expiresIn:
                    type: integer
                  peerId:
                    type: string
  /signal.ashx?attest-verify&t=<jws>:
    get:
      tags:
      - signaling
      operationId: signalAttestVerify
      summary: Verify an identity-attest JWS minted by the identity-attest WS frame.
      description: Added 2026-09-28. Used by consent dialogs that prefer server-side verification over local HMAC.
      parameters:
      - name: t
        in: query
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  payload:
                    type: object
                  error:
                    type: string
components:
  securitySchemes:
    cscServiceToken:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: CSC v2 service access token (scope=service) from POST /csc/rqes/oauth2/token. Valid 1 hour. Lists and describes the signed-in user's signing credential.
    cscCredentialToken:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: CSC v2 credential access token (scope=credential) from POST /csc/rqes/oauth2/token. Bound to one credentialID and to exactly the document hashes the user confirmed; valid 5 minutes and for numSignatures signatures in total. Replaces the SAD on signatures/signHash.
    cscClientBasic:
      type: http
      scheme: basic
      description: OAuth client authentication (client_secret_basic). client_secret_post (client_id + client_secret form fields) is accepted as well. Clients are registered per tenant by the operator.
    oidcBearer:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: OIDC access token minted by /oauth2/v1/token. Tenant-scoped by Host header. Also accepts ak_-prefixed personal API keys on the v1 REST surface.
    hmacAdmin:
      type: apiKey
      in: header
      name: X-CodeB-Admin-Signature
      description: Hex(HMAC-SHA256(WebPhone:AdminSharedSecret, bucketName + '|' + Host)). Bucket name is documented per-endpoint. This scheme is designed for machine-to-machine admin automation (CI, cron, back-office scripts) where OIDC bearer flow isn't practical.
    credentialAccessToken:
      type: http
      scheme: bearer
      bearerFormat: opaque
      description: OAuth 2.0 access token minted by /vci.ashx?token via pre-authorized_code grant. Used only on POST /vci.ashx?credential.