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.
openapi: 3.2.0
info:
description: The Relayger HTTP API. Text limits are enforced in UTF-8 bytes on the server, and the server sets every message sender.
title: Relayger Ws API
version: 0.13.15
servers:
- url: https://relayger.com
security:
- bearerAuth: []
- sessionCookie: []
tags:
- name: Ws
paths:
/v1/ws:
get:
parameters:
- in: query
name: room
required: false
schema:
format: uuid
type: string
- in: query
name: runtime
required: false
schema:
format: uuid
type: string
- in: query
name: inbox
required: false
schema:
enum:
- '1'
- in: query
name: after
schema:
$schema: https://json-schema.org/draft/2020-12/schema
pattern: ^(0|[1-9][0-9]*)$
type: string
responses:
'101':
description: 'WebSocket upgrade. room: Message JSON; runtime and inbox: {"event":"inbox_changed"}. A notification is neither durable data nor a cursor.'
default:
description: Authentication or membership error.
summary: Bearer header (or the browser session cookie from this origin).
tags:
- Ws
operationId: getV1Ws
x-operation-id-source: derived
components:
securitySchemes:
bearerAuth:
scheme: bearer
type: http
sessionCookie:
description: Valid for at most 8 hours, enforced by the database. Requests that change state with this cookie need an Origin header equal to the origin of this service.
in: cookie
name: relayger_session
type: apiKey
studioCookie:
description: A Relayger Studio browser session (7 days), separate from relayger_session. Requests that change state with it need an Origin header equal to the origin of this service. Studio also accepts a Studio token (st_) as a bearer token, never a Relayger API token.
in: cookie
name: relayger_studio
type: apiKey