Docs
REST API v1

REST API v1

Manage rooms, participants, usage and webhooks over HTTP.

Base URL

Use the API URL configured for your RelayRTC deployment, with the /v1 prefix. Local development uses http://localhost:8082/v1.

The examples use RELAYRTC_API_URL for that base and RELAYRTC_SECRET_KEY for your secret key.

Shell
curl "$RELAYRTC_API_URL/" \
  -H "Authorization: Bearer $RELAYRTC_SECRET_KEY"

Authentication

Pass a bearer API key on every request. Management endpoints require a secret key and the documented scope.

See authentication for scopes and environment boundaries.

Resources

ResourceOperations
RoomsCreate, list, read, end and inspect runtime cleanup.
Participant tokensIssue a token to join one room.
ParticipantsList, read, remove and inspect cleanup.
TURN credentialsIssue temporary ICE relay credentials.
UsageRead all usage or one category.
WebhooksConfigure receivers, rotate secrets, inspect deliveries and replay.
ReportingRead project reports, analytics and console organization reports.

Request and response bodies

Use Content-Type: application/json for JSON writes. Successful objects are returned directly, without a data wrapper.

Cursor lists return nodes and pageInfo. Webhook lists use offset pagination. A 204 response has no JSON body.

Unknown fields are rejected by strict request schemas.

Example IDs, dates and credentials are illustrative. Use resource IDs and secrets returned by your deployment.

Transport

This reference documents HTTP endpoints. Joining a live room, sending in-room messages and transferring audio/video use the browser SDK and signaling service.

Version and request headers

Responses include x-relayrtc-api-version: v1 and x-request-id. Include the request ID when investigating an error.