Meetings and Calls API

Meetings are created as <code>meeting</code> rooms through the <a href="/support/api/chat">Chat API</a>. This page covers the media and guest-access routes you use once a meeting room exists.

01

Before you start

Paths are given in full, starting /apis/v1, unless a table says otherwise. Unless a route is marked as a public invite route, send a Ration bearer token (see Authentication):

Authorization: Bearer <ration_access_token>
Accept: application/json

Meeting and call features need the Collaboration feature on the caller’s tenant.

02

Create or retrieve the media room

POST /apis/v1/call/rooms creates the media room for a meeting, or reuses the one it already has.

{ "chat_room_id": "meeting-room-id" }
Request fieldTypeRequiredDescription
chat_room_idStringYesExisting Ration chat or meeting room ID.

03

Media room response

The response returns room_id and a transport payload.

Response fieldTypeDescription
room_idStringMedia room identifier. Keep it for minting tokens.
transportStringration_realtime for Ration’s current managed media transport.
mediaObjectMedia credentials, described below.
media.endpointStringMedia endpoint.
media.access_tokenStringShort-lived media access credential.
media.ice_serversArraySTUN/TURN relay configuration.

04

Mint a meeting token

GET|POST /apis/v1/call/tokens/:room_id/mint. The caller must be allowed to join the call. The server works out the role and media permissions from the meeting and the caller, so don’t try to send them in the request.

NameInTypeRequiredDescription
room_idPathStringYesMedia room ID returned by POST /call/rooms.
hd_video, hdQuery or bodyBooleanNoRequest HD video when the tenant is entitled to it. Otherwise the response uses sd.
video_qualityQuery or bodyStringNohd, high, true or 1 also request HD video.

05

Media transport response

  • For Ration’s control-channel transport, the response has room_id, transport, protocol and control_token.
  • 401 unauthorized: user context is missing.
  • 403 call_not_ready: the caller can’t join.
  • 409 room_full: the participant limit was reached.
  • 500 token_mint_failed: credentials couldn’t be generated.
FieldTypeDescription
room_idStringMedia room ID.
transportStringration_realtime.
protocolStringControl-channel protocol (call.v1).
control_tokenStringCredential for the meeting control channel.
media.endpointStringMedia endpoint.
media.access_tokenStringShort-lived media access credential.
media.ice_serversArraySTUN/TURN server configuration.
media.video_profileStringsd by default, or hd when explicitly requested and entitled.

06

List live meetings

GET /apis/v1/meetings/live returns { "live": { "<chat_room_id>": <participant_count> } }. A room that isn’t in live isn’t active right now.

07

List recordings for a meeting

GET /apis/v1/chat/rooms/:id/recordings. The caller must belong to the room.

Response fieldTypeDescription
recordingsArrayRecording metadata.
recordings[].recording_idStringRecording identifier.
recordings[].statusStringCurrent lifecycle status.
recordings[].started_at, completed_atString or nullLifecycle timestamps.
recordings[].duration_seconds, size_bytesNumber or nullDuration and size when known.
recordings[].availableBooleantrue only once the recording is finalised and available.

08

List your meeting recordings

GET /apis/v1/meetings/recordings returns { "recordings": [...] } across the meeting rooms the caller can see. Each entry includes recording_id, room_id, meeting_name, status, started_at, duration_seconds and available.

09

Manage guest invites

These authenticated routes create and manage guest access. Send meeting context (chat_room_id) or call context (call_id), as each operation needs.

MethodPathRequestResponse
POST/apis/v1/call/external_invitesGuest details plus chat_room_id or call_id.Invite with invite_url and invite_token.
POST/apis/v1/chat/rooms/:id/external_invitesGuest details for that room.Invite with invite_url and invite_token.
GET/apis/v1/chat/rooms/:id/external_invites/chat_linkOptional external_party_id, reinitiate.Existing or reinitiated guest link.
GET/apis/v1/chat/rooms/:id/external_invites/approvalsNone.{ "requests": [...] }.
POST/apis/v1/chat/rooms/:id/external_invites/approvals/:request_idaction (or decision), optional reason, revoke.{ "request": {...} }.
POST/apis/v1/chat/rooms/:id/external_invites/domain_requestguest_email (or email).{ "domain": "…", "status": "…" }.
POST/apis/v1/call/:call_id/external/lockRequired locked Boolean.{ "call_id": "…", "locked": Boolean }.
POST/apis/v1/call/:call_id/external/participants/:guest_id/removeOptional reason.{ "call_id": "…", "guest_id": "…", "removed": true }.

Invite creation accepts guest identity fields such as guest_email, email, guest_name and name. Share the returned invite_url. When you give a guest email, Ration may also send the invitation email. The server enforces creator, member and room-type policy.

10

Public invite routes

These routes do not use a Ration bearer token. Access is controlled by the unguessable invite_token, short-lived session credentials, OTP verification, rate limits and server-side room policy. Paths in this table are relative to /apis/v1/call/external.

  • OTP and claim attempts are rate-limited. 429 means you hit the limit.
  • Common refusals are 403 invite_expired, invite_revoked, otp_required or approval_required.
MethodPathRequestSuccessful response
GET/:invite_token/statusNone.Current safe invite status.
POST/:invite_token/otpNone.{ "status": "sent", "masked_email": "…", "expires_at": "…" }.
POST/:invite_token/claimdisplay_name/name; OTP as verification_code, verificationCode, otp or code.Guest claim and session data.
POST/:invite_token/call_sessionGuest chat token, optional OTP field and call_id; optional step_up.Call session data.

Never write a returned session or media token to logs.

11

Mint a guest media session

POST /apis/v1/call/external/session/mint

{ "session_token": "guest-session-token" }
Response fieldTypeDescription
transportStringration_realtime.
media.endpoint, media.access_tokenStringGuest media credentials.
media.ice_serversArraySTUN/TURN configuration.
media.video_profileStringSelected media profile.
room_name, guest_id, call_idStringGuest call context.

12

Public livestream guests

POST /apis/v1/call/external/:invite_token/livestream_join. display_name (or name) is required.

{ "display_name": "Guest", "email": "guest@example.com" }

A successful response returns receive-only media credentials, room_name, guest_id, call_id, leave_token, session_token and chat_room_id.

13

Unlock livestream chat and ask-to-speak

Request an emailed OTP, then verify it. Paths are relative to /apis/v1/call/external. The verify response is shown after the steps.

  1. POST /:invite_token/livestream_verify/request with session_token.
  2. POST /:invite_token/livestream_verify with session_token and code (or otp).
{ "status": "verified", "chat_token": "…", "chat_room_id": "…", "guest_id": "…", "guest_name": "…" }

When the guest leaves, POST /apis/v1/call/external/session/leave with leave_token and an optional reason. Ration records the departure and returns { "status": "ok" }.

14

Errors

StatusMeaning
401An authenticated meeting route has no valid caller context.
403The caller or guest isn’t allowed, the call isn’t ready, an invite has expired or been revoked, or an approval or step-up check is needed.
404Call, room, guest, invite or approval request not found.
409Call capacity reached, or an approval was already decided.
422Missing or invalid fields, or the operation can’t be applied to the current call or room state.
429OTP, claim or session-mint rate limit reached.
Next guideCalendar API →

Last reviewed 27 November 2026.

Still stuck?

Chat with our support team. Tell us what you were doing and what you saw, and a person will pick it up. You can also email support@ration.works.

Buying or moving to Ration?

For plans, migration or an on-premise deployment, talk to our sales team.