LevelChatDocs
Docs
LevelChat Gateway API

LevelChat Gateway API

LevelChat Gateway API

v0.1.0

All requests are authenticated with a project API key (`lc_pk_*`). All mutating endpoints honor `Idempotency-Key`. Errors follow RFC 7807. See `docs/architecture/05-api-surface.md` for the full surface description.

Servers

  • {apiBase}Configurable base. Defaults to the managed cloud.

Operations

  • get/healthz

    Liveness probe

    health
  • get/readyz

    Readiness probe (checks Postgres, Redis, NATS)

    health
  • post/v1/rooms

    Create a room

    rooms
  • get/v1/rooms

    List rooms (paginated)

    rooms
  • get/v1/rooms/{roomId}

    Fetch a room

    rooms
  • delete/v1/rooms/{roomId}

    End a room (kicks all participants)

    rooms
  • post/v1/rooms/{roomId}/tokens

    Mint a short-lived room JWT for a participant

    tokens
  • post/v1/rooms/{roomId}/recording/start

    Start recording

    recordings
  • get/v1/recordings

    List recordings (paginated)

    recordings
  • get/v1/recordings/{recordingId}

    Fetch a recording

    recordings
  • post/v1/recordings/{recordingId}/stop

    Stop a recording

    recordings
  • get/v1/webhooks

    List webhook endpoints for the calling project

    webhooks
  • post/v1/webhooks

    Register a webhook endpoint

    webhooks