Calls & Meetings — API (new)
Base URL: http://localhost:8765/api/v1 (local) · https://dev.api.nexgate.co/api/v1 (staging)
Media server: LiveKit ws://127.0.0.1:7880 (local) · wss://livekit.dev.nexgate.co (staging) — always take the
address from the answer (url), never hard-code it
Real time: Centrifugo (GET /realtime/connection, the same connection the live uses)
Short Description: Voice and video calls and meetings inside NexGate. Calls ring someone now (a person, a group chat, a shop). Meetings are rooms people join: now, from a link, or booked with invites, with a host, co-hosts, speakers and listeners, a waiting room, chat, polls, questions, reactions, a product shelf and gifts. This document explains how it works from zero (Part A), then documents every endpoint (Part B), the shared answer shapes (Part C), every real-time event and room message (Part D), the notifications (Part E) and every refusal code (Part F). It is written for the app developers (Android, iOS, web).
Hints:
- Every endpoint needs
Authorization: Bearer <access token>(a signed-in account). A link join is no exception: a person without an account can't be blocked or reached, so there are no guests. - The backend decides, the app draws. My meetings rows come with
buttons[], the join answer says which camera quality and which LiveKit switches to use (media), the group chat bar sayscanJoin. Never work these out on the phone. - The backend sends data, not sentences (times, counts, keys). The app writes the sentence in the user's language.
- A person is always an
accountIdwith a person card (accountId,name,userName,userProfileMedia). Old answers still carry a…Jidnext to it (initiatorJid): don't use it for new screens. - Refusals are HTTP 409 with a
codeindata. Branch ondata.code, never on the message. - The media never touches the backend. The phone talks to LiveKit with the token from this API; the backend only hands out tokens, keeps the rules and learns what happened from LiveKit (webhooks).
- A join token is for one room, one person, and lives 10 minutes. Ask for it when you are about to connect, not
when you draw a list. Reconnecting after a drop = ask again (
POST …/join). - Nothing is recorded. Meeting chat, polls, questions and reactions are kept while the meeting is on (24 h at most).
- Times are ISO 8601 with offset (
2026-11-28T20:00:00+03:00). - Replaces
calls_meetings_api_doc.mdat the repo root (v2.0, short reference + a summary of the revamp). What changed for the app, change by change:docs/changelog/frontend_changelog_2026-11-26_calls.md. - Work calls about a parcel (buyer ⇄ shop ⇄ rider) use the same call machinery but have their own rules and doc:
docs/team/api/(the team, terminal and shipper app docs).
Standard Response Format
All answers use the Globe Response Builder envelope.
Success Response Structure
{
"success": true,
"httpStatus": "OK",
"message": "Joined",
"action_time": "2026-11-27T10:30:45",
"data": { }
}
Error Response Structure
{
"success": false,
"httpStatus": "BAD_REQUEST",
"message": "Error description",
"action_time": "2026-11-27T10:30:45",
"data": "Error description"
}
Refusal Structure (409) — the one the app branches on
Every "no" the call and meeting rules give (busy, full, not invited, locked, waiting for the host…) is a 409 CONFLICT with a machine code:
{
"success": false,
"httpStatus": "CONFLICT",
"message": "That person is already on a call",
"action_time": "2026-11-27T10:30:45",
"data": {
"code": "BUSY",
"reason": "That person is already on a call",
"details": null
}
}
⚠️ v2.0 of this doc said a refusal has
success: trueand the code inmessage. That was wrong for months now:successisfalse, the code is indata.code,messageis a readable reason.
Standard Response Fields
| Field | Type | Description |
|---|---|---|
success |
boolean | true for success, false for errors and refusals |
httpStatus |
string | HTTP status name (OK, CONFLICT, NOT_FOUND…) |
message |
string | Human-readable message (never branch on it) |
action_time |
string | When the answer was made |
data |
object | The answer; for a refusal {code, reason, details} |
Standard Error Types (used by every endpoint below)
400 BAD_REQUEST: malformed body or parameter.401 UNAUTHORIZED: missing, invalid or expired token.403 FORBIDDEN: the account may not use this area at all (admin endpoints, the shop side of a shop call).404 NOT_FOUND: the call or meeting does not exist.409 CONFLICT: a rule said no. Readdata.code. Each endpoint lists its codes under Refusals; all of them are in Part F.422 UNPROCESSABLE_ENTITY: field validation failed (details per field).500 INTERNAL_SERVER_ERROR: unexpected; retry later.
HTTP Method Badge Standards
- GET - GET - Green (read)
- POST - POST - Blue (create / act)
- PUT - PUT - Yellow (set / switch)
- PATCH - PATCH - Orange (change part)
- DELETE - DELETE - Red (remove)
Part A — How calls and meetings work (start here)
A1. The pieces
Four systems take part. The phone talks to each for one job only:
┌──────────────────────────────────────────────────┐
│ NexGate backend (this API) │
│ rules · who may call · invites · roles · tokens │
└───┬──────────────┬───────────────────▲───────────┘
REST (this doc) │ │ events │ webhooks: "Juma joined",
┌────────────────────┘ │ (ring, admitted…) │ "the room is empty"
│ ▼ │
│ ┌──────────────────┐ │
│ │ Centrifugo │ │
│ │ personal channel │ │
│ └────────┬─────────┘ │
│ ┄┄┄┄┄┄┄┄┄┄┄┄┄┄┼┄┄┄┄┄┄┄ websocket │
│ ▼ │
┌───┴──────────┐ token + url ┌──────────────────┐ │
│ PHONE A │ ◄──────────────► │ LiveKit (SFU) │ ─────┘
│ (Asha) │ sound, video │ the room │
└──────────────┘ │ + server data │ ◄───── backend sends room messages
┌──────────────┐ ◄──────────────► │ "nexgate.meeting"│ (role changed, hand raised…)
│ PHONE B │ └──────────────────┘
│ (Juma) │
└──────────────┘
▲
└──── push (Firebase) when the app is closed: "Asha is calling", "the meeting starts in 15 min"
| Piece | What it does | The phone uses it for |
|---|---|---|
| Backend | Every rule, every list, every button, the tokens | All REST calls in this document |
| LiveKit | The room: carries sound, video and screen share between phones | Connect with url + token from a join answer; switch on what media says |
| Centrifugo | Pushes events to one person in under a second (the phone rings, "you're admitted") | Subscribe to your personal channel once per app session |
| Push (Firebase) | Wakes a closed app (incoming call, reminders) | Show the notification; an incoming call push carries the token too |
The backend never carries sound or video. It learns that someone joined or left from LiveKit itself, so a phone that dies in the middle of a call is still counted right.
A2. Words used in this document
| Word | Meaning |
|---|---|
| Call | Rings someone now. They answer or not. 1:1, a group chat, or a shop. |
| Meeting | A room people join when they choose. Never rings, can never be "missed". |
| Host | Who made the meeting. Ends it, picks co-hosts. For a shop meeting, the shop's owner. |
| Co-host | Up to 2 people who run the room with the host (admit, mute, move people). They can't end it. |
| Speaker | May talk, turn on the camera and share the screen (unless the host locked it). |
| Listener | Hears and sees, can't send sound or video. Can raise a hand to ask to speak. |
| Invite | A meeting invitation. The person is not in the meeting until they accept. |
| Link | A meeting join link. It carries a role: a speaker link and a listener link are two links. |
| Waiting room | Someone not invited opens a link → they wait until the host or a co-host lets them in. |
| Locks | The host's switches: mics, cameras, chat, screen share, and "lock the meeting" (no one new). |
| Shelf | Products or tickets pinned in a shop's meeting or a shop call. |
| Event meeting | The meeting of an online event: online ticket holders come in as listeners. |
| Who can call me | Your own setting: everyone, contacts (default), nobody. |
| Contacts | People you really have a link with: you follow each other, you have each other's number saved, or an accepted message request. The same meaning for "Who can call me" and "Who can invite me" |
A3. Call or meeting? — the one-line difference
A call is answered. A meeting is joined.
| Call | Meeting | |
|---|---|---|
| Starts from | a chat, a person, a shop | nothing — it stands alone (or from a group chat invite) |
| Tells people | rings them, now | invite / reminder; never rings |
| Their screen | full-screen incoming call | a row in My meetings, a reminder |
| States | RINGING → ACTIVE → ENDED |
SCHEDULED → OPEN → ENDED |
| Can be missed | yes: 45 s, then MISSED (missed-call notice) |
never |
| Roles | none | HOST, CO_HOST, SPEAKER, LISTENER |
| Links | no | yes, per role |
| Empty room | ends (last one out) | stays open until the host ends it or its end time |
| Size | 8 people (settings) | 8 speakers + 300 listeners (settings) |
| Endpoints | /calls |
/meetings |
Do you want their phone to ring right now?
│
├── yes ─► CALL POST /calls
│ ├── one person ......... targetAccountId (or conversationId of your chat)
│ ├── a group chat ....... conversationId (+ inviteeAccountIds to ring only some)
│ └── a shop ............. targetShopId
│
└── no ──► MEETING POST /meetings
├── talk now, send a link ........ mode NOW (you're in at once)
├── a link for later ............. mode LINK (no time, opens when you join)
└── a time + people .............. mode SCHEDULED (the form, invites, reminders)
Why it matters: 30 people in a group and you start a call → 30 phones ring at once. A meeting says "we meet at 17:00, the room will be there" and people come.
A4. The states
A call
nobody answers (45 s)
RINGING ─────────────────────────────────────► ENDED outcome MISSED
│ caller hangs up first ─────────────► ENDED outcome CANCELLED
│ callee declines ───────────────────► ENDED outcome DECLINED
│ someone answers
▼
ACTIVE ──── hang up / last one leaves ───────► ENDED outcome COMPLETED
outcome |
Meaning | Missed-call notice? |
|---|---|---|
COMPLETED |
someone answered | to group members who never picked up |
MISSED |
rang 45 s, nobody answered | yes |
DECLINED |
the callee said no | no (a choice, not a miss) |
CANCELLED |
the caller hung up before an answer | no |
FAILED |
couldn't be set up | no |
BUSY |
the callee had a call and one waiting | no |
A meeting
(mode SCHEDULED) (mode NOW: straight to OPEN)
SCHEDULED ──── doors open 10 min before ────► OPEN ──── host ends / end time ────► ENDED
│ (the host and co-hosts may │
│ open it any time) │ an empty room stays OPEN
└── host cancels ──► ENDED (cancelled) ▼
people come and go
(mode LINK) OPEN as soon as the host joins; others before that → WAITING_FOR_HOST
| State | What the app shows |
|---|---|
SCHEDULED |
The row with its time; Join appears 10 min before (doorsOpenAt) |
OPEN |
Join |
ENDED |
In "ended" history, no buttons |
A5. Kinds
| Kind | How it is made | Differences |
|---|---|---|
| 1:1 call | POST /calls {targetAccountId | conversationId, kind} |
The callee's "Who can call me" applies. If they're on a call, it rings as waiting |
| Group call | POST /calls {conversationId of a group} |
Rings everyone (or inviteeAccountIds). Any member can join while there is room; a bar in the chat says "A call is on · Join" |
| Shop call | POST /calls {targetShopId} |
Rings the shop's team per the shop's ring rules (team docs). The shop can pin products ("this one?") |
| Calling as a shop | {…, shopId} |
You call on behalf of a shop you work for |
| Start-now meeting | POST /meetings {mode: NOW} |
Open at once; the answer has a speaker link and your token |
| Link meeting | {mode: LINK} |
Just a link, valid 30 days; opens when the host joins |
| Booked meeting | {mode: SCHEDULED, title, scheduledAt, invitees…} |
Invites, reminders, My meetings |
| Shop meeting | {…, asShopId} |
Only a shop's meeting sells products (shelf, group buy) |
| Event meeting | Chosen in the event form (venue NexGate Meeting) | Online ticket holders join as listeners; time and cancel follow the event |
Every meeting can use cameras (kind VIDEO); a call's kind (AUDIO / VIDEO) is fixed for that call.
A6. Real time: three ways news reaches the phone
phone ── GET /realtime/connection ──► { wsUrl, token, personalChannel } (once per app session, same as live)
│
├── personal:#<myAccountId> Centrifugo · always subscribed
│ call.incoming (ring, with your token) · call.updated · call.ended · call.running (group bar)
│ meeting.scheduled · meeting.starting · meeting.admitted · meeting.denied
│
├── inside a meeting: LiveKit data messages, topic "nexgate.meeting", sent BY THE SERVER
│ ROLE_CHANGED · HAND_RAISED · MUTED · KNOCK · LOCKS_CHANGED · CHAT · POLL · REACTIONS · PIN_ITEM …
│ keys + ids only → read names, pictures and text from the API
│
└── push (app closed): CHAT_INCOMING_CALL (rings, carries the token) · CHAT_MISSED_CALL · meeting notices
- Trust only room messages from the server. LiveKit marks who sent each data message; a message from another phone
with topic
nexgate.meetingis fake — ignore it. - Reactions and raise-hand in calls (not meetings) are phone to phone (LiveKit data from the phone), no backend.
- Both the socket event and the push go out for a ring: a phone with the socket open ignores the second one. Guessing wrong would mean a call nobody hears.
- All event and message shapes: Part D.
A7. The flows, screen by screen
F1. Asha calls Juma (1:1)
ASHA BACKEND JUMA
│ POST /calls {targetAccountId: Juma, kind: VIDEO} │
│──────────────────────────────────►│ Juma's "who can call me" ✓, not busy │
│◄── {callId, url, token, media, │ │
│ state: RINGING} │── call.incoming {token, …} ───────────►│ (socket)
│ connect LiveKit, play ringback │── push CHAT_INCOMING_CALL {token} ────►│ (app closed)
│ │ │ Answer: connect with that token
│ │◄── LiveKit webhook "Juma joined" ──────│ (no extra call needed)
│ │ state ACTIVE │
│ │── call.updated {state: ACTIVE, │ his other devices
│ │ answeredBy} ──────────────────────►│ stop ringing
│ POST /calls/{id}/end │ │
│──────────────────────────────────►│ outcome COMPLETED, durationSeconds │
│ │── call.ended {outcome} ───────────────►│ (and to Asha's other devices)
- Decline = Juma calls
POST /calls/{id}/endwhile it rings →DECLINED. Cancel = Asha ends before an answer →CANCELLED. One verb; the backend decides which it was. - ❌ Juma set "Who can call me: Contacts" and Asha isn't one →
409 BLOCKED"You can't call this person" (it looks like a block on purpose: Asha can't tell "blocked" from "setting").
F2. Juma is already on a call — call waiting
Juma talks to Neema. Ali calls Juma.
ALI ── POST /calls ──► {…, waiting: true} Ali's screen: "Juma is on another call · ringing…"
JUMA ◄── call.incoming {…, waiting: true} Juma's screen: "Ali is calling · End & answer / Decline"
End & answer = POST /calls/{neema call}/end, then connect with Ali's token
A third caller while Juma has a call AND one waiting → 409 BUSY (outcome BUSY)
F3. A missed call
Ali rang 45 s, Juma didn't answer → ENDED / MISSED. Juma gets CHAT_MISSED_CALL with actions: ["CALL_BACK", "MESSAGE"] and callerAccountId (or callerShopId):
- Call back →
POST /calls {targetAccountId: callerAccountId} - Message → open the conversation (
conversationId)
No notice when Ali hung up first (CANCELLED) or Juma declined.
F4. A group call — "A call is on · Join"
Family group (12 people). Mama Yoyo starts a call, rings only 3: POST /calls {conversationId, inviteeAccountIds:[3]}
├─ the 3 ring
└─ all 12 get call.running {callId, running: true} → the chat shows a bar
GET /calls/conversations/{conversationId}/running
→ {inCall: [Mama Yoyo, Juma], peopleIn: 2, roomLeft: 6, canJoin: true}
"📞 A call is on · 2 in · Join" → POST /calls/{callId}/join
call ends → call.running {running: false} → the bar goes
- A seat = still ringing or in the call. Someone who declines, rings out (45 s) or hangs up frees it at once; coming back
takes a seat again if one is free (
CALL_FULLotherwise). Example, 8 seats: 8 rung, 3 decline, 2 ring out, 3 join → 5 left. - Without
inviteeAccountIdsthe whole group rings. A group over 8 →409 CALL_TOO_LARGE: show "pick who to ring". - Members who don't take calls from the caller are simply not rung (they can still Join). If nobody is left →
NOBODY_TO_RING. - Whoever started it can mute someone (they can unmute themselves) or remove them (they can't rejoin this call).
- Anyone already in the call can add someone (
POST /calls/{id}/participants?accountId=).
F5. Calling a shop — "this one?"
Juma taps Call on Duka Asha's page → POST /calls {targetShopId} → the shop's team rings (shop ring rules: team
docs). On the call, the shop side pins a product → POST /calls/{callId}/pins?shopId= {productId}; Juma's screen
reads GET /calls/{callId}/pins and shows the card; Juma taps it → POST /sale-taps {from: CALL, sourceId: callId, item: PRODUCT, itemId} → if he buys within 24 h, the sale counts for the call.
F6. "Start now" meeting
Asha taps New meeting → Start now: POST /meetings {mode: NOW}
◄── {callId, state: OPEN, title: "Asha's meeting", link: {token, role: SPEAKER}, hostToken: {url, token, media}}
Asha connects with hostToken at once and shares the link (WhatsApp, chat…)
Juma opens the link: POST /meetings/join/{token}
├─ Juma was invited ............ in (as the link's role)
├─ meeting option linkJoinsStraightIn ............ in
└─ otherwise .......... 409 IN_WAITING_ROOM → "Asking to join…" (F9)
F7. "Link for later"
POST /meetings {mode: LINK} → {link, linkExpiresAt: +30 days}, no time, no invites (LINK_IS_JUST_A_LINK if you send
them). Before Asha joins, others get 409 WAITING_FOR_HOST. When Asha joins, it opens (start = that moment) and stays open
until she ends it. Unused for 30 days → closed quietly.
F8. A booked meeting with invites
Asha: POST /meetings {mode: SCHEDULED, title: "Friday pricing", scheduledAt: Fri 17:00, endsAt: 18:00,
inviteeAccountIds: [Juma, Neema, Ali], inviteChatId: <shop team group>, coverMediaId}
◄── {…, invites: {invited: 9, cantInvite: [Ali], alreadyInvited: []}} (Ali doesn't take invites from Asha)
Juma ◄── CHAT_MEETING_INVITE My meetings: row with ACCEPT / DECLINE
POST /meetings/{id}/invite/accept → {state: ACCEPTED, role: SPEAKER} (LISTENER once speakers are full)
Asha ◄── CHAT_MEETING_INVITE_ANSWERED "Juma and 3 others answered" (at most one per 15 min)
Thu 17:00 ── CHAT_MEETING_REMINDER (lead DAY_BEFORE) to people who accepted
Fri 16:45 ── CHAT_MEETING_REMINDER (MINUTES_15) · Asha: CHAT_MEETING_HOST_GET_READY
Fri 16:50 ── doors open: Join on Juma's row → POST /meetings/{id}/join
Fri 17:00 ── CHAT_MEETING_STARTING
- Invited people are not in the meeting until they accept.
POST …/joinbefore answering →ANSWER_INVITE_FIRST. - People can change their mind until the meeting ends. Declining after accepting frees the seat.
- Asha moves it to Saturday →
CHAT_MEETING_UPDATED {changedFields: [START]}to everyone invited (answered or not); a reminder whose time is already past is skipped. - "Who can invite me" is the live's setting (
PUT /live/settings {whoCanInvite}): one setting for lives and meetings. "Contacts" there means the same as in "Who can call me" (A2). - 20 invites a day per person (
INVITE_LIMIT); a whole group chat counts as one.
F9. The waiting room
Ben (not invited) opens Asha's link: POST /meetings/join/{token} → 409 IN_WAITING_ROOM "Asking to join…"
Asha (and co-hosts): room message KNOCK {accountId: Ben} + notice CHAT_MEETING_KNOCK
GET /meetings/{id}/waiting → [{person: Ben, askedAt, role: SPEAKER}]
Admit: POST /meetings/{id}/waiting/{Ben}/admit (or admit-all)
Ben ◄── meeting.admitted {meetingId} → calls POST /meetings/join/{token} again → token → in
Deny: POST …/deny → Ben ◄── meeting.denied → "The host didn't let you in" (he may ask again)
F10. Running the room
Neema (listener) taps ✋ POST /meetings/{id}/hand → host/co-hosts: room message HAND_RAISED
Asha opens Requests GET /meetings/{id}/requests → [{person: Neema, askedAt}]
Asha taps Let her speak POST /meetings/{id}/requests/{Neema}/accept
→ room message ROLE_CHANGED {Neema, SPEAKER} → Neema's app: POST /meetings/{id}/join
(new token that can publish), mic starts off
Asha makes Juma a co-host PUT /meetings/{id}/co-hosts/{Juma} (up to 2)
Juma mutes a noisy speaker POST /meetings/{id}/participants/{Ali}/mute (Ali can turn it back on himself)
Juma moves Ali back POST /meetings/{id}/participants/{Ali}/listener (his mic is cut in LiveKit at once)
Asha locks mics PUT /meetings/{id}/locks {lockMics: true} → LOCKS_CHANGED; only host, co-hosts and
speakers she accepted from Requests can talk
Asha locks the meeting PUT /meetings/{id}/locks {locked: true} → no one new; people who dropped can come back
Asha removes Ali POST /meetings/{id}/participants/{Ali}/remove → REMOVED; he can't rejoin this meeting
F11. Chat, polls, questions, reactions
- Chat:
POST /meetings/{id}/chat {text, replyTo}→ room messageCHAT {seq}→ everyone readsGET …/chat?after=<my last seq>. On join readafter=0(the last 500 lines). Host / co-host pin one line. - Poll: host / co-host
POST …/polls {question, options: 2–4 (words or a product), seconds?}→POLL {itemId}; people vote once; counts arrive inPOLLevery 2 s while votes change. - Questions: anyone asks (≤150), others tap "me too"; the host marks answered. Open ones first, most "me too" on top.
- Reactions: the phone batches taps and sends
POST …/reactionsevery second or two; every 2 s the room getsREACTIONS {counts}→ float them.
F12. Selling and gifts in meetings
- A shop meeting (
asShopId) can pin the shop's products; any meeting can pin the host's own event tickets (POST …/pins {productId | ticketId}).PIN_ITEMtells the room;GET …/pinsgives the shelf; the phone draws the card from the product / ticket APIs. A buyer's tap →POST /sale-taps {from: MEETING, sourceId: meetingId, item: PRODUCT | TICKET | GROUP, itemId}→ a buy within 24 h counts for the meeting. - The shop's owner can start a group buy from the meeting (
POST …/group-buys); it's pinned. - Gifts:
POST /gifts/moments {place: MEETING, contextId: meetingId, receiverId, itemId, idempotencyKey}. Receivers = host, co-hosts, speakers (listeners send, don't receive). In a call:place: CALL, contextId: callId, receivers = the others in the call.An admin chooses which giftGift items workinheremeetingsby/default;calls.an admin can take one out. Room messageGIFT_MOMENT {itemId: momentId}. - A donation ticket on the shelf carries
donation {target, raised, donations};DONATION_PROGRESSafter each donation. NotFlashbuiltpriceyet:and coupon dropandin a shop meeting, like in a live (#68–#74): the shop's owner starts them, people in the meeting get the flash priceinatmeetingscheckout(theyandaregrablivethetoolscoupon;today)room messagesFLASH/DROP {itemId}.
F13. An event meeting
The organiser picks NexGate Meeting as the venue in the event form. On publish, the meeting is booked at the event's
time (title = the event). Online ticket holders → POST /meetings/{id}/join → in as listeners (checked in); others
TICKET_REQUIRED (details = eventId → open the event to buy). Invites are speaker seats only (SPEAKERS_FULL), no
listener links (EVENT_MEETING_LINK). Moving or cancelling is done on the event (EVENT_MEETING on the meeting).
F14. Weak networks
- Every join answer has
media: switch on in the LiveKit SDK exactly what it says (simulcast, adaptive stream, dynacast, audio RED, DTX, the camera quality). P720 in 1:1, P360 in groups by default. - A short drop (lift, tunnel, Wi-Fi → data): LiveKit keeps your place 40 s. Reconnect with a fresh token
(
POST …/joinagain); the LiveKit SDK reconnects by itself first. AboveCameras work for everyone in a call (up to 8) and for every speaker in a meeting (up to 8); listeners never send video. The admin can lowercamerasOffAbovepeople(default4)8): above it, cameras are off for thetokenwholerefuses cameras; the button shows why.call.- Meetings:
startMuted: true→ join with the mic off.
A8. Which endpoint for which screen
| Screen | Endpoints |
|---|---|
| Chat header 📞 🎥 | #1 start a call |
| Incoming call screen | the call.incoming event / push (has the token); #3 decline |
| In-call screen | #3 end · #4 add someone · #8 mute · #9 remove · #62 / #63 shop pins · #64 tap · #65 gifts |
| Group chat bar | call.running · #7 · #2 join |
| Calls tab | #5 history · #16 My meetings (status=upcoming) · #26 my invites |
| Settings › Privacy › Calls | #10 / #11 who can call me |
| New meeting sheet | #12 (NOW / LINK / SCHEDULED) |
| Meeting details / edit | #13 edit · #14 cancel · #22–#28 invites · #19–#21 links |
| Joining | #17 join · #18 join by link · meeting.admitted |
| Meeting room (everyone) | #32 / #33 hand · #45 / #46 chat · #50 / #51 polls · #53–#55 questions · #57 reactions · #60 shelf · #64 tap · #65 gifts · #69 flash · #72 / #73 drops |
| Meeting room (host / co-hosts) | #15 end · #28 remove · #29–#38 roles and requests · #39–#44 waiting room, locks, mute all · #47 / #48 pin chat · #49 / #52 polls · #56 answered · #58 / #59 / #61 shelf · #68 / #70 flash · #71 / #74 drops |
| Admin | #66 / #67 call settings |
Part B — Endpoints
Every endpoint: purpose, address, who may call it, parameters, a real answer, the fields that matter, the refusals.
B1. Calls
1. Start a call
Purpose: Ring someone now: a person, a group chat, or a shop. Returns your own room credentials; the people
rung get theirs in the call.incoming event / push.
Endpoint: POST {base_url}/calls
Access Level: 🔒 Protected (any account; shopId = calling as a shop you work for)
Authentication: Bearer token
Request JSON Sample:
{"targetAccountId": "5b0d3c1e-…", "kind": "VIDEO"}
{"conversationId": "c71f…", "kind": "AUDIO", "inviteeAccountIds": ["a1…", "b2…", "c3…"]}
Request Body Parameters (exactly one of the three targets):
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
conversationId |
uuid | one of | Calling from an open chat (1:1 or group) | you are in it |
targetAccountId |
uuid | one of | Calling a person (the chat is found or made) | |
targetShopId |
uuid | one of | Calling a shop from its page (the shop chat is found or made) | |
kind |
enum | Yes | AUDIO · VIDEO (fixed for this call) |
|
shopId |
uuid | No | Call as this shop (you work for it); checked, never trusted | |
inviteeAccountIds |
uuid[] | No | Group chats only: ring just these members. Empty = the whole group | members of the group |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Call started",
"action_time": "2026-11-27T10:30:45",
"data": {
"callId": "9f3e…",
"roomName": "call_9f3e…",
"token": "eyJhbGciOi…",
"url": "wss://livekit.dev.nexgate.co",
"kind": "VIDEO",
"state": "RINGING",
"media": {
"simulcast": true, "adaptiveStream": true, "dynacast": true, "audioRed": true, "audioDtx": true,
"maxCameraQuality": "P720", "camerasOffAbove": 48
}
}
}
Success Response Fields:
| Field | Description |
|---|---|
token · url |
Connect to LiveKit now (play the ringback while RINGING). One room, one person, 10 min |
media |
What to switch on in the LiveKit SDK (Part C2). Never decide on the phone |
waiting |
true (only then present): the person is on another call; it rings for them as waiting → "Juma is on another call" |
Refusals (409, data.code):
| Code | When |
|---|---|
AMBIGUOUS_TARGET |
none or more than one target |
NO_COUNTERPARTY |
nobody on the other side to ring |
ALREADY_IN_CALL |
you are already on a call |
BUSY |
they already have a call and one waiting |
BLOCKED |
a block either way, or their "Who can call me" refuses you (same code on purpose) |
CALL_NOT_CONTACT |
a person you can't chat with yet (a message request not accepted) |
CALL_TOO_LARGE |
a group bigger than peoplePerCall without inviteeAccountIds → show "pick who to ring" |
NOT_A_MEMBER |
someone in inviteeAccountIds isn't in the group |
NOBODY_TO_RING |
nobody you picked takes calls from you |
NOT_A_PARTICIPANT |
you aren't in that chat |
Notes:
- The person rung gets
call.incoming(socket) andCHAT_INCOMING_CALL(push), both with their token: they can connect straight away without #2. - Group call: every member also gets
call.running→ the chat bar (#7).
2. Answer / join a call
Purpose: Get your token for a call: a callee who learned about it without the token (cold start, another device), or a group member joining a running group call.
Endpoint: POST {base_url}/calls/{callId}/join
Access Level: 🔒 Protected (people rung; any member of the group chat for a group call)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
callId |
uuid | Yes | The call | UUID |
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
shopId |
uuid | No | Answering for a shop | you work for it | — |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Joined",
"action_time": "2026-11-27T10:30:45",
"data": {
"callId": "9f3e…", "roomName": "call_9f3e…", "token": "eyJ…", "url": "wss://livekit.dev.nexgate.co",
"kind": "VIDEO", "state": "ACTIVE",
"media": {"simulcast": true, "adaptiveStream": true, "dynacast": true, "audioRed": true, "audioDtx": true,
"maxCameraQuality": "P360", "camerasOffAbove": 4}8}
}
}
Refusals (409, data.code):
| Code | When |
|---|---|
CALL_ENDED |
it's over |
NOT_INVITED |
not rung, and not a member of the group |
CALL_FULL |
the group call has peoplePerCall people holding a seat: still ringing or in the call (declined, rang out, left or removed don't count) |
REMOVED_FROM_CALL |
you were removed from this call |
NOT_A_CALL |
that id is a meeting (use #17) |
Notes:
- Reconnecting after a drop: call this again for a fresh token.
3. Hang up, decline or cancel
Purpose: Leave / stop a call. One verb for all three: the backend decides what it was from the state and who
asked (the caller before an answer = CANCELLED, a callee while ringing = DECLINED, during = hang up).
Endpoint: POST {base_url}/calls/{callId}/end
Access Level: 🔒 Protected (anyone on the call)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
callId |
uuid | Yes | The call | UUID |
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
shopId |
uuid | No | Acting for a shop | — |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Call ended",
"action_time": "2026-11-27T10:34:10",
"data": {
"callId": "9f3e…", "conversationId": "c71f…", "kind": "VIDEO", "state": "ENDED", "outcome": "COMPLETED",
"initiatorJid": "5b0d…@dev.nexgate.co", "createdAt": "2026-11-27T10:30:45+03:00",
"answeredAt": "2026-11-27T10:30:52+03:00", "endedAt": "2026-11-27T10:34:10+03:00", "durationSeconds": 198
}
}
Notes:
- In a group call, one person leaving doesn't end it; the last one out does.
- Everyone (and all your other devices) gets
call.ended {outcome, durationSeconds}.
4. Add someone to a call
Purpose: Pull a person into a call that is on (1:1 becomes a group call).
Endpoint: POST {base_url}/calls/{callId}/participants
Access Level: 🔒 Protected (anyone already in the call — joined, not just rung)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
callId |
uuid | Yes | The call | UUID |
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
accountId |
uuid | Yes | Who to add (they ring) | someone you can chat with | — |
Success Response JSON Sample: the call (CallResponse, Part C3), message "Participant added".
Refusals (409, data.code):
| Code | When |
|---|---|
NOT_IN_CALL |
join the call first |
CALL_NOT_CONTACT |
you can only add people you can chat with |
BLOCKED |
a block, or their "Who can call me" |
CALL_TOO_LARGE |
the call is full |
NOT_A_PERSONAL_CALL |
shop calls and meetings |
CALL_ENDED |
it's over |
5. Call history (Calls tab)
Purpose: Your calls, newest first — including calls someone added you to, and meetings you were in.
Endpoint: GET {base_url}/calls
Access Level: 🔒 Protected (your own; shopId = a shop's calls)
Authentication: Bearer token
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
shopId |
uuid | No | A shop's calls instead of yours | you work for it | — |
limit |
int | No | How many | 30 |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Calls retrieved",
"action_time": "2026-11-27T10:30:45",
"data": [
{
"callId": "9f3e…", "conversationId": "c71f…", "kind": "VIDEO", "state": "ENDED", "outcome": "MISSED",
"initiatorJid": "5b0d…@dev.nexgate.co", "initiatorAccountId": "5b0d…",
"createdAt": "2026-11-27T09:12:00+03:00", "answeredAt": null, "endedAt": "2026-11-27T09:12:45+03:00",
"durationSeconds": null
},
{
"callId": "77aa…", "kind": "VIDEO", "state": "ENDED", "outcome": "COMPLETED",
"initiatorAccountId": "3213…", "myRole": "SPEAKER",
"mode": "SCHEDULED", "title": "Friday pricing", "scheduledAt": "2026-11-21T17:00:00+03:00",
"coverMedia": {"fileId": "…", "status": "READY", "mimeType": "image/jpeg", "thumbUrl": "https://…"},
"durationSeconds": 3120
}
]
}
Notes:
- A row with
title/modeis a meeting; draw it with its title.myRoleis set for meetings only. - Upcoming meetings are not here: they are in #16 (
status=upcoming).
6. One call
Purpose: Read one call or meeting. Carries no token (a stale screen can't hand out a way in); to join, use #2 / #17.
Endpoint: GET {base_url}/calls/{callId}
Access Level: 🔒 Protected (people on it)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
callId |
uuid | Yes | The call or meeting | UUID |
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
shopId |
uuid | No | Reading for a shop | — |
Success Response JSON Sample: CallResponse (Part C3), message "Call retrieved".
Refusals (409, data.code):
| Code | When |
|---|---|
NOT_A_PARTICIPANT |
you were never on it |
7. Is a call on in this group chat?
Purpose: The bar at the top of a group chat: "📞 A call is on · 3 in · Join". Read it when the chat opens and when
call.running arrives.
Endpoint: GET {base_url}/calls/conversations/{conversationId}/running
Access Level: 🔒 Protected (members of the chat)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
conversationId |
uuid | Yes | The group chat | UUID |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Running call",
"action_time": "2026-11-27T10:30:45",
"data": {
"callId": "9f3e…",
"conversationId": "c71f…",
"kind": "AUDIO",
"state": "ACTIVE",
"inCall": [
{"accountId": "3213…", "name": "Mama Yoyo", "userName": "mamayoyo",
"userProfileMedia": {"fileId": "…", "status": "READY", "mimeType": "image/jpeg", "thumbUrl": "https://…"}},
{"accountId": "5b0d…", "name": "Juma", "userName": "juma", "userProfileMedia": null}
],
"peopleIn": 2,
"roomLeft": 6,
"canJoin": true,
"amIn": false
}
}
data is null when no call is on (hide the bar).
Success Response Fields:
| Field | Description |
|---|---|
inCall |
People in the call now (faces on the bar) |
roomLeft |
Seats peoplePerCall − people |
canJoin |
Show Join (#2). false when full or you were removed |
amIn |
You are in it (show "Back to call") |
Refusals (409, data.code):
| Code | When |
|---|---|
NOT_A_PARTICIPANT |
not a member of the chat |
8. Mute someone in a group call
Purpose: The server mutes a person's mic. They can turn it back on themselves.
Endpoint: POST {base_url}/calls/{callId}/participants/{accountId}/mute
Access Level: 🔒 Protected (whoever started the group call)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
callId |
uuid | Yes | The call | UUID |
accountId |
uuid | Yes | Who | in the call |
Success Response JSON Sample: data: null, message "Muted".
Refusals (409, data.code):
| Code | When |
|---|---|
NOT_INITIATOR |
only whoever started the call |
NOT_A_GROUP_CALL |
1:1 and shop calls |
NOT_IN_CALL |
they aren't in it |
9. Remove someone from a group call
Purpose: Out of the room; they can't join this call again (nothing else changes: not a chat block).
Endpoint: POST {base_url}/calls/{callId}/participants/{accountId}/remove
Access Level: 🔒 Protected (whoever started the group call)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
callId |
uuid | Yes | The call | UUID |
accountId |
uuid | Yes | Who | in the call |
Success Response JSON Sample: data: null, message "Removed".
Refusals (409, data.code): NOT_INITIATOR · NOT_A_GROUP_CALL · NOT_IN_CALL (as #8).
Notes:
- Their joining again →
REMOVED_FROM_CALL.
B2. Who can call me
10. Read my call setting
Purpose: Settings › Privacy › Calls.
Endpoint: GET {base_url}/calls/settings/me
Access Level: 🔒 Protected (your own)
Authentication: Bearer token
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Call settings",
"action_time": "2026-11-27T10:30:45",
"data": {"whoCanCall": "CONTACTS"}
}
Success Response Fields:
| Field | Description |
|---|---|
whoCanCall |
EVERYONE · CONTACTS (NOBODY. Contacts = people you really have a link with: you follow each other, you have each other's number saved, or an accepted message request. |
11. Change who can call me
Purpose: Save the setting.
Endpoint: PUT {base_url}/calls/settings/me
Access Level: 🔒 Protected (your own)
Authentication: Bearer token
Request JSON Sample:
{"whoCanCall": "NOBODY"}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
whoCanCall |
enum | Yes | EVERYONE · CONTACTS · NOBODY |
Success Response JSON Sample: the saved setting (as #10).
Notes:
- Covers person-to-person calls and being added to a call. Shop calls and work calls about a parcel have their own rules.
- Group calls: being in the same group is the link, so
CONTACTSis rung; onlyNOBODYisn't (they can still Join). - Example: Asha and Neema follow each other → Asha can call Neema ✅. Ali (a stranger, no link) can't ❌ — also while message requests are switched off.
- Someone refused sees
BLOCKED"You can't call this person" — never "they turned calls off". - Being invited to lives and meetings is a different setting:
PUT /live/settings {whoCanInvite}(live doc).
B3. Meetings: make, change, join
12. Make a meeting
Purpose: The New meeting sheet: Start now, Link for later or Schedule (the form).
Endpoint: POST {base_url}/meetings
Access Level: 🔒 Protected (any account; asShopId = the shop's owner)
Authentication: Bearer token
Request JSON Sample (Start now — everything optional):
{"mode": "NOW"}
Request JSON Sample (Schedule):
{
"mode": "SCHEDULED",
"title": "Friday pricing",
"description": "New prices for December",
"scheduledAt": "2026-11-28T17:00:00+03:00",
"endsAt": "2026-11-28T18:00:00+03:00",
"coverMediaId": "0c9b…",
"inviteeAccountIds": ["5b0d…", "a1f2…"],
"inviteChatId": "c71f…",
"guestsCanInvite": false,
"guestsSeeInvited": true,
"linkJoinsStraightIn": false,
"whoCanAskToSpeak": "EVERYONE",
"startMuted": true,
"asShopId": null
}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
mode |
enum | No | NOW (open at once, you're in) · LINK (just a link, no time, no invites) · SCHEDULED (default) |
|
title |
string | SCHEDULED | The name. NOW / LINK: default "Asha's meeting" | TITLE_REQUIRED |
description |
string | No | ||
scheduledAt |
datetime | SCHEDULED | The start | not more than 2 min ago (IN_THE_PAST) |
endsAt |
datetime | No | When the room closes itself (approximate) | after the start (END_BEFORE_START) |
coverMediaId |
uuid | No | The banner: upload it to File Thunder with context MEETING_COVER first |
yours, an image, uploaded |
inviteeAccountIds |
uuid[] | No | People to invite (they get an invite, Part B4) | not with LINK |
inviteChatId |
uuid | No | Invite every member of a group chat (counts as one invite toward the daily limit) | you are in it |
guestsCanInvite |
boolean | No | Accepted guests may invite too | default false |
guestsSeeInvited |
boolean | No | Accepted guests see who else is invited | default true |
linkJoinsStraightIn |
boolean | No | Link holders skip the waiting room | default false |
whoCanAskToSpeak |
enum | No | EVERYONE · FOLLOWED (people the host follows) · INVITED |
default EVERYONE |
startMuted |
boolean | No | New speakers join with the mic off | default true |
asShopId |
uuid | No | Run it as your shop (only shop meetings sell products) | the shop's owner |
conversationId |
uuid | No | Write the meeting into this chat (a "meeting" message) | |
kind · access |
No | Ignored / old. Every meeting can use cameras; who gets in is decided by invites, links and the waiting room |
Success Response JSON Sample (Start now):
{
"success": true,
"httpStatus": "OK",
"message": "Meeting scheduled",
"action_time": "2026-11-27T10:30:45",
"data": {
"callId": "77aa…",
"kind": "VIDEO",
"state": "OPEN",
"initiatorAccountId": "3213…",
"myRole": "HOST",
"mode": "NOW",
"title": "Asha's meeting",
"scheduledAt": "2026-11-27T10:30:45+03:00",
"options": {"guestsCanInvite": false, "guestsSeeInvited": true, "linkJoinsStraightIn": false,
"whoCanAskToSpeak": "EVERYONE", "startMuted": true},
"link": {"token": "mJ7xQ2…", "role": "SPEAKER", "expiresAt": "2026-12-27T10:30:45+03:00"},
"hostToken": {"callId": "77aa…", "roomName": "meet_77aa…", "token": "eyJ…", "url": "wss://livekit.dev.nexgate.co",
"kind": "VIDEO", "state": "OPEN", "startMuted": false,
"media": {"simulcast": true, "adaptiveStream": true, "dynacast": true, "audioRed": true,
"audioDtx": true, "maxCameraQuality": "P360", "camerasOffAbove": 4}8}},
"speakerLimit": 8,
"invitedAsListeners": []
}
}
Success Response JSON Sample (Schedule, the extra parts):
{
"data": {
"callId": "88bb…", "state": "SCHEDULED", "mode": "SCHEDULED", "title": "Friday pricing",
"scheduledAt": "2026-11-28T17:00:00+03:00", "endsAt": "2026-11-28T18:00:00+03:00",
"coverMedia": {"fileId": "0c9b…", "status": "READY", "mimeType": "image/jpeg", "thumbUrl": "https://…"},
"invites": {"invited": 9, "cantInvite": ["a1f2…"], "alreadyInvited": []}
}
}
Success Response Fields:
| Field | Description |
|---|---|
link |
NOW / LINK: the speaker link to share (token → your share URL; joined with #18) |
hostToken |
NOW: connect with it at once (you're in) |
linkExpiresAt |
LINK: the link's last day (+30 days) |
invites.cantInvite |
People who don't take invites from you, or over the daily limit: tell the host, don't say why |
invites.alreadyInvited |
Already had one |
coverMedia |
The banner (standard media object) |
invitedAsListeners |
Always empty now (seats are given when people accept) |
Refusals (409, data.code):
| Code | When |
|---|---|
TITLE_REQUIRED |
Schedule without a title |
IN_THE_PAST |
a start more than 2 min ago |
END_BEFORE_START |
the end isn't after the start |
LINK_IS_JUST_A_LINK |
LINK with a time or people: use Schedule |
NOT_SHOP_OWNER |
asShopId of a shop you don't own |
COVER_CONTEXT |
the banner wasn't uploaded as MEETING_COVER |
COVER_NOT_FOUND · COVER_NOT_YOURS · COVER_NOT_IMAGE · COVER_UPLOADING · COVER_FAILED |
the banner picture |
NOT_A_PARTICIPANT |
inviteChatId / conversationId of a chat you aren't in |
INVITE_LIMIT |
more than 20 invites today (each person counts one, a whole chat one): nothing is made; invite fewer |
13. Change a meeting
Purpose: Edit: title, description, time, end, banner, options. Everyone invited (answered or not) is told.
Endpoint: PATCH {base_url}/meetings/{meetingId}
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Request JSON Sample:
{"scheduledAt": "2026-11-29T10:00:00+03:00", "endsAt": "2026-11-29T11:00:00+03:00", "removeCover": true}
Request Body Parameters (empty fields keep their value):
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
title · description |
string | No | ||
scheduledAt |
datetime | No | New start | not in the past |
endsAt |
datetime | No | New end | after the start, later than now |
coverMediaId |
uuid | No | New banner (MEETING_COVER) |
as #12 |
removeCover |
boolean | No | Take the banner off | |
guestsCanInvite · guestsSeeInvited · linkJoinsStraightIn · whoCanAskToSpeak · startMuted |
No | As #12 |
Success Response JSON Sample: data: null, message "Meeting updated and invitees notified".
Refusals (409, data.code): NOT_HOST · MEETING_ENDED · IN_THE_PAST · END_BEFORE_START · the COVER_… codes ·
EVENT_MEETING (an event's meeting: move the event; its meeting follows).
Notes:
- Notice
CHAT_MEETING_UPDATEDwithchangedFields:TITLE,DESCRIPTION,START,END,BANNER(translate these; the oldchangedtext stays for old apps). - Moved so a reminder's time is already past → that reminder is skipped.
14. Cancel a meeting
Purpose: Before it happens. Everyone invited gets CHAT_MEETING_CANCELLED; invites become EXPIRED.
Endpoint: POST {base_url}/meetings/{meetingId}/cancel
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: data: null, message "Meeting cancelled".
Refusals (409, data.code): NOT_HOST · MEETING_ENDED · EVENT_MEETING (cancel the event instead).
15. End a meeting
Purpose: Close the room for everyone (people in it get CHAT_MEETING_ENDED).
Endpoint: POST {base_url}/meetings/{meetingId}/end
Access Level: 🔒 Protected (the host; co-hosts can't end it)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: CallResponse with state: "ENDED", message "Meeting ended".
Refusals (409, data.code): NOT_HOST · NOT_A_MEETING.
Notes:
- Leaving the room is not ending it: just disconnect from LiveKit. An empty meeting stays open until the host ends it or its end time.
16. My meetings (Calls tab › Upcoming)
Purpose: Your meetings with their buttons: ones you host, accepted, or are invited to and haven't answered.
Endpoint: GET {base_url}/meetings/mine
Access Level: 🔒 Protected (your own)
Authentication: Bearer token
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
status |
string | No | upcoming (soonest first; links for later at the end) · ended (newest first, 50, no buttons) |
upcoming |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "My meetings",
"action_time": "2026-11-27T10:30:45",
"data": [
{
"meetingId": "88bb…",
"title": "Friday pricing",
"description": "New prices for December",
"mode": "SCHEDULED",
"state": "SCHEDULED",
"scheduledAt": "2026-11-28T17:00:00+03:00",
"endsAt": "2026-11-28T18:00:00+03:00",
"doorsOpenAt": "2026-11-28T16:50:00+03:00",
"linkExpiresAt": null,
"coverMedia": {"fileId": "0c9b…", "status": "READY", "mimeType": "image/jpeg", "thumbUrl": "https://…"},
"host": {"accountId": "3213…", "name": "Asha", "userName": "asha", "userProfileMedia": {"thumbUrl": "https://…"}},
"myPlace": "WAITING",
"myRole": null,
"accepted": 6,
"waiting": 3,
"buttons": ["ACCEPT", "DECLINE"]
}
]
}
Success Response Fields:
| Field | Description |
|---|---|
myPlace |
HOST · ACCEPTED · WAITING (invite not answered) |
doorsOpenAt |
10 min before the start: Join appears then (the host can always join) |
buttons |
Draw exactly these. Host: JOIN, INVITE, COPY_LINK, EDIT, CANCEL (END once open) · accepted: JOIN (doors open), DECLINE · waiting: ACCEPT, DECLINE |
17. Join a meeting
Purpose: Get your token for the room (the host, co-hosts, people who accepted, online ticket holders of an event meeting). Also the way back after a drop and after your role changed.
Endpoint: POST {base_url}/meetings/{meetingId}/join
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Joined",
"action_time": "2026-11-28T16:52:00",
"data": {
"callId": "88bb…", "roomName": "meet_88bb…", "token": "eyJ…", "url": "wss://livekit.dev.nexgate.co",
"kind": "VIDEO", "state": "OPEN", "startMuted": true,
"media": {"simulcast": true, "adaptiveStream": true, "dynacast": true, "audioRed": true, "audioDtx": true,
"maxCameraQuality": "P360", "camerasOffAbove": 4}8}
}
}
Success Response Fields:
| Field | Description |
|---|---|
token |
Its rights follow your role and the locks: a listener's token can't publish; a locked camera can't be turned on |
startMuted |
Connect with the mic off (the person turns it on) |
Refusals (409, data.code):
| Code | When |
|---|---|
NOT_OPEN_YET |
more than 10 min before the start ("opens at …") |
WAITING_FOR_HOST |
a link meeting the host hasn't opened |
ANSWER_INVITE_FIRST |
invited, not answered: accept first (#24) |
NOT_INVITED |
not on the list |
REMOVED_FROM_MEETING |
removed |
MEETING_LOCKED |
locked and you haven't been in yet |
MEETING_ENDED |
over |
MEETING_FULL |
listeners full |
TICKET_REQUIRED |
an event meeting without an online ticket (details = eventId) |
BLOCKED |
a block with the host |
NOT_A_MEETING |
that id is a call |
18. Join by link
Purpose: Someone opens a meeting link. Invited people and linkJoinsStraightIn meetings walk in; everyone else
goes to the waiting room.
Endpoint: POST {base_url}/meetings/join/{token}
Access Level: 🔒 Protected (any signed-in account)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
token |
string | Yes | The link's token |
Success Response JSON Sample: as #17 (message "Joined").
Refusals (409, data.code):
| Code | When |
|---|---|
IN_WAITING_ROOM |
not an error: show "Asking to join…" and wait for meeting.admitted (then call this again) or meeting.denied |
LINK_EXPIRED |
reset by the host, or past its 30 days |
WAITING_FOR_HOST · NOT_OPEN_YET · MEETING_LOCKED · MEETING_ENDED · MEETING_FULL · REMOVED_FROM_MEETING · BLOCKED |
as #17 |
Notes:
- The link's role applies to someone new. A link never moves down someone already in (an invited speaker opening a listener link stays a speaker).
- A speaker link past the speaker seats lets the person in as a listener.
- An invited person opening the link: their invite counts as accepted.
19. Make a link
Purpose: A speaker or a listener link for this meeting.
Endpoint: POST {base_url}/meetings/{meetingId}/links
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
role |
enum | No | SPEAKER · LISTENER |
not HOST / CO_HOST |
LISTENER |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Link created",
"action_time": "2026-11-27T10:30:45",
"data": {"token": "pQ3s…", "role": "LISTENER", "expiresAt": "2026-12-27T10:30:45+03:00"}
}
Refusals (409, data.code): NOT_HOST · CANNOT_SHARE_HOST · EVENT_MEETING_LINK (an event meeting: ticket holders
join from their ticket; links are for speakers only) · MEETING_ENDED.
20. The meeting's links
Purpose: Links screen: each link, how many joined with it, still active?
Endpoint: GET {base_url}/meetings/{meetingId}/links
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Links",
"action_time": "2026-11-27T10:30:45",
"data": [
{"token": "mJ7xQ2…", "role": "SPEAKER", "expiresAt": "2026-12-27T10:30:45+03:00", "joins": 4, "active": true},
{"token": "pQ3s…", "role": "LISTENER", "expiresAt": "2026-12-27T10:30:45+03:00", "joins": 0, "active": false}
]
}
Refusals (409, data.code): NOT_HOST (not host or co-host).
21. Reset a link
Purpose: The link leaked: the old one stops (LINK_EXPIRED), a new one with the same role is made.
Endpoint: POST {base_url}/meetings/{meetingId}/links/{token}/reset
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
token |
string | Yes | The old link |
Success Response JSON Sample: the new link (as one row of #20), message "Link reset".
Refusals (409, data.code): NOT_HOST ("Only the host resets a link") · NOT_FOUND (not this meeting's link).
B4. Invites
22. Invite people
Purpose: Invite more people (one by one and / or a whole group chat).
Endpoint: POST {base_url}/meetings/{meetingId}/invites
Access Level: 🔒 Protected (the host and co-hosts; accepted guests only when guestsCanInvite)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Request JSON Sample:
{"accountIds": ["5b0d…", "a1f2…"], "chatId": null}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
accountIds |
uuid[] | No | People | |
chatId |
uuid | No | Every member of this group chat (one invite toward the limit) | you are in it |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Invites sent",
"action_time": "2026-11-27T10:30:45",
"data": {"invited": 1, "cantInvite": ["a1f2…"], "alreadyInvited": []}
}
Refusals (409, data.code):
| Code | When |
|---|---|
CANT_INVITE_HERE |
a guest, and the host didn't allow guests to invite |
INVITE_LIMIT |
20 a day |
EVENT_MEETING |
event meeting: no whole-chat invite, no guest invites |
SPEAKERS_FULL |
event meeting: invites are speaker seats and they're taken |
MEETING_ENDED |
over |
Notes:
- Each person invited gets
CHAT_MEETING_INVITEand a My meetings row with ACCEPT / DECLINE. - A refused person is only listed in
cantInvite(the others still go): never say "blocked" or "setting".
23. Who's invited
Purpose: The people list of a meeting: accepted, waiting, declined.
Endpoint: GET {base_url}/meetings/{meetingId}/invites
Access Level: 🔒 Protected (the host sees everyone; accepted guests see accepted + waiting only when guestsSeeInvited)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Invites",
"action_time": "2026-11-27T10:30:45",
"data": {
"accepted": 6,
"waiting": 3,
"declined": 1,
"people": [
{"person": {"accountId": "5b0d…", "name": "Juma", "userName": "juma", "userProfileMedia": null},
"state": "ACCEPTED", "answeredAt": "2026-11-27T09:01:00+03:00"},
{"person": {"accountId": "a1f2…", "name": "Neema", "userName": "neema", "userProfileMedia": {"thumbUrl": "https://…"}},
"state": "WAITING", "answeredAt": null}
]
}
}
Success Response Fields:
| Field | Description |
|---|---|
people[].state |
WAITING · ACCEPTED · DECLINED · WITHDRAWN (taken back) · REMOVED · EXPIRED (the meeting ended or was cancelled) |
Refusals (409, data.code): CANT_SEE_INVITES.
24. Accept an invite
Purpose: Say yes. You get a seat: speaker, or listener once the speakers are full.
Endpoint: POST {base_url}/meetings/{meetingId}/invite/accept
Access Level: 🔒 Protected (the person invited)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Accepted",
"action_time": "2026-11-27T10:30:45",
"data": {"meetingId": "88bb…", "state": "ACCEPTED", "role": "SPEAKER"}
}
Refusals (409, data.code):
| Code | When |
|---|---|
NO_INVITE |
you weren't invited |
INVITE_WITHDRAWN |
the host took it back |
INVITE_EXPIRED |
the meeting is over |
MEETING_LOCKED |
the host locked the meeting |
Notes:
- A change of mind is allowed until it ends (accept ⇄ decline).
- The host gets
CHAT_MEETING_INVITE_ANSWERED, grouped (at most one per meeting per 15 min).
25. Decline an invite
Purpose: "No thanks". After accepting: frees your seat if you haven't joined yet.
Endpoint: POST {base_url}/meetings/{meetingId}/invite/decline
Access Level: 🔒 Protected (the person invited)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: {"meetingId": "88bb…", "state": "DECLINED", "role": null}, message "Declined".
Refusals (409, data.code): NO_INVITE · INVITE_WITHDRAWN · INVITE_EXPIRED.
26. My waiting invites
Purpose: The invites you haven't answered (a badge on the Calls tab, an "Invites" strip).
Endpoint: GET {base_url}/meetings/invites/mine
Access Level: 🔒 Protected (your own)
Authentication: Bearer token
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "My invites",
"action_time": "2026-11-27T10:30:45",
"data": [
{
"meetingId": "88bb…", "title": "Friday pricing", "description": "New prices for December",
"scheduledAt": "2026-11-28T17:00:00+03:00", "endsAt": "2026-11-28T18:00:00+03:00",
"coverMedia": {"fileId": "0c9b…", "status": "READY", "mimeType": "image/jpeg", "thumbUrl": "https://…"},
"host": {"accountId": "3213…", "name": "Asha", "userName": "asha", "userProfileMedia": null},
"state": "WAITING", "invitedAt": "2026-11-27T08:00:00+03:00"
}
]
}
27. Take back an invite
Purpose: Withdraw an invite nobody answered yet. They get CHAT_MEETING_INVITE_WITHDRAWN (in the app).
Endpoint: DELETE {base_url}/meetings/{meetingId}/invites/{accountId}
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
accountId |
uuid | Yes | Who |
Success Response JSON Sample: the updated list (as #23), message "Invite taken back".
Refusals (409, data.code): NOT_HOST · NO_INVITE ("They weren't invited") · NOT_WAITING (they already
answered: use #28 to remove them).
28. Remove someone from a meeting
Purpose: Out of the room and off the list; they can't come back to this meeting (by invite or link).
Endpoint: POST {base_url}/meetings/{meetingId}/participants/{accountId}/remove
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
accountId |
uuid | Yes | Who |
Success Response JSON Sample: the updated list (as #23), message "Removed".
Refusals (409, data.code): NOT_HOST · CANT_REMOVE_HOST (a co-host can't remove the host or the other co-host) ·
NOT_IN_MEETING.
Notes:
- Room message
REMOVED {accountId}→ their app leaves; they getCHAT_MEETING_REMOVED. Joining again →REMOVED_FROM_MEETING. Not an account-wide block.
B5. Roles in the room
How roles move (the server tells the room with ROLE_CHANGED; the person whose role changed asks #17 for a new token):
LISTENER ──✋ hand (#32)──► request ──host / co-host accept (#35)──► SPEAKER ──"back to listener" (#38)──► LISTENER
▲ │
└────────────────────── set role (#29) ◄──────────────────────────┘
any person in ──host only (#30)──► CO_HOST (up to 2) ──(#31)──► back to their seat
29. Set someone's role
Purpose: Make a listenersomeone a speaker or a listener directly (without a hand raised). The older endpoint, kept.
Endpoint: PUT {base_url}/meetings/{meetingId}/participants/role
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
accountId |
uuid | Yes | Who | — | |
role |
enum | Yes | SPEAKER LISTENER ( |
— | |
jid |
string | No | Old, for apps that still send it. Use accountId |
— |
Success Response JSON Sample: data: null, message "Role updated".
Refusals (409, data.code): NOT_HOST ("Only a host can do that") · WHO_MISSING (no accountId) · SPEAKER_LIMIT ·
ROLE_NOT_HERE (HOST / CO_HOST: co-hosts are picked with #30).
Someone not in the meeting → 404 "They are not in this meeting".
Notes:
- The person gets
CHAT_MEETING_ROLE_CHANGEDand the roomROLE_CHANGED. ⚠️FixedFound2026-11-27:whileitwritingusedthistodoc: this endpoint also acceptsacceptHOST/CO_HOSTand then skips(past the 2-co-hostlimit.limit)Don'tandsendathem;listenerthekeptbackendtheirwillmicrefuseuntilthemthey(review item).reconnected.
30. Make someone a co-host
Purpose: Up to 2 co-hosts run the room with the host (admit, mute, move, remove, pin, polls). They can't end it.
Endpoint: PUT {base_url}/meetings/{meetingId}/co-hosts/{accountId}
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
accountId |
uuid | Yes | Who | in the meeting |
Success Response JSON Sample: data: null, message "Co-host added".
Refusals (409, data.code): NOT_HOST ("Only the host picks co-hosts") · CO_HOST_LIMIT · IS_HOST · NOT_IN_MEETING.
31. Remove a co-host
Purpose: Back to a speaker.
Endpoint: DELETE {base_url}/meetings/{meetingId}/co-hosts/{accountId}
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
accountId |
uuid | Yes | The co-host |
Success Response JSON Sample: data: null, message "Co-host removed".
Refusals (409, data.code): NOT_HOST · IS_HOST.
32. Raise my hand
Purpose: A listener asks to speak. Host and co-hosts get HAND_RAISED.
Endpoint: POST {base_url}/meetings/{meetingId}/hand
Access Level: 🔒 Protected (listeners in the meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: data: null, message "Hand raised".
Refusals (409, data.code):
| Code | When |
|---|---|
ALREADY_SPEAKING |
you can already speak |
CANT_ASK |
the meeting's whoCanAskToSpeak doesn't include you (FOLLOWED = people the host follows, INVITED = had an invite) |
NOT_IN_MEETING |
join first |
Notes:
- The hand stays up 12 h at most (a hand is a moment, not a record).
33. Lower my hand
Endpoint: DELETE {base_url}/meetings/{meetingId}/hand
Access Level: 🔒 Protected (the person whose hand is up)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: data: null, message "Hand lowered" (room message HAND_LOWERED).
34. Requests to speak
Purpose: The host's list of raised hands, oldest first.
Endpoint: GET {base_url}/meetings/{meetingId}/requests
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Requests to speak",
"action_time": "2026-11-28T17:10:00",
"data": [
{"person": {"accountId": "a1f2…", "name": "Neema", "userName": "neema", "userProfileMedia": {"thumbUrl": "https://…"}},
"askedAt": "2026-11-28T14:09:40Z"}
]
}
Refusals (409, data.code): NOT_HOST.
35. Let them speak
Purpose: Accept a request: a speaker at once (LiveKit lets their mic publish right away).
Endpoint: POST {base_url}/meetings/{meetingId}/requests/{accountId}/accept
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
accountId |
uuid | Yes | Who | has a hand up |
Success Response JSON Sample: data: null, message "Now a speaker".
Refusals (409, data.code): NOT_HOST · SPEAKER_LIMIT ("The speakers are full") · NOT_IN_MEETING.
Notes:
- Room messages
ROLE_CHANGED {accountId, role: SPEAKER}andHAND_LOWERED. Even with mics locked, a speaker accepted here may talk.
36. Ignore a request
Endpoint: POST {base_url}/meetings/{meetingId}/requests/{accountId}/ignore
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
accountId |
uuid | Yes | Who |
Success Response JSON Sample: data: null, message "Request ignored" (the hand goes down: HAND_LOWERED).
37. Mute a speaker
Purpose: The server turns their mic off. It never turns a mic on: they do that themselves.
Endpoint: POST {base_url}/meetings/{meetingId}/participants/{accountId}/mute
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
accountId |
uuid | Yes | Who | in the meeting |
Success Response JSON Sample: data: null, message "Muted" (they get the room message MUTED).
Refusals (409, data.code): NOT_HOST · CANT_ACT_ON (the host; a co-host on the other co-host) · NOT_IN_MEETING.
38. Back to listener
Purpose: Take someone off the stage. LiveKit stops their sound and video at once (not at their next token).
Endpoint: POST {base_url}/meetings/{meetingId}/participants/{accountId}/listener
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
accountId |
uuid | Yes | Who | a speaker |
Success Response JSON Sample: data: null, message "Moved to listener" (room message ROLE_CHANGED).
Refusals (409, data.code): NOT_HOST · CANT_ACT_ON · NOT_IN_MEETING.
B6. Doors and locks
39. The waiting room
Purpose: People who opened a link and wait to be let in, oldest first.
Endpoint: GET {base_url}/meetings/{meetingId}/waiting
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Waiting room",
"action_time": "2026-11-28T17:02:00",
"data": [
{"person": {"accountId": "b7c8…", "name": "Ben", "userName": "ben", "userProfileMedia": null},
"askedAt": "2026-11-28T14:01:55Z", "role": "SPEAKER"}
]
}
Success Response Fields:
| Field | Description |
|---|---|
role |
The role of the link they used: what they get when let in (a speaker link becomes listener once speakers are full) |
Refusals (409, data.code): NOT_HOST.
Notes:
- Someone knocking → room message
KNOCK {accountId}to host + co-hosts and noticeCHAT_MEETING_KNOCK(once per person). A knock waits 12 h at most.
40. Let someone in
Endpoint: POST {base_url}/meetings/{meetingId}/waiting/{accountId}/admit
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
accountId |
uuid | Yes | Who | waiting |
Success Response JSON Sample: the waiting room left (as #39), message "Admitted".
Refusals (409, data.code): NOT_HOST · MEETING_ENDED.
Notes:
- They get
meeting.admitted {meetingId}on their personal channel → their app calls #18 again with the same link and is in.
41. Let everyone in
Endpoint: POST {base_url}/meetings/{meetingId}/waiting/admit-all
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: data: [], message "Admitted".
42. Don't let someone in
Endpoint: POST {base_url}/meetings/{meetingId}/waiting/{accountId}/deny
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
accountId |
uuid | Yes | Who | waiting |
Success Response JSON Sample: the waiting room left, message "Denied".
Notes:
- They get
meeting.denied {meetingId}→ "The host didn't let you in". They may ask again (open the link again).
43. Locks
Purpose: The host's switches. Empty fields keep their value; the answer is all five.
Endpoint: PUT {base_url}/meetings/{meetingId}/locks
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Request JSON Sample:
{"lockMics": true, "lockCameras": null, "lockChat": false, "lockScreenShare": true, "locked": null}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
lockMics |
boolean | No | Only host, co-hosts and speakers accepted from Requests may talk | |
lockCameras |
boolean | No | Only host and co-hosts may turn on a camera | |
lockChat |
boolean | No | Only host and co-hosts may write in the meeting chat (CHAT_LOCKED for others) |
|
lockScreenShare |
boolean | No | Only host and co-hosts may share the screen | |
locked |
boolean | No | Lock the meeting: nobody new comes in (links, accepting, a first join → MEETING_LOCKED); people already in can come back after a drop |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Locks",
"action_time": "2026-11-28T17:05:00",
"data": {"lockMics": true, "lockCameras": false, "lockChat": false, "lockScreenShare": true, "locked": false}
}
Refusals (409, data.code): NOT_HOST.
Notes:
- Room message
LOCKS_CHANGED; speakers' LiveKit rights change at once (no reconnect). Host and co-hosts are never locked.
44. Mute everyone
Purpose: Every speaker's mic off (each can turn theirs back on, unless mics are locked).
Endpoint: POST {base_url}/meetings/{meetingId}/mute-all
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: data: null, message "Everyone muted" (room message MUTED_ALL).
Refusals (409, data.code): NOT_HOST.
B7. Meeting chat, polls, questions, reactions
Kept while the meeting is on (24 h at most), never recorded. Everyone in the meeting (any role) may use them; others
get NOT_IN_MEETING. The request shapes and reaction set are the live's, so one set of rules for the app.
Juma writes ─► POST …/chat ─► server ─► room message CHAT {seq: 42} ─► every phone: GET …/chat?after=<last seq>
(the room message never carries the words: ids only)
45. Write in the meeting chat
Endpoint: POST {base_url}/meetings/{meetingId}/chat
Access Level: 🔒 Protected (people in the meeting; when chat is locked, host and co-hosts only)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Request JSON Sample:
{"text": "Slide 3 please", "replyTo": 41}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
text |
string | Yes | The line | 1–500 characters |
replyTo |
long | No | The seq of the line you answer |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Sent",
"action_time": "2026-11-28T17:12:00",
"data": {
"seq": 42,
"person": {"accountId": "5b0d…", "name": "Juma", "userName": "juma", "userProfileMedia": null},
"role": "SPEAKER",
"text": "Slide 3 please",
"replyTo": {"seq": 41, "accountId": "3213…", "text": "Any questions on the new pri…"},
"at": "2026-11-28T14:12:00Z"
}
}
Success Response Fields:
| Field | Description |
|---|---|
role |
The badge at the time of writing: HOST · CO_HOST · SPEAKER (on stage) · LISTENER |
replyTo.text |
The first 80 characters of the line answered |
Refusals (409, data.code): NOT_IN_MEETING · CHAT_LOCKED · NOT_FOUND ("That message is gone": replyTo too old).
46. Read the meeting chat
Purpose: On join after=0 (the last 500 lines); then after each CHAT room message, after=<your last seq>.
Endpoint: GET {base_url}/meetings/{meetingId}/chat
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
after |
long | No | Lines after this seq |
0 |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Chat",
"action_time": "2026-11-28T17:12:01",
"data": {
"lines": [ { "seq": 42, "person": {"accountId": "5b0d…", "name": "Juma", "userName": "juma", "userProfileMedia": null},
"role": "SPEAKER", "text": "Slide 3 please", "replyTo": null, "at": "2026-11-28T14:12:00Z" } ],
"pinned": null,
"lastSeq": 42,
"chatLocked": false
}
}
Success Response Fields:
| Field | Description |
|---|---|
pinned |
The pinned line (show on top) or null |
lastSeq |
Keep it for the next after |
chatLocked |
Draw the input off (unless you're host / co-host) |
47. Pin a chat line
Endpoint: PUT {base_url}/meetings/{meetingId}/chat/{seq}/pin
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
seq |
long | Yes | The line |
Success Response JSON Sample: the chat page (as #46), message "Pinned" (room message PIN {seq}).
Refusals (409, data.code): NOT_HOST ("Only the host or a co-host pins") · NOT_FOUND.
48. Unpin the chat line
Endpoint: DELETE {base_url}/meetings/{meetingId}/chat/pin
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: the chat page, message "Unpinned".
49. Start a poll
Endpoint: POST {base_url}/meetings/{meetingId}/polls
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Request JSON Sample:
{"question": "Which colour first?", "options": [{"text": "Red"}, {"text": "Blue"}, {"productId": "e5d1…"}], "seconds": 60}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
question |
string | Yes | ≤ 120 | |
options |
array | Yes | 2–4 choices; each is words (text ≤ 60) or a product (productId) |
POLL_OPTION |
seconds |
int | No | Closes itself after this; empty = until ended (#52) |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Poll started",
"action_time": "2026-11-28T17:15:00",
"data": {
"pollId": "4c2a…", "question": "Which colour first?",
"options": [{"text": "Red", "productId": null, "votes": 0}, {"text": "Blue", "productId": null, "votes": 0},
{"text": null, "productId": "e5d1…", "votes": 0}],
"endsAt": "2026-11-28T14:16:00Z", "open": true, "votes": 0, "myVote": null
}
}
Refusals (409, data.code): NOT_HOST ("Only the host or a co-host starts a poll") · POLL_OPTION ("Each choice is
words or a product").
Notes:
- Room message
POLL {itemId: pollId}at start and end, and every 2 s while votes change → read #50.
50. The polls
Endpoint: GET {base_url}/meetings/{meetingId}/polls
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: data: [ <poll as #49> ], message "Polls". myVote = your choice (0–3) or null.
51. Vote
Endpoint: POST {base_url}/meetings/{meetingId}/polls/{pollId}/votes
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
pollId |
uuid | Yes | The poll |
Request JSON Sample:
{"option": 1}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
option |
int | Yes | The choice's place | 0–3 |
Success Response JSON Sample: the poll with your vote counted, message "Voted".
Refusals (409, data.code): ALREADY_VOTED (once) · POLL_ENDED · POLL_OPTION ("No such choice") · NOT_FOUND.
52. End a poll
Endpoint: POST {base_url}/meetings/{meetingId}/polls/{pollId}/end
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
pollId |
uuid | Yes | The poll |
Success Response JSON Sample: the poll with open: false, message "Poll ended".
Refusals (409, data.code): NOT_HOST ("Only the host or a co-host ends a poll") · NOT_FOUND.
53. Ask a question
Endpoint: POST {base_url}/meetings/{meetingId}/questions
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Request JSON Sample:
{"text": "Is delivery free to Arusha?", "productId": null}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
text |
string | Yes | 1–150 | |
productId |
uuid | No | A question about this product |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Asked",
"action_time": "2026-11-28T17:20:00",
"data": {
"questionId": "d1e2…",
"person": {"accountId": "5b0d…", "name": "Juma", "userName": "juma", "userProfileMedia": null},
"text": "Is delivery free to Arusha?", "productId": null,
"meToo": 0, "iMeToo": false, "answered": false, "at": "2026-11-28T14:20:00Z"
}
}
Notes:
- Room message
QUESTION {itemId: questionId}→ read #54.
54. The questions
Purpose: Open ones first, then most "me too".
Endpoint: GET {base_url}/meetings/{meetingId}/questions
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: data: [ <question as #53> ], message "Questions".
55. "Me too"
Purpose: Tap again to take it back (a toggle).
Endpoint: POST {base_url}/meetings/{meetingId}/questions/{questionId}/me-too
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
questionId |
uuid | Yes | The question |
Success Response JSON Sample: the question with meToo and iMeToo updated, message "Me too".
Refusals (409, data.code): NOT_FOUND ("Question not found").
56. Mark answered
Endpoint: POST {base_url}/meetings/{meetingId}/questions/{questionId}/answered
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
questionId |
uuid | Yes | The question |
Success Response JSON Sample: the question with answered: true, message "Answered".
Refusals (409, data.code): NOT_HOST ("Only the host or a co-host marks answers") · NOT_FOUND.
57. Send reactions
Purpose: The phone counts taps and sends them in a batch (every 1–2 s). Every 2 s the room gets the mix.
Endpoint: POST {base_url}/meetings/{meetingId}/reactions
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Request JSON Sample:
{"taps": [{"reaction": "HEART", "count": 7}, {"reaction": "CLAP", "count": 2}]}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
taps |
array | Yes | 1–5 kinds | |
taps[].reaction |
enum | Yes | HEART · LAUGH · FIRE · LOVE · CLAP (the live's set) |
|
taps[].count |
int | Yes | 1–1000 |
Success Response JSON Sample: data: null, message "Counted".
Notes:
- Room message every 2 s:
{type: "REACTIONS", meetingId, counts: [{reaction, emoji, count}]}→ float them.
B8. Selling and gifts
The shelf says what is pinned and when; the phone draws each card from the product / ticket / group APIs it already uses. Kept 24 h (as long as a sale can be credited).
58. Pin to the meeting
Purpose: Pin a product (shop meetings: the shop's own) or a ticket (the host's own events). One is pinned at a time; earlier pins stay on the shelf.
Endpoint: POST {base_url}/meetings/{meetingId}/pins
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Request JSON Sample:
{"productId": "e5d1…"}
Request Body Parameters (one of the two):
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
productId |
uuid | one of | A product of the meeting's shop | shop meetings only |
ticketId |
uuid | one of | A ticket type of the host's own event (a DONATION ticket shows its progress) |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Pinned",
"action_time": "2026-11-28T17:25:00",
"data": {
"pinned": {"type": "PRODUCT", "itemId": "e5d1…", "pinnedAt": "2026-11-28T14:25:00Z", "donation": null},
"items": [
{"type": "PRODUCT", "itemId": "e5d1…", "pinnedAt": "2026-11-28T14:25:00Z", "donation": null},
{"type": "TICKET", "itemId": "9a8b…", "pinnedAt": "2026-11-28T14:05:00Z",
"donation": {"target": 500000, "raised": 120000, "donations": 14}}
],
"canPin": true
}
}
Refusals (409, data.code):
| Code | When |
|---|---|
NOT_HOST |
only host / co-host pins |
NOT_A_SHOP_MEETING |
products only in a shop's meeting |
NOT_THE_SHOPS |
a product of another shop |
NOT_THE_ORGANISERS |
a ticket of someone else's event |
NOT_FOUND |
product / ticket not found |
Notes:
- Room message
PIN_ITEM {itemId}→ everyone reads #60. A donation →DONATION_PROGRESS {itemId: ticketId}.
59. Unpin
Endpoint: DELETE {base_url}/meetings/{meetingId}/pins
Access Level: 🔒 Protected (host, co-hosts)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: the shelf with pinned: null, message "Unpinned".
60. The meeting's shelf
Endpoint: GET {base_url}/meetings/{meetingId}/pins
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Success Response JSON Sample: as #58, message "Shelf".
Success Response Fields:
| Field | Description |
|---|---|
pinned |
Show big; type PRODUCT · TICKET · GROUP (a group buy: itemId = the group) |
canPin |
Draw the pin tools (host / co-host) |
donation |
DONATION tickets only: target, raised, donations (read when shown, never stored) |
Notes:
- A buyer tapping a card → #64
{from: MEETING, sourceId: meetingId, item: PRODUCT | TICKET | GROUP, itemId}.
61. Start a group buy from the meeting
Purpose: The shop's owner opens a normal group buy for a product; it's pinned at once (sale origin MEETING).
Endpoint: POST {base_url}/meetings/{meetingId}/group-buys
Access Level: 🔒 Protected (the shop's owner, in a shop meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Request JSON Sample:
{"productId": "e5d1…"}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
productId |
uuid | Yes | The product (it must allow group buying) |
Success Response JSON Sample: the shelf with pinned.type: "GROUP", message "Group buy started".
Refusals (409, data.code): NOT_HOST ("Only the shop's owner starts a group buy") · NOT_A_SHOP_MEETING ·
NOT_THE_SHOPS · the group-buy rules (group purchase doc).
62. Pin a product in a shop call ("this one?")
Endpoint: POST {base_url}/calls/{callId}/pins
Access Level: 🔒 Protected (the shop side of the call: someone answering for the shop)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
callId |
uuid | Yes | The call | UUID |
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
shopId |
uuid | Yes | The shop you answer for | — |
Request JSON Sample:
{"productId": "e5d1…"}
Success Response JSON Sample: a shelf (as #58, products only), message "Pinned".
Refusals (409, data.code): NOT_THE_SHOP ("Only the shop pins in its call": not on the call for that shop) · NOT_THE_SHOPS (another shop's product). No right to answer the shop's calls → 403.
63. A shop call's shelf
Endpoint: GET {base_url}/calls/{callId}/pins
Access Level: 🔒 Protected (both sides of the call)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
callId |
uuid | Yes | The call | UUID |
Query Parameters:
| Parameter | Type | Required | Description | Validation | Default |
|---|---|---|---|---|---|
shopId |
uuid | No | The shop side reads with it | — |
Success Response JSON Sample: as #58, message "Shelf".
Notes:
⚠️WhenNothesignalshopispins,sentthe customer getscall.pinned {callId, productId}on the personal channel → read this and show the card. Also read it when theshop pins in a call(found while writing this doc; review item). Today the customer's app only sees a pin by reading this endpoint: on opening thecallscreen,screenand with a "Refresh" on the shelf.opens.- The customer's tap → #64
{from: CALL, sourceId: callId, item: PRODUCT, itemId}.
64. A tap on a pinned card (sale origin)
Purpose: Tell the backend the buyer opened something from a meeting or a call, so a buy within 24 h counts for it.
The one tap endpoint of the whole app (live, meetings, calls, posts, links…); full description in the live doc (#85
replaced by /sale-taps) and docs/analytics/SALE_ORIGINS_PLAN.md.
Endpoint: POST {base_url}/sale-taps
Access Level: 🔒 Protected (any account)
Authentication: Bearer token
Request JSON Sample:
{"from": "MEETING", "sourceId": "88bb…", "item": "PRODUCT", "itemId": "e5d1…"}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
from |
enum | Yes | MEETING · CALL here |
|
sourceId |
uuid | Yes | The meeting id / call id | |
item |
string | Yes | Meetings: PRODUCT · TICKET · GROUP. Calls: PRODUCT |
|
itemId |
uuid | Yes | What was tapped | on the shelf (NOT_ON_SHELF) |
Success Response JSON Sample:
{"success": true, "httpStatus": "OK", "message": "Tap", "action_time": "2026-11-28T17:26:00", "data": {"recorded": true}}
Refusals (409, data.code): NOT_ON_SHELF ("That isn't in this meeting / call") · NOT_IN_MEETING · NOT_IN_CALL.
Notes:
recorded: false= it didn't count (your own shop's product as owner or staff, your own content): fine, nothing to show.
65. Gifts in meetings and calls
Purpose: Send a moment gift to someone on the stage (a meeting) or to the other person (a call). Full description:
docs/gift/GIFT_SYSTEM_SPEC.md and the gift API.
Endpoints:
- GET
{base_url}/gifts/catalogue?place=MEETING&contextId={meetingId}— the gifts that can be sent here - POST
{base_url}/gifts/moments
Access Level: 🔒 Protected (people in the meeting / call)
Authentication: Bearer token
Request JSON Sample:
{"itemId": "6f6e…", "receiverId": "3213…", "place": "MEETING", "contextId": "88bb…", "idempotencyKey": "tap-7f2c-0001"}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
itemId |
uuid | Yes | The gift (from the catalogue) | the item lists this place |
receiverId |
uuid | Yes | Meetings: the host, a co-host or a speaker (listeners don't receive). Calls: another person in the call | |
place |
enum | Yes | MEETING · CALL |
|
contextId |
uuid | Yes | The meeting id / call id | |
idempotencyKey |
string | Yes | Made by the app per tap; a retry sends the same one | ≤ 64 |
Notes:
- Room message
GIFT_MOMENT {itemId: momentId}in a meeting → read the moment and play it. An admin chooses which giftGift itemscan be sentwork in meetings and calls by default (a new item with noplacesgets every place that's built); an admin can take an item out of meetings or calls (itemplaces).
B8a. Flash price and coupon drop in a meeting
The live's two money tools, in a meeting. Same request shapes, same answers, same checkout as the live (live doc #95–#98
flash, #89–#94 drops): a flash piece is held 10 minutes at checkout, maxPerPerson, "sold out at the flash price", one deal
per product, the volume step wins when lower. What is different in a meeting:
| Live | Meeting | |
|---|---|---|
| Who starts / stops | the shop's owner (or staff with the right) | the host of a shop meeting (the shop's owner). Coupons: the shop's, or the host's own event's |
| The product | on the live's shelf | pinned on the meeting's shelf (#58) |
| "Watchers only" (default on) | watching the live | joined the meeting (and not removed) |
| The room is told | live room events FLASH_… / DROP_… |
room message FLASH / DROP {itemId} → read #69 / #72 |
| A sale with the coupon | counts for the live | counts for the meeting (sale origin MEETING) |
Example: Mama Yoyo's shop meeting "Kanga deals". She pins the red kanga (2,500) and starts a flash price of 2,000, 1 piece:
- ✅ Juma joined the meeting → checkout gives him 2,000 and holds the piece 10 min.
- ❌ Neema isn't in the meeting → she pays 2,500.
- ❌ Ali joined, but Juma holds the only piece → "Sold out at the flash price" (
FLASH_PIECES_LEFT).
68. Start a flash price
Endpoint: POST {base_url}/meetings/{meetingId}/flash
Access Level: 🔒 Protected (the host of a shop meeting)
Authentication: Bearer token
Path Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
meetingId |
uuid | Yes | The meeting | UUID |
Request JSON Sample:
{"productId": "e5d1…", "price": 2000, "minutes": 5, "pieces": 10, "maxPerPerson": 2, "watchersOnly": true}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
productId |
uuid | Yes | The shop's product, pinned in this meeting | |
price |
number | Yes | The flash price | lower than the price (FLASH_PRICE) |
minutes |
int | Yes | How long | 1, 3, 5 or 10 (FLASH_TIME) |
pieces |
int | No | How many at this price; empty = no limit | ≥ 1 |
maxPerPerson |
int | No | Per buyer | 1–99, default 2 |
watchersOnly |
boolean | No | Only people who joined the meeting get it | default true |
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Flash price on",
"action_time": "2026-11-28T17:30:00",
"data": {
"flashId": "f1a2…", "streamId": "88bb…", "productId": "e5d1…", "price": 2000, "originalPrice": 2500,
"pieces": 10, "left": 10, "endsAt": "2026-11-28T17:35:00+03:00", "watchersOnly": true, "ended": false, "maxPerPerson": 2
}
}
Success Response Fields: as the live's flash price (FlashView). streamId holds the meeting id here (same shape
as the live).
Refusals (409, data.code): NOT_A_SHOP_MEETING · NOT_HOST · NOT_THE_SHOPS · NOT_ON_SHELF (pin it first) ·
FLASH_TIME · FLASH_PRICE · DEAL_RUNNING (this product already has a deal) · MEETING_ENDED.
69. The flash prices running
Endpoint: GET {base_url}/meetings/{meetingId}/flash
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Success Response JSON Sample: data: [ <flash as #68> ], message "Flash prices". Read it on join and on each FLASH
room message (start, pieces taken or bought, stop, end); count down with endsAt.
Refusals (409, data.code): NOT_IN_MEETING.
70. Stop a flash price
Endpoint: POST {base_url}/meetings/{meetingId}/flash/{flashId}/stop
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Success Response JSON Sample: the flash with ended: true, message "Flash price stopped".
Refusals (409, data.code): NOT_HOST · NOT_FOUND.
71. Drop a coupon
Purpose: The first N people in the meeting grab it; each can use it for the time picked (validFor).
Endpoint: POST {base_url}/meetings/{meetingId}/drops
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Request JSON Sample:
{"couponId": "c0c0…", "people": 20, "seconds": 60, "validFor": "HOUR_1", "watchersOnly": true}
Request Body Parameters:
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
couponId |
uuid | Yes | A coupon of the meeting's shop, or of the host's own event | NOT_YOUR_COUPON |
people |
int | Yes | How many can grab | 1–1000 |
seconds |
int | Yes | How long it can be grabbed | 15–900 |
validFor |
enum | No | How long a grabbed coupon lasts (live doc #89) | default HOURS_24 |
watchersOnly |
boolean | No | Only people who joined the meeting | default true |
Success Response JSON Sample: the drop (the live's DropView: dropId, couponId, title, kind, value, people,
left, endsAt, validFor…; streamId = the meeting id), message "Coupon dropped".
Refusals (409, data.code): NOT_HOST · NOT_YOUR_COUPON · the coupon's own (COUPON_ENDED, COUPON_NOT_STARTED,
COUPON_RAN_OUT, COUPONS_OFF) · MEETING_ENDED.
72. The drops running
Endpoint: GET {base_url}/meetings/{meetingId}/drops
Access Level: 🔒 Protected (people in the meeting)
Authentication: Bearer token
Success Response JSON Sample: data: [ <drop as #71> ], message "Drops". Read on join and on each DROP room message.
73. Grab a coupon
Endpoint: POST {base_url}/meetings/{meetingId}/drops/{dropId}/grab
Access Level: 🔒 Protected (people in the meeting; accounts at least 3 days old)
Authentication: Bearer token
Success Response JSON Sample:
{"success": true, "httpStatus": "OK", "message": "Grabbed", "action_time": "2026-11-28T17:31:00",
"data": {"dropId": "d0d0…", "couponId": "c0c0…", "usableUntil": "2026-11-28T18:31:00+03:00"}}
Refusals (409, data.code): NOT_IN_MEETING · JOIN_FIRST (watchers only: join the room first) · DROP_ALL_TAKEN ·
DROP_ENDED · ALREADY_GRABBED · ACCOUNT_TOO_NEW.
Notes:
- The coupon is applied at checkout like any held coupon. A purchase from the shop (or the event) while it lasts counts for the meeting.
74. Stop a drop
Endpoint: POST {base_url}/meetings/{meetingId}/drops/{dropId}/stop
Access Level: 🔒 Protected (the host)
Authentication: Bearer token
Success Response JSON Sample: the drop with ended: true, message "Drop stopped".
Refusals (409, data.code): NOT_HOST · NOT_FOUND.
B9. Admin
66. Call settings
Purpose: The numbers behind calls and meetings, changed without a release.
Endpoint: GET {base_url}/admin/calls/settings
Access Level: 🔒 Protected (super admin)
Authentication: Bearer token
Success Response JSON Sample:
{
"success": true,
"httpStatus": "OK",
"message": "Call settings",
"action_time": "2026-11-27T10:30:45",
"data": {
"peoplePerCall": 8, "camerasOffAbove": 4,8, "speakersPerMeeting": 8, "listenersPerMeeting": 300,
"callCameraQuality": "P720", "groupCameraQuality": "P360", "departureTimeoutSeconds": 40,
"simulcast": true, "adaptiveStream": true, "dynacast": true, "audioRed": true, "audioDtx": true,
"updatedAt": "2026-11-26T09:00:00"
}
}
Success Response Fields:
| Field | Description |
|---|---|
peoplePerCall |
Most people in a call (CALL_TOO_LARGE, CALL_FULL) |
camerasOffAbove |
Above this many |
speakersPerMeeting · listenersPerMeeting |
Meeting seats (SPEAKER_LIMIT, MEETING_FULL) |
callCameraQuality · groupCameraQuality |
maxCameraQuality in 1:1 / groups and meetings |
departureTimeoutSeconds |
How long LiveKit keeps a dropped person's place |
| the switches | Copied into every join answer's media |
67. Change call settings
Endpoint: PUT {base_url}/admin/calls/settings
Access Level: 🔒 Protected (super admin)
Authentication: Bearer token
Request JSON Sample:
{"listenersPerMeeting": 500, "groupCameraQuality": "P540"}
Request Body Parameters (empty fields keep their value):
| Parameter | Type | Required | Description | Validation |
|---|---|---|---|---|
peoplePerCall |
int | No | 2–50 | |
camerasOffAbove |
int | No | 1–50 | |
speakersPerMeeting |
int | No | 1–50 | |
listenersPerMeeting |
int | No | 0–10000 | |
callCameraQuality · groupCameraQuality |
enum | No | P360 · P540 · P720 |
|
departureTimeoutSeconds |
int | No | 10–300 | |
simulcast · adaptiveStream · dynacast · audioRed · audioDtx |
boolean | No |
Success Response JSON Sample: the settings (as #66).
Part C — Shared shapes
C1. Person card (CallPerson)
{"accountId": "5b0d…", "name": "Juma", "userName": "juma",
"userProfileMedia": {"fileId": "…", "status": "READY", "mimeType": "image/jpeg", "thumbUrl": "https://…"}}
Pictures are always the standard media object (like profile pictures), never a bare URL. userProfileMedia is null
when the person has no picture.
C2. The join answer (CallTokenResponse)
| Field | Type | Description |
|---|---|---|
callId |
uuid | The call / meeting |
roomName |
string | call_<id> or meet_<id> |
token |
string | LiveKit token: one room, one person, 10 min. Its rights = your role + the locks |
url |
string | LiveKit address — always from here |
kind |
enum | AUDIO · VIDEO |
state |
enum | RINGING · ACTIVE · OPEN … |
media |
object | See below |
startMuted |
boolean | Meetings: join with the mic off (only present for meetings) |
waiting |
boolean | Calls: only present (true) when it rings as call waiting |
media — switch on in the LiveKit SDK exactly as given:
connect(url, token, {
adaptiveStream: media.adaptiveStream, dynacast: media.dynacast,
publishDefaults: { simulcast: media.simulcast, red: media.audioRed, dtx: media.audioDtx,
videoResolution: media.maxCameraQuality (P360 → 640×360, P540 → 960×540, P720 → 1280×720) } })
| Field | Description |
|---|---|
simulcast · adaptiveStream · dynacast |
Send 2–3 qualities, receive only the size on screen, pause layers nobody watches |
audioRed · audioDtx |
Sound survives lost packets; silence costs almost nothing |
maxCameraQuality |
The highest camera size to send (P720 1:1, P360 groups by default) |
camerasOffAbove |
Only to explain the camera button being off (the token already refuses it) |
C3. A call or meeting (CallResponse)
| Field | Present | Description |
|---|---|---|
callId · conversationId · kind · state · outcome |
always | outcome once ended (A4) |
initiatorJid |
always | Old. Use initiatorAccountId |
initiatorAccountId |
lists | Who started it |
createdAt · answeredAt · endedAt · durationSeconds |
always | |
myRole |
meetings | HOST · CO_HOST · SPEAKER · LISTENER |
mode |
meetings | NOW · LINK · SCHEDULED |
title · description · scheduledAt · endsAt · linkExpiresAt |
meetings | |
shopId |
shop meetings / shop calls | |
coverMedia |
meetings with a banner | standard media object |
options |
meetings | {guestsCanInvite, guestsSeeInvited, linkJoinsStraightIn, whoCanAskToSpeak, startMuted} |
access |
meetings | Old (INVITED / OPEN); ignore |
link · hostToken · invites · speakerLimit · invitedAsListeners |
create answer only | #12 |
C4. Values
| Enum | Values |
|---|---|
CallKind |
AUDIO · VIDEO |
CallState |
RINGING · ACTIVE · SCHEDULED · OPEN · ENDED |
CallOutcome |
COMPLETED · MISSED · DECLINED · CANCELLED · FAILED · BUSY |
CallRole |
HOST · CO_HOST · SPEAKER · LISTENER |
MeetingMode |
NOW · LINK · SCHEDULED |
InviteState |
WAITING · ACCEPTED · DECLINED · WITHDRAWN · REMOVED · EXPIRED |
MyPlace |
HOST · ACCEPTED · WAITING |
MeetingButton |
JOIN · ACCEPT · DECLINE · EDIT · INVITE · COPY_LINK · CANCEL · END |
AskToSpeak |
EVERYONE · FOLLOWED · INVITED |
WhoCanCall |
EVERYONE · CONTACTS · NOBODY |
CameraQuality |
P360 · P540 · P720 |
ShelfType |
PRODUCT · TICKET · GROUP |
| Reactions | HEART · LAUGH · FIRE · LOVE · CLAP |
Part D — Real time
D1. Personal channel events (Centrifugo, personal:#<accountId>)
Every event: {type, data}. A shop's events go to the shop channel and its terminals without a token.
| Type | data |
What the app does |
|---|---|---|
call.incoming |
{callId, conversationId, kind, from, roomName, url, token, waiting?, participantCount, groupId?, groupName?, groupAvatar?} |
Ring. Answer = connect with this token. waiting: true → "End & answer / Decline". Group: show the group name first, the caller under it |
call.updated |
{callId, conversationId, state: "ACTIVE", answeredBy} |
Answered on one of your devices: the others stop ringing |
call.ended |
{callId, conversationId, outcome, durationSeconds?, callActive?} |
Stop ringing / close the call screen. callActive: true = only your ring stopped, the group call goes on (offer Join) |
call.running |
{callId, conversationId, kind?, running} |
Group chat bar on / off (read #7 for the faces) |
call.pinned |
{callId, productId} |
A shop call: the shop pinned "this one?" → read #63, show the card |
meeting.scheduled |
{meetingId, title, scheduledAt, hostJid, conversationId?, meeting {…}, host {name}} |
You were invited (put it in My meetings) |
meeting.starting |
{meetingId, title, action: "MEETING_STARTING", meeting {…}, host {name}} |
The room is open. No token on purpose: the person decides to join |
meeting.admitted |
{meetingId} |
You were let in: call #18 again with the same link |
meeting.denied |
{meetingId} |
"The host didn't let you in" |
D2. Room messages (LiveKit data, topic nexgate.meeting, sent by the server)
Shape: {type, meetingId, accountId?, role?, seq?, itemId?} — keys and ids only. Ignore any nexgate.meeting message
not sent by the server.
| Type | To | Fields | What the app does |
|---|---|---|---|
ROLE_CHANGED |
room | accountId, role |
Update the badge. If it's you: get a new token (#17) and reconnect |
HAND_RAISED · HAND_LOWERED |
host + co-hosts | accountId |
Refresh #34 |
MUTED |
the person | accountId |
"The host muted you" (you may turn it on) |
MUTED_ALL |
room | — | Speakers: mic off |
REMOVED |
room | accountId |
If it's you: leave, "You were removed" |
KNOCK |
host + co-hosts | accountId |
Refresh #39 ("Ben is asking to join") |
LOCKS_CHANGED |
room | — | Re-read the locks (from #43's answer / your rights) and draw buttons off |
CHAT |
room | seq |
GET …/chat?after=<your last seq> |
PIN |
room | seq |
Pinned chat line changed (read #46) |
POLL |
room | itemId (pollId) |
Read #50 (start, end, every 2 s while votes change) |
QUESTION |
room | itemId |
Read #54 |
REACTIONS |
room | counts: [{reaction, emoji, count}] (shape {type, meetingId, counts}) |
Float them (every 2 s) |
PIN_ITEM |
room | itemId |
Read the shelf (#60) |
DONATION_PROGRESS |
room | itemId (ticketId) |
Re-read the shelf (progress bar) |
GIFT_MOMENT |
room | itemId (momentId) |
Read the moment, play it |
FLASH |
room | itemId (flashId) |
Read #69 (started, pieces moved, stopped / ended) |
DROP |
room | itemId (dropId) |
Read #72 (dropped, grabbed, stopped / ended) |
D3. Push (app closed)
The incoming call push (CHAT_INCOMING_CALL) carries the same fields as call.incoming, with the token: the phone
can connect straight from the notification. CHAT_CALL_ENDED (push only, silent) stops a ringing phone: outcome, or
ANSWERED_ELSEWHERE.
Part E — Notifications
All are in the notification workbook (NOTIFICATION_TEMPLATES.xlsx, CHAT band). The text below is the agreed draft;
the app gets the values and writes the sentence.
| Type | To | When | Title / body (draft) | Data the app uses |
|---|---|---|---|---|
CHAT_INCOMING_CALL |
the callee | at once (URGENT, rings) | {{caller.name}} is calling | callId, token, url, kind, group fields, waiting? → Answer / Decline |
CHAT_CALL_ENDED |
everyone rung, all devices | at once (silent) | — | callId, outcome (or ANSWERED_ELSEWHERE) → stop ringing |
CHAT_MISSED_CALL |
who didn't pick up | rang out | Missed call from {{caller.name}} · {{call.time}} | actions: [CALL_BACK, MESSAGE], callerAccountId / callerShopId, callId, conversationId |
CHAT_MEETING_INVITE |
the person invited | invited | {{host.name}} invited you to {{meeting.title}} · Starts {{meeting.start_time}} | meetingId → My meetings row |
CHAT_MEETING_INVITE_ANSWERED |
the host | grouped, ≤ 1 / 15 min (LOW) | {{first.name}} answered your invite · {{answers.accepted}} accepted · {{answers.declined}} no thanks | first {name, accountId}, answers {accepted, declined, others} |
CHAT_MEETING_INVITE_WITHDRAWN |
the person | taken back (in-app) | {{host.name}} took back an invite | meetingId |
CHAT_MEETING_REMOVED |
the person | removed | You were removed from a meeting | meetingId |
CHAT_MEETING_KNOCK |
the host | someone asks to join (HIGH) | {{person.name}} is asking to join | meetingId, accountId → Admit / Deny |
CHAT_MEETING_LINK_JOINED |
the host | grouped, ≤ 1 / 15 min (in-app) | {{first.name}} joined by your link · {{joins.count}} joined | first {name}, joins {count, others} |
CHAT_MEETING_REMINDER |
people who accepted | 24 h and 15 min before | {{meeting.title}} starts soon · {{host.name}} · {{meeting.start_time}} | lead: DAY_BEFORE · MINUTES_15 |
CHAT_MEETING_HOST_GET_READY |
the host | 15 min before (HIGH) | Your meeting starts in 15 min · get ready | meetingId → Join |
CHAT_MEETING_STARTING |
people in it | when the room opens | {{meeting.title}} is starting | meetingId → Join |
CHAT_MEETING_UPDATED |
everyone invited | changed (HIGH) | {{meeting.title}} was changed | changedFields: TITLE · DESCRIPTION · START · END · BANNER |
CHAT_MEETING_CANCELLED |
everyone invited | cancelled (HIGH) | {{meeting.title}} was cancelled | meetingId |
CHAT_MEETING_ROLE_CHANGED |
the person | role changed (HIGH) | {{host.name}} made you a {{meeting.role}} | meetingId, role |
CHAT_MEETING_ENDED |
people still in | ended | {{meeting.title}} has ended · after {{meeting.duration}} | meetingId |
A meeting never sends a "missed meeting".
Part F — Every refusal code
| Code | Where | Meaning |
|---|---|---|
AMBIGUOUS_TARGET |
#1 | none or more than one target |
NO_COUNTERPARTY |
#1 | nobody to ring |
ALREADY_IN_CALL |
#1 | you are on a call |
BUSY |
#1 | they have a call and one waiting |
BLOCKED |
#1 #4 #17 #18 | a block, or their "Who can call me" (same code on purpose) |
CALL_NOT_CONTACT |
#1 #4 | not someone you can chat with yet |
CALL_TOO_LARGE |
#1 #4 | over peoplePerCall |
CALL_FULL |
#2 | the group call is full |
NOT_A_MEMBER |
#1 | an invitee isn't in the group |
NOBODY_TO_RING |
#1 | nobody picked takes your calls |
NOT_A_PARTICIPANT |
#1 #6 #7 #12 | not in that chat / call |
NOT_INVITED |
#2 #17 | not rung / not on the list |
REMOVED_FROM_CALL |
#2 | removed from this call |
CALL_ENDED |
#2 #4 | over |
NOT_A_CALL |
#2 | that's a meeting |
NOT_A_MEETING |
#15 #17 | that's a call |
NOT_IN_CALL |
#4 #8 #9 #62–#64 | join first / they aren't in it |
NOT_INITIATOR |
#8 #9 | only who started the call |
NOT_A_GROUP_CALL |
#8 #9 | group calls only |
NOT_A_PERSONAL_CALL |
#4 | shop calls and meetings |
TITLE_REQUIRED |
#12 | schedule needs a title |
IN_THE_PAST |
#12 #13 | start in the past |
END_BEFORE_START |
#12 #13 | end not after start |
LINK_IS_JUST_A_LINK |
#12 | LINK with a time or people |
NOT_SHOP_OWNER |
#12 | asShopId not yours |
COVER_CONTEXT · COVER_NOT_FOUND · COVER_NOT_YOURS · COVER_NOT_IMAGE · COVER_UPLOADING · COVER_FAILED |
#12 #13 | the banner |
INVITE_LIMIT |
#12 #22 | 20 invites a day |
NOT_HOST |
many | host (or host / co-host) only — the reason says which |
MEETING_ENDED |
#13–#19 #40 | over |
EVENT_MEETING |
#13 #14 #22 | an event's meeting: change the event / speaker invites only |
EVENT_MEETING_LINK |
#19 | no listener links in an event meeting |
SPEAKERS_FULL |
#22 | event meeting speaker seats taken |
NOT_OPEN_YET |
#17 #18 | more than 10 min before the start |
WAITING_FOR_HOST |
#17 #18 | a link meeting not opened yet |
ANSWER_INVITE_FIRST |
#17 | accept first |
REMOVED_FROM_MEETING |
#17 #18 | removed |
MEETING_LOCKED |
#17 #18 #24 | locked, you're new |
MEETING_FULL |
#17 #18 | listeners full |
TICKET_REQUIRED |
#17 | event meeting, no online ticket (details = eventId) |
IN_WAITING_ROOM |
#18 | not an error: waiting to be let in |
LINK_EXPIRED |
#18 | reset or past 30 days |
CANNOT_SHARE_HOST |
#19 | no HOST links |
CANT_INVITE_HERE |
#22 | guests may not invite |
CANT_SEE_INVITES |
#23 | guests may not see the list |
NO_INVITE |
#24 #25 #27 | no invite |
INVITE_WITHDRAWN |
#24 #25 | taken back |
INVITE_EXPIRED |
#24 #25 | the meeting is over |
NOT_WAITING |
#27 | already answered |
CANT_REMOVE_HOST |
#28 | a co-host can't remove the host / other co-host |
NOT_IN_MEETING |
#28 #30 #32 #35 #37 #38 #45–#57 #64 | not in it |
WHO_MISSING |
#29 | no accountId |
ROLE_NOT_HERE |
#29 | only speaker / listener there; co-hosts with #30 |
SPEAKER_LIMIT |
#29 #35 | the speakers are full |
CO_HOST_LIMIT |
#30 | 2 co-hosts already |
IS_HOST |
#30 #31 | that's the host |
ALREADY_SPEAKING |
#32 | you can speak |
CANT_ASK |
#32 | not allowed to ask |
CANT_ACT_ON |
#37 #38 | not on the host / the other co-host |
CHAT_LOCKED |
#45 | chat off |
POLL_OPTION |
#49 #51 | words or a product / no such choice |
ALREADY_VOTED |
#51 | once |
POLL_ENDED |
#51 | closed |
NOT_A_SHOP_MEETING |
#58 #61 | products only in shop meetings |
NOT_THE_SHOPS |
#58 #61 #62 | another shop's product |
NOT_THE_ORGANISERS |
#58 | someone else's event ticket |
NOT_THE_SHOP |
#62 | only the shop pins in its call |
NOT_ON_SHELF |
#64 #68 | not on this meeting's / call's shelf |
NOT_YOUR_COUPON |
#71 | not the meeting shop's coupon, nor your own event's |
JOIN_FIRST |
#73 | watchers-only drop: join the room first |
FLASH_TIME · FLASH_PRICE · DEAL_RUNNING · FLASH_PIECES_LEFT · FLASH_MAX_PER_PERSON |
#68, checkout | the live's flash rules (live doc) |
DROP_ALL_TAKEN · DROP_ENDED · ALREADY_GRABBED · ACCOUNT_TOO_NEW · COUPON_… |
#71 #73 | the live's drop and coupon rules |
NOT_FOUND |
many | the thing is gone (reason says which) |
Part G — Numbers and settings
| What | Value | Where it's set |
|---|---|---|
| A call rings | 45 s, then MISSED |
server config app.livekit.ring-timeout-seconds |
| A join token lives | 10 min | app.livekit.token-ttl-seconds |
| People per call · cameras off above | 8 · |
admin #67 |
| Speakers · listeners per meeting | 8 · 300 | admin #67 |
| Camera 1:1 · groups | P720 · P360 | admin #67 |
| A dropped person's place kept | 40 s | admin #67 |
| Doors open | 10 min before the start | fixed |
| Links | 30 days; link meetings unused 30 days close | fixed |
| Co-hosts | 2 | fixed |
| Invites | 20 a day per person (a whole chat = 1) | fixed |
| Grouped host notices | ≤ 1 per meeting per 15 min | fixed |
| Chat · polls · questions · hands · waiting room | Redis, 24 h (chat: last 500 lines) · hands / knocks 12 h | fixed |
| Shelf | 24 h | fixed |
| Room ticker (reactions, poll counts) | every 2 s | fixed |
| TURN (networks that block UDP) | off — config only, waits for the owner's cost OK | livekit/livekit.yaml |
Part H — Found while writing this doc (review items)
- ✅ Fixed 2026-11-27: #29 set role
acceptstookHOSTand/CO_HOSTand then skips(past the 2-co-hostlimit;limit) and "listener"through it doesn'didn't cut the mic atonceonce.(#38Nowdoes). Proposal: #29 takesspeaker / listener only (SPEAKERLISTENERROLE_NOT_HEREonly,), listener goes through the #38 path. - ✅ Fixed 2026-11-27:
Aa pin in a shop call now sendsno signal(#62): the customer only sees it by reading #63. Proposal: a personal eventcall.pinned {callId, productId}to theother side of the call.customer. Not✅builtBuilt 2026-11-27 (known,K33): flash price and coupon dropand flash priceinmeetings.meetings (#68–#74).
Change log
| Version | Date | What |
|---|---|---|
| 1.0 / 1.1 | 2026-08 / 09-14 | Calls and meetings reference (repo root), verified on staging |
| 2.0 | 2026-11-26 | Revamp summary appended (phases 1–9, event meetings) |
| 3.6 | 2026-11-27 | Gift items work in meetings and calls by default (K34) |
| 3.5 | 2026-11-27 | One meaning of "contacts" (real link) for calls and invites; group calls ring unless NOBODY |
| 3.4 | 2026-11-27 | Cameras for everyone up to 8 (default camerasOffAbove 4 → 8) |
| 3.3 | 2026-11-27 | Call seats: only people ringing or in the call hold one (K7) |
| 3.2 | 2026-11-27 | Flash price and coupon drop in shop meetings (#68–#74, FLASH / DROP room messages) |
| 3.1 | 2026-11-27 | #29 speaker / listener only (ROLE_NOT_HERE); call.pinned for shop-call pins |
| 3.0 | 2026-11-27 | Rewritten in the live doc's standard and moved to docs/calls/: Part A (pieces, words, call or meeting, states, kinds, real time, 14 flows, which endpoint for which screen), 67 endpoints with samples and refusals, shapes, real-time events and room messages, notifications, every code, numbers; refusal envelope corrected (success: false, data.code); SSE replaced by Centrifugo; two review items found |