Skip to main content
Languages: every operation supports cURL, Node.js (TypeScript), Python, Go, Ruby, and PHP. The first 15 operations on this page show all six languages; the remaining 153 show cURL and TypeScript — the two most-used.

Video API

Video endpoints exposed by the Devotel CPaaS API Base path: /api/v1/video Endpoint count: 168

Worked video room samples

The chain a video integration runs end to end: create a scheduled room, mint a participant access token, list the live participants once the room is open, and read the session record (recording) after the room ends. Every request carries your API key (X-API-Key) against https://api.orbit.devotel.io. Successful responses return { data, meta }; failures return Devotel Orbit’s { error, meta } shape — one handler covers both.

1. Create the room

POST /api/v1/video/rooms-scheduled
Creates a scheduled video room. name is 1–200 characters; setting scheduled_at to a future ISO 8601 time parks the room in scheduled status until first join; omit it to go live now. Gate a live or scheduled room behind recurrence, captions, recording, and a per-tier participant cap — inspect the full body in the operation list above. Request
room_id is the UUID you pass to the join (token-mint) and lifecycle calls — persist it. host_token is a LiveKit access JWT for the creator’s own first join; ws_url is the SFU WebSocket endpoint the client SDK connects to (those two are the join URLs — there is no separate url to construct). Egress ids and the storage descriptor populate only when you create the room with recording enabled; null here means recording was not started on create. If scheduled_at was in the future the room stays scheduled until the first participant joins; if it was omitted the room is live now, so composite_egress_id would carry a real id when recording_enabled: true. Cap violations return 400 VIDEO_PARTICIPANTS_CAP_EXCEEDED before any of this happens.

2. Mint the participant token

POST /api/v1/video/rooms-scheduled/{id}/join
One call per participant. identity is who the token is minted for (defaults to your own user id); role is host or participant; participant_tier (viewer / panelist / host / hidden_supervisor) overrides the role-derived grant. Minting under another user’s identity additionally requires an impersonation_reason and the owner or admin role. Request
Feed token and ws_url to a LiveKit client SDK — the JWT is not an HTTP bearer. expires_at / expires_in_seconds tell your client when to re-mint before the leg drops mid-session. participant_tier and permissions reflect the EFFECTIVE grant: an armed waiting-room lobby downgrades the token to receive-only (lobby_downgraded: true), and the participant/host role downgrade also narrows what the tier schema accepts. See guides/video-room-access-tokens for the token-claim semantics end to end.

3. Read participants and the session record

List the live roster once the room is open, then pull the ended session to read its recording.
GET /api/v1/video/rooms-scheduled/{id}
Returns room (the scheduled-room row, with settings.ingresses stripped for non-admin callers) plus the current participants list.
After the room ends, one session row per ended room carries the recording:
GET /api/v1/video/sessions/{id}
recording_url is a time-limited signed HTTPS URL ready for a <video> element or download; recording_url_expires_at is when to re-fetch the session rather than re-signing the URL yourself. A session whose recording has not finalized yet returns recording_url: null. recording_id is the unified-recordings primary key you use with the Recordings API to mint a guest share link. Poll until it appears, or listen for the video.recording.completed webhook event.

4. Errors

Failures answer { error, meta }. error carries code, status, and message; meta.request_id + timestamp mirror every request. 404 — room expired or unknown. Fetching (GET /rooms-scheduled/{id}) or minting against a room past its expiry hits NOT_FOUND before any SFU work runs. Expiry is the max_duration_minutes TTL you set on create (or the platform default on the room row), so re-create the room rather than retrying the token call.
404
429 — concurrent-room cap. A tenant’s concurrent-room cap throttles bursts of room-creation (POST /rooms-scheduled) and token-mint (POST /:id/join) calls. The two write calls are rate-limited per tenant; the fix is to drain ended rooms (list /sessions and skip live ones) before opening more, not to retry the same POST in a loop.
429
Two more envelope codes worth special-casing before the generic handler: 403 PARTICIPANT_TIER_NOT_PERMITTED (the caller’s role cannot mint the requested participant_tier) and 403 IMPERSONATION_NOT_PERMITTED / 400 IMPERSONATION_REASON_REQUIRED on the token-mint path — both mean re-minting without changing the request will fail again the same way. For the embedded-UI version of this same chain (the operator-facing Meetings dashboard that posts to these same endpoints), see guides/video-meetings. For token claims, scopes, and the lobby-downgrade semantics in depth, see guides/video-room-access-tokens.

Worked sequences

Multi-call chains in the order an integration actually runs them, with the typed SDK shown alongside the raw HTTP. Every step reuses the id the previous step returned, so the chain reads as one program.

Sequence 1 — Host a guest session: create room, mint a guest invite, share the join URL

The host flows through the scheduled-room surface from sample 1; the guest invite is the shareable half of the same room.
The invite response carries the guest’s LiveKit grant and the shareable URL:
201
guest_url is what you send the guest — a browser join page, not a raw token; the guest never handles guest_token directly. ttl_minutes sets expires_at; a redeemed invite flips to joined, an unused one to expired. GET /rooms-scheduled/{id}/invites lists a room’s invites with the same fields. The TypeScript override above is exactly the chain from the Node SDK reference (sdks/node).

Sequence 2 — Close out and download the recording: end room, fetch the session, download the signed URL

The session read is the GET /api/v1/video/sessions/{id} sample from section 3: recording_url signs for one hour, and recording_url_expires_at tells you when to re-fetch the session rather than re-signing the URL yourself. Downloading is a plain GET of that URL:
Download

Sequence 3 — Clean up invites: list, then revoke the unused ones

Revoking an unused invite bars that guest_url from future joins; an already-joined guest keeps the session (remove them with the moderation endpoints instead). Revoking a non-existent invite answers 404 NOT_FOUND with the standard envelope from section 4.

Per-op error envelopes for these sequences

The generic { error, meta } shape from section 4, specialized per step. 404 — unknown room. Any step that names a room id this tenant does not own — token mint, invite create or list, end — resolves to the same envelope the read path returns:
404
409 — room already ended. End is the only terminal transition: ending an ended room, or minting an invite against one, is a conflict, not a retry-able failure — re-run sequence 1 to open a fresh room instead:
409
422 — invite limit reached. A room caps its open invites; past the cap the create-invite step of sequence 1 answers 422 with the current count, so you can revoke or expire stale invites (sequence 3) and retry:
422

List avatar-agents

GET /api/v1/video/avatar-agents

List join-plan

GET /api/v1/video/avatar-agents/{id}/join-plan
string
required
—

List avatar-video-renders

GET /api/v1/video/avatar-video-renders

Get avatar-video-renders

GET /api/v1/video/avatar-video-renders/{id}
string
required
—

List background-library

GET /api/v1/video/background-library

List languages

GET /api/v1/video/broadcast-captions/{name}/languages
string
required
—

List subtitles.vtt

GET /api/v1/video/broadcast-captions/{name}/subtitles.vtt
string
required
—

Get broadcast-viewership

GET /api/v1/video/broadcast-viewership/{name}
string
required
—

List report

GET /api/v1/video/broadcast-viewership/{name}/report
string
required
—

List capabilities

GET /api/v1/video/captions/capabilities

Get connection-quality

GET /api/v1/video/connection-quality/{name}
string
required
—

List stats

GET /api/v1/video/connection-quality/{name}/participants/{identity}/stats
string
required
—
string
required
—

List report

GET /api/v1/video/connection-quality/{name}/report
string
required
—

Get media-diagnostics

GET /api/v1/video/media-diagnostics/{name}
string
required
—

List pre-meeting-briefing

GET /api/v1/video/pre-meeting-briefing

List preflight

Need this flow in Python, Go, Ruby, or PHP? The Worked sequences section renders this surface’s hero flows in the full six-language group.
GET /api/v1/video/preflight

Recording chapter analytics

GET /api/v1/video/recordings/chapter-analytics
Recurring chapter themes across the calling tenant’s video-room recordings in a date window (default last 30 days), with occurrence count, average chapter duration and distinct recordings per theme (top 50 by occurrences). The status block reports whether auto-chapters is enabled and how many recordings in the window are chaptered, still processing, or unavailable (stuck for more than 6 hours or failed), so an empty theme list can be explained. Read-only; scoped on video:read (or video:write as a superset).
string
Window start (ISO 8601 date-time), applied to recording start. Defaults to 30 days before to.
string
Window end (ISO 8601 date-time). Defaults to now.

List room-templates

GET /api/v1/video/room-templates

Get room-templates

GET /api/v1/video/room-templates/{id}
string
required
—

List rooms

GET /api/v1/video/rooms

Room usage analytics

GET /api/v1/video/rooms-analytics/usage
Aggregate video room usage + engagement for the calling tenant over a date window (default last 30 days): total sessions, room-minutes, average/peak concurrent participants, recording success rate, and the never-joined unused_rooms bucket (idle cleanup — NOT a failure). Returns an org-wide summary plus a per-UTC-day daily time series for sessions-over-time charts. Read-only; scoped on video:read (or video:write as a superset).
string
Window start (ISO 8601 date-time). Defaults to 30 days before to.
string
Window end (ISO 8601 date-time). Defaults to now.

List rooms-scheduled

GET /api/v1/video/rooms-scheduled

Get rooms-scheduled

GET /api/v1/video/rooms-scheduled/{id}
string
required
—

List activity

GET /api/v1/video/rooms-scheduled/{id}/activity
string
required
—

List bans

GET /api/v1/video/rooms-scheduled/{id}/bans
string
required
—

List chat

GET /api/v1/video/rooms-scheduled/{id}/chat
string
required
—

List dial-in

GET /api/v1/video/rooms-scheduled/{id}/dial-in
string
required
—

List hand-queue

GET /api/v1/video/rooms-scheduled/{id}/hand-queue
string
required
—

List ingress

GET /api/v1/video/rooms-scheduled/{id}/ingress
string
required
—

List invites

GET /api/v1/video/rooms-scheduled/{id}/invites
string
required
—

List livestream

GET /api/v1/video/rooms-scheduled/{id}/livestream
string
required
—

List dvr

GET /api/v1/video/rooms-scheduled/{id}/livestream/dvr
string
required
—

List roles

GET /api/v1/video/rooms-scheduled/{id}/participants/roles
string
required
—

List recording

GET /api/v1/video/rooms-scheduled/{id}/recording
string
required
—

List recording-consents

GET /api/v1/video/rooms-scheduled/{id}/recording-consents
string
required
—

List exclusions

GET /api/v1/video/rooms-scheduled/{id}/recording/exclusions
string
required
—

List redirect

GET /api/v1/video/rooms-scheduled/{id}/recording/redirect
string
required
—

List registration

GET /api/v1/video/rooms-scheduled/{id}/registration
string
required
—

List room-system

GET /api/v1/video/rooms-scheduled/{id}/room-system
string
required
—

List simulive

GET /api/v1/video/rooms-scheduled/{id}/simulive
string
required
—

List playout

GET /api/v1/video/rooms-scheduled/{id}/simulive/playout
string
required
—

List speakers

GET /api/v1/video/rooms-scheduled/{id}/speakers
string
required
—

Read the SSO restriction policy and arming eligibility

GET /api/v1/video/rooms-scheduled/{id}/sso-policy
Returns the room’s persisted sso_required gate + allowed email domains, plus can_arm — whether the acting session is eligible to enable the restriction. Eligibility is evaluated with the same fail-closed idp-federation verdict the POST’s self-lockout guard applies, so the dashboard can disable the arming toggle instead of surfacing the guaranteed 409 after a click.
string
required
—

List transcripts

GET /api/v1/video/rooms-scheduled/{id}/transcripts
string
required
—

List export

GET /api/v1/video/rooms-scheduled/{id}/transcripts/export
string
required
—

List watch-together

GET /api/v1/video/rooms-scheduled/{id}/watch-together
string
required
—

List limits

GET /api/v1/video/rooms-scheduled/limits

Get rooms

GET /api/v1/video/rooms/{name}
string
required
—

List engagement

GET /api/v1/video/rooms/{name}/sessions/{sessionId}/engagement
string
required
—
string
required
Obtain from GET /api/v1/sessions on the page.

List media-metrics

GET /api/v1/video/rooms/{name}/sessions/{sessionId}/media-metrics
string
required
—
string
required
Obtain from GET /api/v1/sessions on the page.

List sessions

GET /api/v1/video/sessions

Get sessions

GET /api/v1/video/sessions/{id}
string
required
—

List qa-score

GET /api/v1/video/sessions/{id}/qa-score
string
required
—

List redirect

GET /api/v1/video/sessions/{id}/recording/redirect
string
required
—

Avatar-agents video

POST /api/v1/video/avatar-agents

Avatar-video-renders video

POST /api/v1/video/avatar-video-renders

Verify avatar-video-renders

POST /api/v1/video/avatar-video-renders/verify

Background-library video

POST /api/v1/video/background-library

Create cues

POST /api/v1/video/broadcast-captions/{name}/cues
string
required
—

Create heartbeat

POST /api/v1/video/broadcast-viewership/{name}/heartbeat
string
required
—

Create segment

POST /api/v1/video/captions/{name}/segment
string
required
—

Ephemeral-key captions

POST /api/v1/video/captions/ephemeral-key

Translate captions

POST /api/v1/video/captions/translate

Create connection-quality

POST /api/v1/video/connection-quality/{name}
string
required
—

Interpretation video

POST /api/v1/video/interpretation

Create redeem

POST /api/v1/video/invites/{inviteToken}/redeem
string
required
Obtain from GET /api/v1/invites on the page.

Create media-diagnostics

POST /api/v1/video/media-diagnostics/{name}
string
required
—

Room-templates video

POST /api/v1/video/room-templates

Create instantiate

POST /api/v1/video/room-templates/{id}/instantiate
string
required
—

Rooms video

POST /api/v1/video/rooms

Rooms-scheduled video

POST /api/v1/video/rooms-scheduled

Create ask

POST /api/v1/video/rooms-scheduled/{id}/ask
string
required
—

Create branding

POST /api/v1/video/rooms-scheduled/{id}/branding
string
required
—

Create breakouts

POST /api/v1/video/rooms-scheduled/{id}/breakouts
string
required
—

Create move

POST /api/v1/video/rooms-scheduled/{id}/breakouts/{childRoomId}/move/{identity}
string
required
—
string
required
—
string
required
—

Create broadcast

POST /api/v1/video/rooms-scheduled/{id}/broadcast
string
required
—

Create chat

POST /api/v1/video/rooms-scheduled/{id}/chat
string
required
—

Create chat-policy

POST /api/v1/video/rooms-scheduled/{id}/chat-policy
string
required
—

Clear chat

POST /api/v1/video/rooms-scheduled/{id}/chat/clear
string
required
—

Delete chat

POST /api/v1/video/rooms-scheduled/{id}/chat/delete
string
required
—

Create dial-out

POST /api/v1/video/rooms-scheduled/{id}/dial-out
string
required
—

Create dispatch-agent

POST /api/v1/video/rooms-scheduled/{id}/dispatch-agent
string
required
—

Dash egress

POST /api/v1/video/rooms-scheduled/{id}/egress/dash
string
required
—

Hls egress

POST /api/v1/video/rooms-scheduled/{id}/egress/hls
string
required
—

Participants egress

POST /api/v1/video/rooms-scheduled/{id}/egress/participants
string
required
—

Rtmp egress

POST /api/v1/video/rooms-scheduled/{id}/egress/rtmp
string
required
—

Stream egress

POST /api/v1/video/rooms-scheduled/{id}/egress/stream
string
required
—

Create end

POST /api/v1/video/rooms-scheduled/{id}/end
string
required
—

Create hand-lower

POST /api/v1/video/rooms-scheduled/{id}/hand-lower
string
required
—

Clear hand-queue

POST /api/v1/video/rooms-scheduled/{id}/hand-queue/clear
string
required
—

Create hand-raise

POST /api/v1/video/rooms-scheduled/{id}/hand-raise
string
required
—

Create ingress

POST /api/v1/video/rooms-scheduled/{id}/ingress
string
required
—

Create invites

POST /api/v1/video/rooms-scheduled/{id}/invites
string
required
—

Create join

POST /api/v1/video/rooms-scheduled/{id}/join
string
required
—

Create lock

POST /api/v1/video/rooms-scheduled/{id}/lock
string
required
—

Create media-fork

POST /api/v1/video/rooms-scheduled/{id}/media-fork
string
required
—

Create mute-all

POST /api/v1/video/rooms-scheduled/{id}/mute-all
string
required
—

Create ban

POST /api/v1/video/rooms-scheduled/{id}/participants/{identity}/ban
string
required
—
string
required
—

Create kick

POST /api/v1/video/rooms-scheduled/{id}/participants/{identity}/kick
string
required
—
string
required
—

Create mute

POST /api/v1/video/rooms-scheduled/{id}/participants/{identity}/mute
string
required
—
string
required
—

Create receive-control

POST /api/v1/video/rooms-scheduled/{id}/participants/{identity}/receive-control
string
required
—
string
required
—

POST /api/v1/video/rooms-scheduled/{id}/participants/{identity}/recording-consent
string
required
—
string
required
—

Create role

POST /api/v1/video/rooms-scheduled/{id}/participants/{identity}/role
string
required
—
string
required
—

Create tier

POST /api/v1/video/rooms-scheduled/{id}/participants/{identity}/tier
string
required
—
string
required
—

Create unmute

POST /api/v1/video/rooms-scheduled/{id}/participants/{identity}/unmute
string
required
—
string
required
—

Create polls

POST /api/v1/video/rooms-scheduled/{id}/polls
string
required
—

Close polls

POST /api/v1/video/rooms-scheduled/{id}/polls/close
string
required
—

Vote polls

POST /api/v1/video/rooms-scheduled/{id}/polls/vote
string
required
—

Create qa

POST /api/v1/video/rooms-scheduled/{id}/qa
string
required
—

Answer qa

POST /api/v1/video/rooms-scheduled/{id}/qa/answer
string
required
—

Create reactions

POST /api/v1/video/rooms-scheduled/{id}/reactions
string
required
—

Exclude-participant recording

POST /api/v1/video/rooms-scheduled/{id}/recording/exclude-participant
string
required
—

Pause recording

POST /api/v1/video/rooms-scheduled/{id}/recording/pause
string
required
—

Resume recording

POST /api/v1/video/rooms-scheduled/{id}/recording/resume
string
required
—

Start recording

POST /api/v1/video/rooms-scheduled/{id}/recording/start
string
required
—

Stop recording

POST /api/v1/video/rooms-scheduled/{id}/recording/stop
string
required
—

Unexclude-participant recording

POST /api/v1/video/rooms-scheduled/{id}/recording/unexclude-participant
string
required
—

Create registrants

POST /api/v1/video/rooms-scheduled/{id}/registrants
string
required
—

Create check-in

POST /api/v1/video/rooms-scheduled/{id}/registrants/{registrantId}/check-in
string
required
—
string
required
—

Cancel simulive

POST /api/v1/video/rooms-scheduled/{id}/simulive/cancel
string
required
—

Create spotlight

POST /api/v1/video/rooms-scheduled/{id}/spotlight
string
required
—

Create sso-policy

POST /api/v1/video/rooms-scheduled/{id}/sso-policy
string
required
—

Create waiting-room

POST /api/v1/video/rooms-scheduled/{id}/waiting-room
string
required
—

Create admit

POST /api/v1/video/rooms-scheduled/{id}/waiting-room/admit/{identity}
string
required
—
string
required
—

Create deny

POST /api/v1/video/rooms-scheduled/{id}/waiting-room/deny/{identity}
string
required
—
string
required
—

Control watch-together

POST /api/v1/video/rooms-scheduled/{id}/watch-together/control
string
required
—

Start watch-together

POST /api/v1/video/rooms-scheduled/{id}/watch-together/start
string
required
—

Stop watch-together

POST /api/v1/video/rooms-scheduled/{id}/watch-together/stop
string
required
—

Clear whiteboard

POST /api/v1/video/rooms-scheduled/{id}/whiteboard/clear
string
required
—

Close whiteboard

POST /api/v1/video/rooms-scheduled/{id}/whiteboard/close
string
required
—

Draw whiteboard

POST /api/v1/video/rooms-scheduled/{id}/whiteboard/draw
string
required
—

Open whiteboard

POST /api/v1/video/rooms-scheduled/{id}/whiteboard/open
string
required
—

Create chat

POST /api/v1/video/rooms/{id}/chat
string
required
—

Create engagement

POST /api/v1/video/rooms/{name}/sessions/{sessionId}/engagement
string
required
—
string
required
Obtain from GET /api/v1/sessions on the page.

Create media-metrics

POST /api/v1/video/rooms/{name}/sessions/{sessionId}/media-metrics
string
required
—
string
required
Obtain from GET /api/v1/sessions on the page.

Create token

POST /api/v1/video/rooms/{name}/token
string
required
—

Create qa-score

POST /api/v1/video/sessions/{id}/qa-score
string
required
—

Create summary

POST /api/v1/video/sessions/{id}/summary
string
required
—

Webhook video

POST /api/v1/video/webhook

Update pre-meeting-briefing

PUT /api/v1/video/pre-meeting-briefing

Update registration

PUT /api/v1/video/rooms-scheduled/{id}/registration
string
required
—

Update simulive

PUT /api/v1/video/rooms-scheduled/{id}/simulive
string
required
—

Patch avatar-agents

PATCH /api/v1/video/avatar-agents/{id}
string
required
—

Patch avatar-video-renders

PATCH /api/v1/video/avatar-video-renders/{id}
string
required
—

Patch background-library

PATCH /api/v1/video/background-library/{assetId}
string
required
—

Patch room-templates

PATCH /api/v1/video/room-templates/{id}
string
required
—

Patch rooms-scheduled

PATCH /api/v1/video/rooms-scheduled/{id}
string
required
—

Patch registrants

PATCH /api/v1/video/rooms-scheduled/{id}/registrants/{registrantId}
string
required
—
string
required
—

Patch transcripts

PATCH /api/v1/video/rooms-scheduled/{id}/transcripts/{transcriptId}
string
required
—
string
required
—

Delete avatar-agents

DELETE /api/v1/video/avatar-agents/{id}
string
required
—

Delete avatar-video-renders

DELETE /api/v1/video/avatar-video-renders/{id}
string
required
—

Delete background-library

DELETE /api/v1/video/background-library/{assetId}
string
required
—

Delete room-templates

DELETE /api/v1/video/room-templates/{id}
string
required
—

Delete branding

DELETE /api/v1/video/rooms-scheduled/{id}/branding
string
required
—

Delete chat

DELETE /api/v1/video/rooms-scheduled/{id}/chat
string
required
—

Delete dash

DELETE /api/v1/video/rooms-scheduled/{id}/egress/dash/{egressId}
string
required
—
string
required
—

Delete hls

DELETE /api/v1/video/rooms-scheduled/{id}/egress/hls/{egressId}
string
required
—
string
required
—

Delete participants

DELETE /api/v1/video/rooms-scheduled/{id}/egress/participants
string
required
—

Delete rtmp

DELETE /api/v1/video/rooms-scheduled/{id}/egress/rtmp/{egressId}
string
required
—
string
required
—

Delete stream

DELETE /api/v1/video/rooms-scheduled/{id}/egress/stream/{egressId}
string
required
—
string
required
—

Delete ingress

DELETE /api/v1/video/rooms-scheduled/{id}/ingress/{ingressId}
string
required
—
string
required
—

Delete invites

DELETE /api/v1/video/rooms-scheduled/{id}/invites/{inviteId}
string
required
—
string
required
—

Delete media-fork

DELETE /api/v1/video/rooms-scheduled/{id}/media-fork/{forkId}
string
required
—
string
required
—

Delete ban

DELETE /api/v1/video/rooms-scheduled/{id}/participants/{identity}/ban
string
required
—
string
required
—

Delete registrants

DELETE /api/v1/video/rooms-scheduled/{id}/registrants/{registrantId}
string
required
—
string
required
—

Delete spotlight

DELETE /api/v1/video/rooms-scheduled/{id}/spotlight
string
required
—

Delete transcripts

DELETE /api/v1/video/rooms-scheduled/{id}/transcripts
string
required
—

Delete rooms

DELETE /api/v1/video/rooms/{name}
string
required
—