Live Streaming API (New) Author : Josh S. Sakweli, Backend Lead Team Last Updated : 2026-11-27 Version : v4.2 (2026-11-27 day: Live Spaces is gone β€” merged into audio lives, see F7a; clips live previews teach the recommendation engine; sale-tap rules (staff, 1:1 chats, taps in reports); "who can invite me" covers meetings, one meaning of "contacts"; flash price and coupon drop also in meetings. v4.1: finding lives: the home row, See all, lives in the clips feed, one bubble nudge, "πŸ”” All lives", the red ring everywhere; swipe removed; flash per-person limit and clear refusals, bargain for several pieces, the card's buttons and volume steps) Base URL : http://localhost:8765/api/v1 (local) Β· https://dev.api.nexgate.co/api/v1 (staging) Media servers : SRS stream.dev.nexgate.co (video in and out) Β· LiveKit wss://livekit.dev.nexgate.co (the stage) Β· Centrifugo wss://…/connection/websocket (real time) Short Description : NexGate Live lets a person or a shop go live with video or audio, sell while live (pinned products, coupon drops, flash prices, group buys, bargains, auctions, gifts), bring guests on the screen, and hold an online event for ticket holders. This document explains how live works from zero (Part A), then documents every endpoint (Part B), the shared answer shapes (Part C), every real-time event (Part D) and the notifications (Part E). It is written for the app developers (Android, iOS, web). Hints : Every endpoint needs Authorization: Bearer (a signed-in account). The only exception is the SRS hooks (Part F), which are server to server. The backend decides, the app draws. Cards come with buttons[] , the host toolbar comes from GET …/tools , the start quality comes from play . Never compute these on the phone. The backend sends data, not sentences (times, counts, keys). The app writes the sentence in the user's language. A few …Text fields ( watchingText ) are ready-made short labels. A person is always an accountId with a LiveHost card ( accountId , name , userName , userProfileMedia ). Refusals are HTTP 409 with a code in data . Branch on data.code , never on the message. Money is TZS. It is only shown to the people allowed to see it (the shop owner, the event organiser). Times are ISO 8601 with offset ( 2026-11-28T20:00:00+03:00 ). at inside real-time events is epoch milliseconds. No recording. When a live ends, the video is gone. Only the numbers (the summary) stay. Live Spaces is gone: it is merged into audio lives. There is no /live/spaces/… any more (those calls fail). A "Space" is now a live with mode: LIVE_AUDIO : host, speakers on the stage, listeners, raise a hand. How the old Space parts map to the new ones: A6 β€Ί F7a . This is the one live doc. It replaces the short reference live_api_doc.md (v3.0) and the old live_streaming_api_doc.md (v1.1); both removed 2026-11-27 (in git history). What changed for the app, change by change: docs/changelog/frontend_changelog_2026-11-25_live.md and frontend_changelog_2026-11-26_event_venue.md . Standard Response Format All answers use the Globe Response Builder envelope. Success Response Structure { "success": true, "httpStatus": "OK", "message": "Live created", "action_time": "2026-11-26T10:30:45", "data": { } } Error Response Structure { "success": false, "httpStatus": "BAD_REQUEST", "message": "Error description", "action_time": "2026-11-26T10:30:45", "data": "Error description" } Refusal Structure (409) β€” the one the app branches on Every "no" the live rules give (not live now, not your live, the screen is full, buy a ticket…) is a 409 CONFLICT with a machine code: { "success": false, "httpStatus": "CONFLICT", "message": "This live isn't on now", "action_time": "2026-11-26T10:30:45", "data": { "code": "NOT_LIVE", "reason": "This live isn't on now", "details": null } } 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 (for example admin endpoints). 404 NOT_FOUND : the live does not exist, or the host blocked you / you blocked the host (the app can't tell the difference on purpose). 409 CONFLICT : a live rule said no. Read data.code . Each endpoint lists its codes under Refusals . 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 live works (start here) A1. The pieces Five systems take part in a live. The phone talks to each for one job only: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ NexGate backend (this API) β”‚ β”‚ rules Β· bookings Β· comments Β· selling Β· money β”‚ β””β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ REST (this doc) β”‚ β”‚ publishes β”‚ checks every β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ events β”‚ publish / play β”‚ β–Ό β”‚ (SRS hooks) β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ β”‚ Centrifugo β”‚ β”‚ β”‚ β”‚ real-time events β”‚ β”‚ β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β”‚ β”„β”„β”„β”„β”„β”„β”„β”„β”Όβ”„β”„β”„β”„β”„β”„β”„β”„ websocket (everyone) β”‚ β–Ό β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β” RTMP / WHIP β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” FLV / HLS β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ HOST PHONE β”‚ ─────────────► β”‚ SRS video β”‚ ──────────► β”‚ VIEWER PHONE β”‚ β”‚ (or a camera) β”‚ 2–3 qualities β”‚ server β”‚ + CDN edge β”‚ (player) β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ joins the stage room β”‚ (audio live: the server mixes β–Ό β”‚ the stage and sends it to SRS) β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ LiveKit stage β”‚ β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ host + guests β”‚ guests β”„β”„β”„ talk / camera β”„β”„β”„ host phone mixes them (video) β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ Piece What it does The phone uses it for Backend Every rule, every list, every button, every money step All REST calls in this document SRS (video server) Receives the host's video and sends it out to viewers Host: publish to the rtmpUrl / whipUrl from ingest-key . Viewer: play the URLs from play Centrifugo Pushes events (comments, pins, reactions, polls…) to everyone in the room in under a second Subscribe to the channels from realtime LiveKit A small real-time room for the host and the people on the screen (guests, co-hosts, speakers) Host and guests join with the token from stage/token File Thunder Stores pictures (the live's banner) Upload the banner with context LIVE_COVER , send its id The backend never carries video . It hands out addresses and checks, and SRS asks the backend before it lets anyone publish or play. A2. Words used in this document Word Meaning Live One broadcast ( streamId ). Video ( LIVE_VIDEO ) or audio ( LIVE_AUDIO ). Host The person who runs the live. For a shop live, the shop's owner (or the staff member hosting). Shop live A live "as the shop" ( as: SHOP ). Followers of the shop are told; sales go to the shop. Booking A live set for later ( SCHEDULED ). Public (with a post and Remind me) or private. Draft A live made for "now" that hasn't started sending video yet. Viewer Anyone watching. Stage / screen The people shown next to the host: guests and up to 2 co-hosts . In an audio live they are speakers. Moderator Someone the host trusts to clean comments. Picked once, helps in every live of that host (or shop). Host's team Host + co-hosts + moderators. Some screens and actions are team only. Room The live's stream of events (comments, pins, polls…). Everyone watching reads it. Hosts' room A second stream only the team reads (held comments, requests to join, sales). Shelf Things attached to a live (products, tickets, the shop…). One of them can be pinned (shown big). Event live The live of an online event: only online ticket holders watch (see A6 β€Ί F12). A3. The states of a live publish first video β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β” (SRS says media arrived) β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” first video piece β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ DRAFT β”‚ ───────────────────────────► β”‚ STARTING β”‚ ────────────────────► β”‚ LIVE β”‚ β””β”€β”€β”€β”€β–²β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β–²β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”¬β”€β”€β”€β”€β”˜ β”‚ β”‚ β”‚ β”‚ "Continue" (within 10 min) β”‚ host taps End β”‚ reports β”‚ β”‚ or away > 2 min β”‚ β”„β”„β”„β”„β”„β”„β”„β”„β–Ίβ”Œβ”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β” β”‚ β”‚ PAUSED β”‚ β”‚ β”‚ SCHEDULED β”‚ (a booking; goes β”‚β—„β”„β”„β”„β”„β”„β”„β”„β”„β”„ β””β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β”‚ β””β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜ STARTING when the β”‚ NexGate lets it continue β”‚ β”‚ host publishes) β–Ό β”‚ β”‚ cancel β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” └────────────────────────────────────────┼───────────────────── β”‚ ENDED β”‚ β–Ό β”‚ (video gone; the β”‚ β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β” β”‚ summary stays) β”‚ β”‚ CANCELLED β”‚ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ State Meaning What the app shows DRAFT Made for now, no video yet Host: the go-live screen SCHEDULED Booked for later Card with time, Remind me / Edit / Cancel STARTING The host's video arrived, the first piece is on its way (a second or two) "Starting…" LIVE On air The player; hostAway: true means the host's video dropped, back within 2 min PAUSED NexGate paused it after reports "This live is being reviewed" ENDED Over. endedReason : HOST_ENDED , HOST_LOST , NEVER_STARTED , ADMIN_ENDED End screen; host: summary, "Continue" until canContinueUntil CANCELLED A booking that will not happen Card shows cancelled There is no "go live" button that changes the state. The host asks for an ingest key and starts sending video. The live becomes LIVE when SRS tells the backend that video arrived. The app never sets a state. A4. Kinds of live Kind How it is made Differences Personal video POST /live/streams {mode: LIVE_VIDEO} The host phone sends 2–3 qualities; guests join through LiveKit and the host phone mixes them in Personal audio {mode: LIVE_AUDIO} No camera. The host and speakers talk in the LiveKit room; the server mixes them and sends one sound to SRS; listeners hear it like radio (screen off works) Shop live {as: SHOP, shopId} Owned by the shop; shop followers told; selling tools for the shop Staff live From the NexGate Shop terminal app A staff member hosts for the shop; money stays with the owner (F13) Event live Chosen in the event form (venue NexGate Live) Booked when the event is published; only online ticket holders (and the team) get in (F12) External camera source: CAMERA A camera or OBS sends the video instead of the phone (F10) A5. Real time: the three channels phone ── GET /realtime/connection ──► { wsUrl, token } ── connect the Centrifugo SDK once per app session β”‚ β”œβ”€β”€ personal:# Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β· always subscribed (no extra token) β”‚ "your friend went live", "a seat is free for you", "someone replied to you" β”‚ β”‚ opening a live: β”œβ”€β”€ POST /live/streams/{id}/realtime ──► { room: {channel, token}, hosts: {channel, token} | null } β”‚ β”œβ”€β”€ live_room: Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β· everyone watching: comments, pins, reactions, polls, deals… └── live_hosts: Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β· the host's team only: held comments, join requests, sales Join: read GET /live/streams/{id}/room once (the last 100 events), then subscribe to live_room: . Apply events in seq order. If a seq is missing, read room again. Fallback : if Centrifugo can't be reached ( enabled: false , or the socket keeps failing), read GET …/room every fallbackPollSeconds (2 s) and apply events newer than your last seq . Every event looks the same: {seq, type, streamId, at, data} . All types are in Part D . live_list:all (Live now screen): view counts every 30 s and "this live ended". A6. The flows, screen by screen Each flow says who does what and which endpoint to call. Endpoint numbers (#) point to Part B. F1. Go live now (host, from the phone) Host phone Backend SRS Followers ────────── ─────── ─── ───────── 1 create {when: NOW} ─────────────► DRAFT, checks rules 2 ingest-key {network} ───────────► key + 2–3 publish targets 3 start the encoder ─────────────────────────────────────────────► publish ?key=… ◄────── hook "publish": key ok? β”˜ STARTING ◄────── hook "hls": first piece LIVE ──► "is live" push + FEED_NEW nudge β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β–Ί πŸ”” 4 realtime + room ────────────────► channels for comments etc. 5 … the live … 6 end ────────────────────────────► ENDED, summary built in 3 s POST /live/streams (#1) {when: "NOW", title, mode} β†’ a LiveCard in DRAFT . The rules are checked here (account age, 18+, not banned, one live at a time). POST /live/streams/{id}/ingest-key (#9) with the phone's network ( WIFI , MOBILE , WEAK ) β†’ the key and the qualities to send ( publish[] , each with an rtmpUrl and a whipUrl ). Send exactly what it says. Start the encoder to those URLs. The live becomes STARTING , then LIVE by itself. POST …/realtime (#14) + GET …/room (#15): open the room and show comments. During the live: the toolbar GET …/tools (#86) decides which buttons the host sees. POST …/end (#12). The host sees the summary (#130) a few seconds later. F2. Book a live for later (host) Upload the banner (optional) to File Thunder with context LIVE_COVER , keep its file id. POST /live/streams (#1) {when: "LATER", scheduledFor, title, coverMediaId, remindersOpen, caption} . remindersOpen: true (default): the backend makes a normal post with the caption and the live attached. People tap Remind me on it. remindersOpen: false : a private booking . No post, nobody told; only the host sees it. Rules: 15 minutes to 30 days ahead, at most 5 waiting bookings, lives at least 2 hours apart. Later: edit (#2, the time locks 30 minutes before), cancel (#3), switch reminders (#4), see who's waiting (#5). Reminders go out by themselves (a day before, 15 min before, at the start). The host gets "get ready" 15 minutes before. At the time, the host opens the booking and does F1 steps 2–6 (no new create). After ending, the host gets Book again? and can book the same live next week with one tap (#6). Monday: book Friday 8 pm ──► post "Kanga sale Friday" ──► 12 people tap πŸ”” Thursday 8 pm Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·β–Ί "goes live soon" (day before) Friday 7:45 pm Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·Β·β–Ί "starts in 15 min" + host "get ready" Friday 8:00 pm host publishes ──► LIVE ──► "is live now" to the 12 + followers F3. Watch a live (viewer) Viewer phone Backend SRS 1 open the card (Live now, post, push…) 2 play {deviceId, network} ──────────────────► addresses + start quality 3 player opens the FLV (or HLS) URL ─────────────────────────────────────► play ?token=… ◄──── hook "play": token ok? β”˜ 4 realtime + room ───────────────────────────► room channel 5 watching (every 30 s) ─────────────────────► counts you, checks a ticket in 6 LIVE_ENDED arrives β”„β”„β”„β–Ί end screen: GET …/after Cards carry buttons[] . WATCH means open the player. POST /live/streams/{id}/play (#10) {deviceId, network} β†’ addresses[] (FLV for 2–3 s delay, HLS as a backup, LISTEN_ONLY for sound only), startQuality and player settings. Start playing within 5 minutes ( startBefore ). One account, one phone: asking from a second phone makes the first phone's next start fail. Use FLV first. If it fails, use HLS. Let the viewer switch quality from the list. Open the room (A5). POST /live/streams/{id}/watching?from=LIVE_FEED (#22) every 30 s while the player is on screen. from once, the first time (where the viewer came from). When LIVE_ENDED arrives: GET /live/streams/{id}/after (#131) for the end screen (follow the host, next live, other lives now). F4. Comments and keeping the live clean Post: POST …/comments (#24). The answer says where it went: ROOM : everyone sees it (it also comes back on the room channel). ONLY_YOU : a blocked word. Show it only to the writer, as if sent. HELD : a phone number or link from a viewer. It waits for the team (hosts' room HELD_COMMENT ). Reply with a quote: send replyToSeq . The person replied to gets COMMENT_REPLY on their personal channel. Badges: every comment carries role ( HOST , CO_HOST , MODERATOR , ON_STAGE , VIEWER ) and speaksAs (when someone talks as their shop). The team can delete (#27), pin (#28), mute a person (#25), slow mode (#26), approve or decline held comments (#30–32), and remove someone from the live (#33). Moderators and blocked words: #35–39. Anyone can report the live (#34). Many trusted reports in 2 minutes pause it ( PAUSED ); NexGate then continues or ends it. F5. Taking part: reactions, polls, questions Reactions (#40): send taps in batches ( [{reaction: "HEART", count: 7}] ), at most 15 a second. Everyone gets a REACTIONS mix every 2 seconds. Draw the floating hearts from it. Polls (#44): host or co-host, 2–4 options (words or products on the shelf), 1, 2 or 5 minutes or until ended. Votes #47; results every 2 s ( POLL_RESULTS ). Questions (#49): one every 30 s per person; others tap "me too"; the host puts one on screen ( QUESTION_ON_SCREEN ) and marks it done. Who's watching : top fans for everyone (#42), the full list for the team (#43). F6. Guests and co-hosts on the screen (video live) viewer asks to join host accepts Viewer ──── POST …/stage/requests ────► hosts' room STAGE_REQUEST ────► POST …/requests/{id}/accept β”‚ STAGE_CHANGED (room) β—„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”„β”˜ Guest ──── POST …/stage/token ────► LiveKit token ──► joins the LiveKit room "live-stage-" Host phone ── sees the guest in LiveKit ──► mixes host + guests into the video it sends to SRS Viewers ── see everyone in the one video Three ways onto the screen: Ask : a viewer asks (#55); the host accepts (#58). Invite : the host invites someone (#63) as GUEST or CO_HOST (max 2). Before the live or during it. They get LIVE_STAGE_INVITE and answer (#67) or join (#68). Speaker link : the host makes a link (#70); whoever opens it (#71) is invited. Seats: seatsNow next to the host now, seatsMax at most (video 2 / 5, audio 4 / 7). A full screen answers SCREEN_FULL . Who can go on: accounts at least 3 days old, 18+, not removed, nobody on screen blocked. Everyone on the screen gets a LiveKit token (#72). The host mixes them in (video). Leave (#74), remove (#73: a co-host is removed by the host only). F7. Audio live Create with mode: LIVE_AUDIO and who may ask to speak ( whoCanAsk : EVERYONE , FOLLOWED , INVITED ). ingest-key answers serverMix: true and an empty publish[] . The host phone does not send to SRS. It joins the LiveKit room ( stage/token ), and the server mixes everyone on the stage and sends it to SRS. Listeners play the AUDIO (or AUDIO_32K on a weak network) address. It keeps playing with the screen off. Stage tools: mute someone (never unmute, #75), raise a hand (#76), who is talking (#77, the host phone reports LiveKit's active speakers at most once a second), send listeners on to another live at the end (#78). F7a. Live Spaces β†’ audio live (Spaces is gone) Spaces was removed on 2026-11-25 (live revamp phase 6). Everything a Space did, an audio live does , and more (comments, reactions, polls, gifts, selling, booking, reminders). An app that still calls /live/spaces/… gets errors: move it to these. Old Space Now (audio live) POST /live/spaces create #1 POST /live/streams {mode: LIVE_AUDIO, whoCanAsk} GET /live/spaces/{id} read #8 GET /live/streams/{id} POST /live/spaces/{id}/stage open the stage #9 ingest-key (answers serverMix: true ) + #72 stage token: the host joins the LiveKit room, the server mixes POST /live/spaces/{id}/join join the audience #10 play addresses ( AUDIO / AUDIO_32K ): listen like radio PUT /live/spaces/{id}/hand raise / lower a hand #76 raise / lower my hand (or #55 ask to join the stage) PUT /live/spaces/{id}/speakers/{userId} make a speaker #58 accept a request Β· #63 invite someone to the stage Β· #70 / #71 speaker link DELETE /live/spaces/{id}/speakers/{userId} back to listener #73 remove someone from the stage DELETE /live/spaces/{id}/me leave #74 leave the stage (a listener just stops playing) GET /live/spaces/{id}/participants who is here #54 the stage now Β· #77 who is talking Β· #43 who is watching POST /live/spaces/{id}/end end #12 end a live Space chat / stage events Part D (room live_room: ): COMMENT , STAGE_… , SPEAKING Group voice that should not be public (a team, friends): use a meeting or a group call β€” docs/calls/calls_meetings_api_doc.md . F8. Selling in a live shelf (attach) ──► pin one ──► PIN (room) with a ready card ──► viewer taps ──► checkout (normal app checkout) #80 #82 price, flash, group, #85 the order remembers instalments, free delivery "sold in this live" Shelf : attach products, tickets, the shop, an event (#80). Pin one at a time (#82); a viewer's tap (#85). A pinned product comes with its live card (price now, flash price, group, instalments, free delivery). A pinned donation ticket carries its target. Coupon drop (#89): the shop drops a coupon for N people for some seconds; viewers grab (#94). DROP_STARTED , DROP_LEFT , DROP_ENDED . Flash price (#95): a lower price for 1–10 minutes, optional limited pieces. Checkout applies it to people who tapped in the live. Free delivery (#99): a shop live pays delivery (or half) for orders from the live. Goals (#101): up to 2 at once (orders, pieces, revenue, followers, watching, gifts), optional timer, optional reward fired by the backend (a drop, a flash price, free delivery, or a promise). Group buy (#106) / ticket group (#109): start a group from the live; progress on the room. Bargain (#110): viewers offer a price; the shop accepts, counters or says no; an agreed price becomes a chat offer. Auction (#118): timed bidding; bids are held from the wallet; the win becomes a pickup order paid by the held bid. The winner can pick delivery in the order. Gifts (#123): on or off. Gifts go to the host and anyone on the screen (shop live: to the shop's owner). Sending a gift uses the gift API (gift spec). Sales so far (#88, team, money to the seller only) and the after-live summary. F9. Bad network and coming back The host phone tells ingest-key its network. On a weak network it sends fewer qualities. Host's video drops : the live stays LIVE with hostAway: true (room HOST_RECONNECTING ). If the video comes back within 2 minutes (same key), it carries on ( HOST_BACK ). After 2 minutes it ends ( HOST_LOST ). Continue : for 10 minutes after any end (lost connection or a mistaken End), the host sees CONTINUE . POST …/continue (#11) reopens the same live (same viewers' links, same comments); followers aren't told again. Viewer's network : play picks the start quality; the player uses player.targetDelayMs , catches up at catchUpRate and jumps to now when more than jumpWhenBehindMs behind. F10. External camera (OBS, a camera with RTMP) GET /live/stream-from (#124): may this account use a camera? (30-day account with a verified phone, or a verified shop.) Create the live with source: CAMERA (or switch later, #127). GET …/camera (#125): the server URL and the camera's own key (separate from the phone's). Reset it if it leaks (#126). The camera connects β†’ a private preview ( cameraConnected , health). The host gets LIVE_CAMERA_CONNECTED . POST …/go-live (#128) makes it public (or autoStart at the booked time). Switch back to the phone at any time (#127). Only one source is on air at a time. Guests for OBS: GET …/stage/window (#79) gives a page token for an OBS browser source. F11. After the live Host: GET …/summary (#130): duration, peak, average watch time, new followers, reactions, gifts, drops, auctions, groups, polls, goals, where viewers came from, viewers per minute with markers, and sales (money only to the seller). Ready 3 s after the end; LIVE_SUMMARY_READY notification. Viewer: GET …/after (#131): the end screen. "From my last live": GET /live/last-live (#132): the products of someone's last live, for 24 h. F12. Event lives (online events) Event form ─ Online details ─ "Where?" [ πŸ”΄ NexGate Live (default) ] [ πŸŽ₯ NexGate Meeting ] [ πŸ”— Other link ] β”‚ publish the event ──► backend books the live at the event's start (no post, no Remind me) β”‚ β”‚ move / cancel the event β”„β”„β–Ί the live moves / is cancelled with it β”‚ Ticket holder ── GET /e-events/{id}/online ──► button STARTS_LATER ──► JOIN (10 min before) β”‚ β”‚ └──── EVENT_ONLINE_STARTED notice when it goes on air β”€β”€β”˜β”€β”€β–Ί open the live (roomId) and watch No ticket ──► card BUY_TICKET; play / room / realtime / comments β†’ TICKET_REQUIRED Who gets in without a ticket : the organiser, the organiser's moderators, anyone on the stage or invited to it (including by speaker link). Everyone else needs an online ticket . Watching checks the ticket in. The live's own time and cancel are refused ( EVENT_LIVE ): move or cancel the event . GET /e-events/{eventId}/online (#135) is the one button for the event page and the ticket. Since v4.1: an online ticket has no QR (the gate refuses online tickets); a ticket bought for someone can be given to their account ( otherAttendees[].accountId , they watch on their own phone); watching checks in once per event day ; a multi-day event gets one live per day (the button's roomId moves to the next day's live); the live can be audio ( virtualDetails.liveMode ); if it never goes on air , online tickets are refunded 60 min after the start; the organiser is paid only 24 h after the end . F13. Shop staff live Staff go live for the shop only from the NexGate Shop terminal app (shop right GO_LIVE ). They use the same endpoints; money tools that need the owner (drops of new coupons, lowering group prices) stay with the owner. LiveCard.staffHost: true . Hand over to another staff member (#129). The owner can end a staff-hosted live. F14. Finding lives Home feed ( πŸ”΄ )( πŸ”΄ )( πŸ”΄ )( πŸ”΄ )( πŸ”΄ ) ( See all β†’ ) ← #143 the row Β· #17 See all Mama DJ Duka Neema Ali Clips feed: clip Β· clip Β· clip Β· πŸ”΄ LIVE preview Β· clip … ← clips feed with lives=true Bubble: "πŸ”΄ Mama Yoyo is live Β· 12 new posts" ← FEED_NEW nudge β†’ GET /feed/home/has-new The row above the home feed (#143): up to 10 circles, people / shops the viewer knows first, then friends watching, then ⭐ suggestions; seeAll β†’ show See all . See all (#17): full cards with a reason ( FOLLOWING , FRIENDS_WATCHING , TRENDING , SELLING …), filters kind=VIDEO|AUDIO|SHOP (Shop = live shopping), Later today . Page with cursor (send it empty first, then each nextCursor ), so the order never jumps while scrolling. There is no Live tab: See all is reached from the row. Lives in the clips feed : GET /feed/reels?lives=true may return one item kind: "LIVE" between clips (about one in 20–30 clips, learning per person; followed people sooner). Play it muted at low quality in the slot; it is a viewer only after 3 s or a tap (then call #22 heartbeat as usual). Tell the backend how long they stayed: #146. Tapping any live opens it; swiping up from a live continues into the clips feed. Swipe (#18) is removed. The bubble : when someone the viewer follows goes live (or posts), a connected app gets FEED_NEW on the personal channel (no content) and asks GET /feed/home/has-new ; its lives lists followed people / shops live now, once. A celebrity's live sends no nudge: it is pulled (has-new, row, See all) β€” Part D. "πŸ”” All lives" (#144, #145): a follower who wants the phone notification for every live of a person / shop, even a celebrity's (celebrities notify only Remind me + All lives). The red ring : live: {streamId, kind} (or null) on post and clip authors, profiles, shop pages and shop cards, search results, people / shop suggestions, followers / following lists and comment authors. A shop live rings the shop , never the staff member hosting it. My lives (#19), someone's lives (#20), a shop's lives (#21). A live attached to a post: the post carries a LiveCard (#23). A7. Which endpoint for which screen Screen Endpoints Create live form #1 create Β· File Thunder upload ( LIVE_COVER ) Β· #124 may I use a camera Booking card (host) #2 edit Β· #3 cancel Β· #4 reminders switch Β· #5 who's waiting Β· #6 book again Booking card (viewer) #7 Remind me Go-live screen #8 read Β· #9 ingest key Β· #125–#128 camera Host on air #14 channels Β· #15 room Β· #16 hosts' room Β· #86 toolbar Β· #12 end Β· stage #54–#79 Β· shelf #80–#85 Β· selling #87–#123 Viewer player #10 play Β· #14 Β· #15 Β· #22 heartbeat Β· #24 comment Β· #40 reactions Β· #47 vote Β· #49 ask Β· #55 ask to join Β· #147 tap Β· #94 grab Β· #112 offer Β· #120 bid End screens #130 summary (host) Β· #131 after (viewer) Β· #11 continue Β· #6 book again Home row / See all / clips #143 row Β· #17 See all Β· clips feed lives=true Β· #146 preview time Β· channel live_list:all Profile / shop #20 Β· #21 Β· #132 from the last live My lives #19 Post composer #23 attach a live Settings #133 read Β· #134 change Moderators and blocked words #35–#39 My stage invites #65–#69 Event page / ticket #135 online button App start #13 real-time connection Admin #136–#142 Part B β€” Endpoints Every path below starts with the base URL ( /api/v1 ). Shapes used by many endpoints ( LiveCard , StreamResponse , PlayResponse , the room event) are in Part C ; real-time event types are in Part D . B1. Creating and booking a live 1. Create a live (now or booked) Purpose : Make a live to start now (a DRAFT ) or book one for later ( SCHEDULED ), as yourself or as your shop. Endpoint : POST {base_url}/live/streams Access Level : πŸ”’ Protected (any account allowed to go live; staff only from the shop terminal) Authentication : Bearer token Request JSON Sample : { "as": "ME", "shopId": null, "when": "LATER", "scheduledFor": "2026-11-28T20:00:00+03:00", "mode": "LIVE_VIDEO", "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMediaId": "9a1f…", "remindersOpen": true, "caption": "Friday 8 pm, come early for the drop πŸŽ‰", "whoCanAsk": "EVERYONE", "source": "PHONE", "autoStart": null, "stageInvites": [{"accountId": "55aa…", "role": "CO_HOST"}] } Request Body Parameters : Parameter Type Required Description Validation as string No Who goes live enum ME , SHOP ; default ME shopId uuid If as: SHOP The shop you must own it (staff: from the terminal) when string No Start now or book enum NOW , LATER ; default LATER if scheduledFor is given, else NOW scheduledFor datetime If LATER Start time 15 min to 30 days ahead mode string No Video or audio enum LIVE_VIDEO , LIVE_AUDIO ; default LIVE_VIDEO title string Yes Shown on every card max 120 characters description string No Longer text coverMediaId uuid No Banner picture uploaded to File Thunder with context LIVE_COVER , yours, READY or LIVE_PARTIAL remindersOpen boolean No "Let people get reminded": a booking makes a post with Remind me default true ; false = private booking caption string No The post text for a public booking max 5,000 characters whoCanAsk string No Who may ask to come on the screen enum EVERYONE , FOLLOWED , INVITED ; default EVERYONE source string No Phone or external camera enum PHONE , CAMERA ; default PHONE autoStart boolean No Camera: go public by itself at the booked time once the camera is connected stageInvites array No People invited on the screen at once {accountId, role: GUEST|CO_HOST} ; max 2 co-hosts Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live created", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "SCHEDULED", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["EDIT", "CANCEL", "SEE_WAITING", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false } } Success Response Fields : Field Description * A LiveCard (Part C1): draw its buttons[] exactly postId Not returned: the booking post appears in feeds; the card is what to draw Refusals (409, data.code ): Code When TITLE_REQUIRED no title TITLE_TOO_LONG over 120 characters CAPTION_TOO_LONG caption over 5,000 TIME_REQUIRED LATER without scheduledFor BOOKING_TOO_SOON less than 15 minutes ahead BOOKING_TOO_FAR more than 30 days ahead TOO_MANY_BOOKINGS 5 bookings already waiting (person or shop) TOO_CLOSE another live of yours (or your shops) within 2 hours ALREADY_LIVE you are live now SHOP_ALREADY_LIVE the shop is live now SHOP_REQUIRED as: SHOP without shopId NOT_SHOP_OWNER not your shop ACCOUNT_TOO_NEW the account is too new to go live AGE_RESTRICTED under 18 BANNED_FROM_LIVE NexGate stopped this account from going live for a time COVER_NOT_FOUND / COVER_NOT_YOURS / COVER_CONTEXT / COVER_NOT_IMAGE / COVER_FAILED / COVER_UPLOADING banner problems (see the code name) STAFF_CAMERA_LATER staff can only use the shop app's camera for now Notes : A booking with remindersOpen: true makes a normal post (author: you; for a shop, the owner). Followers see it in their feed. Booking a public live sends no push. The "is live" push goes at the real start to Remind-me people, followers and friends. An event's live is not made here: it is booked from the event form (Part A β€Ί F12). 2. Edit a live Purpose : Change the title, description, banner or (for a booking) the start time. Endpoint : PATCH {base_url}/live/streams/{streamId} Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : { "title": "Kanga sale (part 2)", "description": null, "coverMediaId": null, "removeCover": false, "scheduledFor": "2026-11-29T20:00:00+03:00" } Request Body Parameters : Parameter Type Required Description Validation title string No New title max 120 description string No New description empty clears it coverMediaId uuid No New banner as create removeCover boolean No Take the banner off scheduledFor datetime No Move a booking only SCHEDULED ; booking rules apply Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live updated", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "SCHEDULED", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["EDIT", "CANCEL", "SEE_WAITING", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false } } Success Response Fields : Field Description * A LiveCard (Part C1): draw its buttons[] exactly Refusals (409, data.code ): Code When STREAM_FINISHED the live has ended NOT_SCHEDULED moving something that is not a booking TIME_LOCKED moving in the last 30 minutes before the start EVENT_LIVE an event's live: move the event instead NOT_HOST not your live BOOKING_TOO_SOON / BOOKING_TOO_FAR / TOO_CLOSE the new time breaks a booking rule Notes : A move sends one LIVE_MOVED to the people waiting and moves their reminders. Title and banner changes send nothing. 3. Cancel a booking or draft Purpose : Call off a live that has not started. Endpoint : POST {base_url}/live/streams/{streamId}/cancel Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live cancelled", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "CANCELLED", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["BOOK_AGAIN"], "onStage": [], "locked": false, "eventId": null, "staffHost": false } } Success Response Fields : Field Description * A LiveCard (Part C1): draw its buttons[] exactly Refusals (409, data.code ): Code When CANT_CANCEL it has started (use End) EVENT_LIVE an event's live: change the event NOT_HOST not your live Notes : People waiting get LIVE_CANCELLED . The booking post stays and its card shows CANCELLED (deleting the post is the host's choice). 4. Switch "Let people get reminded" Purpose : Turn a private booking public (makes the post) or a public one private. Endpoint : PUT {base_url}/live/streams/{streamId}/reminders-open Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"open": true, "caption": "Friday 8 pm!"} Request Body Parameters : Parameter Type Required Description Validation open boolean Yes true public, false private caption string No The post text when turning on max 5,000 Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Saved", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "SCHEDULED", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["EDIT", "CANCEL", "SEE_WAITING", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false } } Success Response Fields : Field Description * A LiveCard (Part C1): draw its buttons[] exactly Refusals (409, data.code ): Code When NOT_SCHEDULED only a booking has this switch PEOPLE_WAITING turning off while people tapped Remind me EVENT_LIVE an event's live stays private (the event page is its advert) CAPTION_TOO_LONG caption over 5,000 Notes : Off β†’ on makes the post now. On β†’ off deletes the post. If the host deleted the post herself, the live stays booked; off β†’ on makes a fresh one. 5. Who is waiting Purpose : The people who tapped Remind me on a booking. Endpoint : GET {base_url}/live/streams/{streamId}/waiting Access Level : πŸ”’ Protected (the host or the shop owner) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Query Parameters : Parameter Type Required Description Validation Default page int No Page from 0 0 size int No Page size 30 Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Waiting", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "count": 12, "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "page": 0, "size": 30, "hasNext": false } } Success Response Fields : Field Description count Everyone waiting people LiveHost cards, this page hasNext Another page exists Refusals (409, data.code ): Code When NOT_HOST not your live 6. Book again Purpose : Make a new booking copying an ended (or cancelled) live: title, description, banner, mode, shop. Endpoint : POST {base_url}/live/streams/{streamId}/book-again Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample (the body is optional): {"scheduledFor": "2026-12-05T20:00:00+03:00", "remindersOpen": true, "caption": "Same time next week"} Request Body Parameters : Parameter Type Required Description Validation scheduledFor datetime No When default: the same time next week remindersOpen boolean No Public or private default true caption string No Post text max 5,000 Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Booked", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "SCHEDULED", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["EDIT", "CANCEL", "SEE_WAITING", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false } } Success Response Fields : Field Description * A LiveCard (Part C1): draw its buttons[] exactly Refusals (409, data.code ): Code When BOOKING_TOO_SOON / BOOKING_TOO_FAR / TOO_MANY_BOOKINGS / TOO_CLOSE booking rules NOT_HOST not your live Notes : Right after a live ends the host gets LIVE_BOOK_AGAIN with data.suggestedAt to prefill. 7. Remind me Purpose : A viewer asks to be reminded of a public booking, picking when. Endpoint : PUT {base_url}/live/streams/{streamId}/reminder Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Query Parameters : Parameter Type Required Description Validation Default wanted boolean No false removes the reminder true Request JSON Sample (the body is optional): {"leads": ["DAY_BEFORE", "MINUTES_15"]} Request Body Parameters : Parameter Type Required Description Validation leads array No When to remind DAY_BEFORE , HOUR_BEFORE , MINUTES_15 ; default DAY_BEFORE + MINUTES_15 ; AT_START is always on Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "You will be reminded", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "reminded": true, "myReminder": [ {"lead": "DAY_BEFORE", "at": "2026-11-27T20:00:00+03:00"}, {"lead": "MINUTES_15", "at": "2026-11-28T19:45:00+03:00"}, {"lead": "AT_START", "at": "2026-11-28T20:00:00+03:00"} ] } } Success Response Fields : Field Description reminded Whether you are now reminded myReminder When each reminder goes (the app writes "We'll remind you tomorrow at 8 pm") Refusals (409, data.code ): Code When NOT_SCHEDULED not a public booking Notes : Leads already in the past are skipped. B2. Going live and watching 8. Read a live Purpose : The live's current state, for the host's and the viewer's screens. Endpoint : GET {base_url}/live/streams/{streamId} Access Level : πŸ”’ Protected (anyone who can see it (private bookings: host only)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live", "action_time": "2026-11-26T10:30:45", "data": { "id": "7d1c…", "mode": "LIVE_VIDEO", "state": "LIVE", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "watching": 214, "watchingText": "214 watching", "title": "Kanga sale", "description": "…", "coverMedia": {"fileId": "…", "status": "READY"}, "scheduledFor": null, "audioOnly": false, "hostAway": false, "startedAt": "2026-11-28T20:00:04+03:00", "endedAt": null, "endedReason": null, "canContinueUntil": null, "peakViewers": 230, "source": "PHONE", "cameraConnected": false } } Success Response Fields : Field Description * A StreamResponse (Part C2) 9. Get the ingest key (what the host phone sends) Purpose : Before going live: the key and the exact qualities to send, chosen for the phone's network. Endpoint : POST {base_url}/live/streams/{streamId}/ingest-key Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample (the body is optional): {"network": "WIFI", "weakDevice": false} Request Body Parameters : Parameter Type Required Description Validation network string No The phone's network now enum WIFI , MOBILE , WEAK , UNKNOWN weakDevice boolean No An old / weak phone sends one middle quality Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Ingest key issued", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "ingestKey": "k_4f…", "expiresAt": "2026-11-28T20:30:00+03:00", "serverMix": false, "publish": [ { "quality": "Q720", "width": 1280, "height": 720, "videoKbps": 1500, "audioKbps": 96, "fps": 30, "keyframeSeconds": 1, "rtmpUrl": "rtmp://stream.dev.nexgate.co/live/7d1c…?key=k_4f…", "whipUrl": "https://stream.dev.nexgate.co/rtc/v1/whip/?app=live&stream=7d1c…&key=k_4f…" }, { "quality": "Q480", "width": 854, "height": 480, "videoKbps": 800, "audioKbps": 64, "fps": 30, "keyframeSeconds": 1, "rtmpUrl": "rtmp://…/live_mid/7d1c…?key=k_4f…", "whipUrl": "…" }, { "quality": "Q240", "width": 426, "height": 240, "videoKbps": 300, "audioKbps": 48, "fps": 24, "keyframeSeconds": 1, "rtmpUrl": "rtmp://…/live_low/7d1c…?key=k_4f…", "whipUrl": "…" } ] } } Success Response Fields : Field Description ingestKey The secret that lets this phone publish expiresAt Before going live: start publishing before this (30 min) publish[] Send every target, each to its own URL (RTMP or WHIP) serverMix true for an audio live: send nothing to SRS, join the stage room instead (F7) Refusals (409, data.code ): Code When NOT_HOST not your live STREAM_FINISHED the live has ended SOURCE_IS_CAMERA this live uses the external camera: switch to the phone first ALREADY_LIVE / SHOP_ALREADY_LIVE you (or the shop) already have another live on air Notes : WIFI / UNKNOWN β†’ Q720 + Q480 + Q240 Β· MOBILE β†’ Q480 + Q240 Β· weakDevice β†’ Q480 Β· WEAK β†’ Q240. Audio β†’ one AUDIO target (or serverMix ). Before the live: every call makes a new key. While live: the same key and targets come back, so a dropped encoder can reconnect. The viewers' address never contains this key. 10. Get the play addresses (watch) Purpose : Signed addresses to watch a live that is on, with the start quality and player settings. Endpoint : POST {base_url}/live/streams/{streamId}/play Access Level : πŸ”’ Protected (any viewer (event live: ticket holders and the team)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"deviceId": "a1b2c3-install-id", "network": "MOBILE"} Request Body Parameters : Parameter Type Required Description Validation deviceId string Yes A stable id of this app install network string No Viewer's network enum WIFI , MOBILE , WEAK , UNKNOWN Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Play", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "startBefore": "2026-11-28T20:06:00+03:00", "preferredFormat": "FLV", "startQuality": "Q480", "player": {"targetDelayMs": 2000, "catchUpRate": 1.1, "jumpWhenBehindMs": 10000}, "addresses": [ {"format": "FLV", "quality": "Q720", "url": "https://edge…/live/7d1c….flv?token=…"}, {"format": "HLS", "quality": "Q720", "url": "https://…/live/7d1c….m3u8?token=…"}, {"format": "FLV", "quality": "Q480", "url": "…"}, {"format": "HLS", "quality": "Q480", "url": "…"}, {"format": "FLV", "quality": "LISTEN_ONLY", "url": "https://edge…/live_audio/7d1c….flv?token=…"} ] } } Success Response Fields : Field Description addresses[] One per format and quality; LISTEN_ONLY is sound only preferredFormat Try this first (FLV: 2–3 s behind) startQuality Start here (lowest with data saver or WEAK ) player Player targets: delay, catch-up speed, when to jump to now startBefore Playback must start before this (5 min) Refusals (409, data.code ): Code When DEVICE_REQUIRED no deviceId NOT_LIVE not on air PAUSED NexGate is reviewing it REMOVED_FROM_LIVE the team removed you TICKET_REQUIRED an event live and no online ticket Notes : One token for all addresses. Asking from another phone makes the older phone's next start fail (the one playing is not cut). Audio live: AUDIO and AUDIO_32K (weak networks). 11. Continue the same live Purpose : Reopen a live that ended less than 10 minutes ago (lost connection or a mistaken End). Endpoint : POST {base_url}/live/streams/{streamId}/continue Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live reopened", "action_time": "2026-11-26T10:30:45", "data": { "id": "7d1c…", "mode": "LIVE_VIDEO", "state": "DRAFT", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "watching": 214, "watchingText": "214 watching", "title": "Kanga sale", "description": "…", "coverMedia": {"fileId": "…", "status": "READY"}, "scheduledFor": null, "audioOnly": false, "hostAway": false, "startedAt": "2026-11-28T20:00:04+03:00", "endedAt": null, "endedReason": null, "canContinueUntil": null, "peakViewers": 230, "source": "PHONE", "cameraConnected": false } } Success Response Fields : Field Description * A StreamResponse (Part C2) Refusals (409, data.code ): Code When CANT_CONTINUE past canContinueUntil NOT_HOST not your live Notes : The live goes back to DRAFT : ask ingest-key and publish again. Comments and viewers' links stay; followers are not told again. 12. End a live Purpose : Stop the live now. Endpoint : POST {base_url}/live/streams/{streamId}/end Access Level : πŸ”’ Protected (the host (shop live: also the owner)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live ended", "action_time": "2026-11-26T10:30:45", "data": { "id": "7d1c…", "mode": "LIVE_VIDEO", "state": "ENDED", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "watching": 214, "watchingText": "214 watching", "title": "Kanga sale", "description": "…", "coverMedia": {"fileId": "…", "status": "READY"}, "scheduledFor": null, "audioOnly": false, "hostAway": false, "startedAt": "2026-11-28T20:00:04+03:00", "endedAt": null, "endedReason": "HOST_ENDED", "canContinueUntil": "2026-11-28T21:10:00+03:00", "peakViewers": 230, "source": "PHONE", "cameraConnected": false } } Success Response Fields : Field Description * A StreamResponse (Part C2) canContinueUntil Show "Continue" until then Refusals (409, data.code ): Code When NOT_STARTED never started: use cancel NOT_HOST not your live Notes : Everyone on the screen leaves, open stage invites expire, the summary is built 3 s later ( LIVE_SUMMARY_READY ). B3. Real time 13. Connect to real time Purpose : The Centrifugo address and connection token for this account. Call once when the app starts (and when the token expires). Endpoint : GET {base_url}/realtime/connection Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Realtime connection", "action_time": "2026-11-26T10:30:45", "data": { "enabled": true, "wsUrl": "wss://rt.dev.nexgate.co/connection/websocket", "token": "eyJ…", "expiresAt": "2026-11-28T21:00:00+03:00", "personalChannel": "personal:#3213c20e-…" } } Success Response Fields : Field Description enabled false : real time is off; use the 2 s fallback ( GET …/room ) token Give it to the Centrifugo SDK; it refreshes by calling this again personalChannel Subscribe at once; needs no extra token 14. Open a live's channels Purpose : Subscription tokens for the live room (everyone) and the hosts' room (team only). Endpoint : POST {base_url}/live/streams/{streamId}/realtime Access Level : πŸ”’ Protected (any viewer (event live: ticket holders and the team)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live channels", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "enabled": true, "fallbackPollSeconds": 2, "room": {"channel": "live_room:7d1c…", "token": "eyJ…", "expiresAt": "…"}, "hosts": {"channel": "live_hosts:7d1c…", "token": "eyJ…", "expiresAt": "…"}, "personalChannel": "personal:#3213c20e-…" } } Success Response Fields : Field Description room Subscribe with recovery on hosts null unless you are on the team fallbackPollSeconds Poll GET …/room this often if Centrifugo fails Refusals (409, data.code ): Code When STREAM_FINISHED the live has ended TICKET_REQUIRED an event live and no online ticket 15. Read the room (join snapshot and fallback) Purpose : The last 100 room events, oldest first. Read once when opening a live; poll it only when Centrifugo is down. Endpoint : GET {base_url}/live/streams/{streamId}/room Access Level : πŸ”’ Protected (any viewer (event live: ticket holders and the team)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live room", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "lastSeq": 1842, "events": [ { "seq": 1841, "type": "COMMENT", "streamId": "7d1c…", "at": 1795716004000, "data": { "accountId": "…", "name": "Asha", "userName": "asha", "userProfileMedia": {}, "body": "Bei gani?", "role": "VIEWER", "speaksAs": null, "replyTo": null } }, { "seq": 1842, "type": "WATCHING", "streamId": "7d1c…", "at": 1795716006000, "data": {"watching": 214, "watchingText": "214 watching"} } ] } } Success Response Fields : Field Description lastSeq The newest event; apply live events after it events[] Room events (Part D) Refusals (409, data.code ): Code When TICKET_REQUIRED an event live and no online ticket Notes : Rebuilt at most every 2 s, so polling is cheap. 16. Read the hosts' room Purpose : The last 100 team-only events (held comments, join requests, sales). Endpoint : GET {base_url}/live/streams/{streamId}/hosts-room Access Level : πŸ”’ Protected (the host's team) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Hosts' room", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "lastSeq": 77, "events": [ { "seq": 77, "type": "STAGE_REQUEST", "streamId": "7d1c…", "at": 1795716010000, "data": { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "voiceOnly": false, "askedAt": "…" } } ] } } Refusals (409, data.code ): Code When NOT_HOST not on the team B4. Finding lives and lists 17. Live now Purpose : The Live now screen: lives on air for this viewer with a reason, plus "Later today". Endpoint : GET {base_url}/live/now Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Query Parameters : Parameter Type Required Description Validation Default page int No Page from 0 0 size int No Page size 20 kind string No Filter enum ALL , VIDEO , AUDIO , SHOP ALL cursor string No See all paging : send it empty ( cursor= ) for the first page, then each nextCursor . Without it, page works as before opaque; kept 10 min β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live now", "action_time": "2026-11-26T10:30:45", "data": { "items": [ { "live": { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "LIVE", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": 214, "watchingText": "214 watching", "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["WATCH", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false }, "reasonKind": "FOLLOWING", "reason": "You follow Mama Yoyo", "sellingLive": true } ], "laterToday": [ { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "SCHEDULED", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["EDIT", "CANCEL", "SEE_WAITING", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false } ], "page": 0, "size": 20, "hasNext": true } } Success Response Fields : Field Description items[].reasonKind FOLLOWING , FOLLOWING_SHOP , BOUGHT_HERE , YOU_MAY_KNOW , FRIENDS_WATCHING , TRENDING , SELLING , LIVE items[].sellingLive Something is pinned or on sale: show the bag icon laterToday Bookings later today (first page only) nextCursor With cursor : the next page, null at the end. An expired one β†’ 409 CURSOR_EXPIRED (open See all again) Notes : Subscribe to live_list:all while this screen is open for counts every 30 s and LIVE_ENDED . 18. Swipe (removed) Removed 2026-11-27. Nobody goes into a lives-only swipe: lives come in the clips feed ( GET /feed/reels?lives=true ), the row (#143) and See all (#17). GET /live/swipe answers 404. 19. My lives Purpose : My lives and my shops' lives. Endpoint : GET {base_url}/live/mine Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Query Parameters : Parameter Type Required Description Validation Default status string No Tab enum UPCOMING , LIVE , ENDED all page int No Page 0 size int No Size 20 Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "My lives", "action_time": "2026-11-26T10:30:45", "data": { "items": [ { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "SCHEDULED", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["EDIT", "CANCEL", "SEE_WAITING", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false } ], "page": 0, "size": 20, "hasNext": false } } Success Response Fields : Field Description items LiveCard[] 20. Someone's lives (profile) Purpose : A person's personal lives: on now and upcoming (public bookings only). Endpoint : GET {base_url}/live/people/{accountId} Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation accountId uuid Yes The person UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Lives", "action_time": "2026-11-26T10:30:45", "data": { "liveNow": null, "upcoming": [ { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "SCHEDULED", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["EDIT", "CANCEL", "SEE_WAITING", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false } ] } } 21. A shop's lives Purpose : The shop's lives: on now and upcoming. Endpoint : GET {base_url}/live/shops/{shopId} Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation shopId uuid Yes The shop UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Lives", "action_time": "2026-11-26T10:30:45", "data": { "liveNow": { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "LIVE", "as": "SHOP", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["EDIT", "CANCEL", "SEE_WAITING", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false }, "upcoming": [] } } 22. Watching heartbeat Purpose : Say "I am still watching" every 30 s while the player is on screen. Counts the viewer, checks an event ticket in. Endpoint : POST {base_url}/live/streams/{streamId}/watching Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Query Parameters : Parameter Type Required Description Validation Default from string No Where the viewer came from (send on the first beat) enum LIVE_FEED , SWIPE , NOTIFICATION , POST , PROFILE , SHARE_LINK , CHAT , OTHER β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Watching", "action_time": "2026-11-26T10:30:45", "data": {"streamId": "7d1c…", "watching": 214, "watchingText": "214 watching"} } Notes : Stopping the beats is how the viewer leaves. Removed, blocked and ticket-locked viewers are not counted. 23. Attach a live to my post draft Purpose : Put a live (on air or a public booking) on the post being written. One live per post. Endpoint : POST {base_url}/e-social/posts/draft/attach-live/{streamId} Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live attached to draft", "action_time": "2026-11-26T10:30:45", "data": { "id": "post-draft-uuid", "status": "DRAFT", "attachments": { "live": { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "SCHEDULED", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["EDIT", "CANCEL", "SEE_WAITING", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false } } } } Refusals (409, data.code ): Code When LIVE_NOT_FOUND no such live, or a block either way LIVE_NOT_AVAILABLE private booking, ended or cancelled ONE_LIVE_PER_POST already one live on this post Notes : Remove: DELETE /e-social/posts/draft/remove-live/{streamId} . Create-post body: attachments.streamIds: ["…"] . Every post answer carries attachments.live as a LiveCard read fresh (booked β†’ live β†’ ended). B5. Comments and keeping the live clean 24. Post a comment Purpose : Write in the live, optionally replying to a comment. Endpoint : POST {base_url}/live/streams/{streamId}/comments Access Level : πŸ”’ Protected (any viewer (event live: ticket holders and the team)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"body": "Bei gani?", "replyToSeq": null} Request Body Parameters : Parameter Type Required Description Validation body string Yes The text max 300 characters replyToSeq long No The seq of the comment you reply to (quote + ding to them) Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Posted", "action_time": "2026-11-26T10:30:45", "data": { "visibility": "ROOM", "seq": 1843, "heldId": null, "comment": { "accountId": "…", "name": "Asha", "userName": "asha", "userProfileMedia": {"thumbUrl": "https://…"}, "body": "Bei gani?", "role": "VIEWER", "speaksAs": null, "replyTo": null } } } Success Response Fields : Field Description visibility ROOM everyone sees it Β· ONLY_YOU a blocked word: show it only to the writer Β· HELD a number or link: waits for the team seq Its room seq ( ROOM only) heldId Set when HELD comment.role HOST , CO_HOST , MODERATOR , ON_STAGE , VIEWER : the badge comment.speaksAs A LiveShop when someone speaks as their shop comment.replyTo {seq, accountId, name, body} quote Refusals (409, data.code ): Code When NOT_LIVE not on air EMPTY no text TOO_LONG over 300 MUTED the team muted you TOO_FAST more than 3 in 2 seconds SLOW_MODE slow mode: wait the seconds REMOVED_FROM_LIVE removed from this live REPLY_NOT_FOUND the comment replied to is gone TICKET_REQUIRED event live, no ticket Notes : The team skips slow mode and the rate limit, and may share numbers / links. 25. Mute a person Purpose : Stop someone commenting for a while, or let them again. Endpoint : PUT {base_url}/live/streams/{streamId}/comments/mute/{accountId} Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID accountId uuid Yes The person UUID Query Parameters : Parameter Type Required Description Validation Default muted boolean No false lifts the mute true for string No How long enum ONE_MINUTE , FIVE_MINUTES , WHOLE_LIVE WHOLE_LIVE Success Response JSON Sample : {"success": true, "httpStatus": "OK", "message": "Muted", "action_time": "2026-11-26T10:30:45", "data": null} Refusals (409, data.code ): Code When NOT_HOST_TEAM not on the team Notes : Message Unmuted when lifting. 26. Slow mode Purpose : Allow one comment per N seconds per viewer (0 turns it off). Endpoint : PUT {base_url}/live/streams/{streamId}/comments/slow-mode Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Query Parameters : Parameter Type Required Description Validation Default seconds int Yes Seconds between comments 0 = off β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Slow mode on", "action_time": "2026-11-26T10:30:45", "data": {"streamId": "7d1c…", "seconds": 10} } Refusals (409, data.code ): Code When NOT_HOST_TEAM not on the team 27. Delete a comment Purpose : Take a comment out of the room. Endpoint : DELETE {base_url}/live/streams/{streamId}/comments/{seq} Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID seq long Yes The comment's seq Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Comment removed", "action_time": "2026-11-26T10:30:45", "data": null } Refusals (409, data.code ): Code When NOT_HOST_TEAM not on the team Notes : Room event COMMENT_REMOVED {seq} . 28. Pin a comment Purpose : Keep a comment at the top of the room. Endpoint : PUT {base_url}/live/streams/{streamId}/comments/{seq}/pin Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID seq long Yes The comment's seq Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Comment pinned", "action_time": "2026-11-26T10:30:45", "data": null } Refusals (409, data.code ): Code When NOT_HOST_TEAM not on the team Notes : Room event COMMENT_PINNED (the comment). One pinned comment at a time. 29. Unpin the comment Purpose : Remove the pinned comment. Endpoint : DELETE {base_url}/live/streams/{streamId}/comments/pin Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Comment unpinned", "action_time": "2026-11-26T10:30:45", "data": null } Notes : Room event COMMENT_UNPINNED . 30. Held comments Purpose : Comments with a phone number or link waiting for the team. Endpoint : GET {base_url}/live/streams/{streamId}/comments/held Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Held comments", "action_time": "2026-11-26T10:30:45", "data": [ { "heldId": "b7…", "comment": { "accountId": "…", "name": "Asha", "userName": "asha", "userProfileMedia": {"thumbUrl": "https://…"}, "body": "Call me 0744…", "role": "VIEWER", "speaksAs": null, "replyTo": null }, "at": 1795716004000 } ] } 31. Approve a held comment Purpose : Let a held comment into the room. Endpoint : POST {base_url}/live/streams/{streamId}/comments/held/{heldId}/approve Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID heldId uuid Yes The held comment Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Approved", "action_time": "2026-11-26T10:30:45", "data": { "visibility": "ROOM", "seq": 1850, "heldId": null, "comment": { "accountId": "…", "name": "Asha", "userName": "asha", "userProfileMedia": {"thumbUrl": "https://…"}, "body": "Bei gani?", "role": "VIEWER", "speaksAs": null, "replyTo": null } } } Notes : Hosts' room event HELD_RESOLVED . 32. Decline a held comment Purpose : Drop a held comment. Endpoint : DELETE {base_url}/live/streams/{streamId}/comments/held/{heldId} Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID heldId uuid Yes The held comment Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Declined", "action_time": "2026-11-26T10:30:45", "data": null } 33. Remove someone from the live Purpose : Throw someone out of this live: they can't watch, comment or come back to it. Endpoint : POST {base_url}/live/streams/{streamId}/people/{accountId}/remove Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID accountId uuid Yes The person UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Removed from the live", "action_time": "2026-11-26T10:30:45", "data": null } Refusals (409, data.code ): Code When CANT_REMOVE_HOST the host NOT_HOST_TEAM not on the team Notes : They get REMOVED_FROM_LIVE on their personal channel; their play token stops working. 34. Report a live Purpose : Tell NexGate something is wrong with a live that is on. Endpoint : POST {base_url}/live/streams/{streamId}/report Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"reason": "SCAM", "details": "Asks people to pay by phone"} Request Body Parameters : Parameter Type Required Description Validation reason string Yes Why enum SPAM , MISLEADING_INFO , FALSE_INFORMATION , HATE_SPEECH , HARASSMENT , BULLYING , THREATS , NUDITY , SEXUAL_CONTENT , VIOLENCE , GRAPHIC_CONTENT , ILLEGAL_GOODS , FRAUD , SCAM , INTELLECTUAL_PROPERTY , SELF_HARM , SUICIDE , PRIVACY_VIOLATION , PERSONAL_INFO_EXPOSED , IMPERSONATION , FAKE_ACCOUNT , UNDERAGE_USER , OTHER details string No More Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Thanks, we'll look at it", "action_time": "2026-11-26T10:30:45", "data": {"streamId": "7d1c…", "received": true} } Refusals (409, data.code ): Code When NOT_LIVE only a live that is on CANT_REPORT_OWN your own live REASON_REQUIRED no reason Notes : NexGate keeps a picture (video) or the last 30 s of sound (audio) with the report. Enough trusted reports in 2 minutes pause the live. 35. My moderators Purpose : The people who moderate my lives (or my shop's). Endpoint : GET {base_url}/live/moderators Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Query Parameters : Parameter Type Required Description Validation Default shopId uuid No For a shop's moderators you own it β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Moderators", "action_time": "2026-11-26T10:30:45", "data": { "ownerId": "3213c20e-…", "moderators": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "max": 10 } } 36. Add a moderator Purpose : Trust someone to clean comments in all my lives. Endpoint : PUT {base_url}/live/moderators/{accountId} Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation accountId uuid Yes The person UUID Query Parameters : Parameter Type Required Description Validation Default shopId uuid No For a shop β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Moderator added", "action_time": "2026-11-26T10:30:45", "data": { "ownerId": "3213c20e-…", "moderators": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "max": 10 } } Refusals (409, data.code ): Code When CANT_MODERATE_SELF yourself TOO_MANY_MODERATORS already 10 37. Remove a moderator Purpose : Stop someone moderating. Endpoint : DELETE {base_url}/live/moderators/{accountId} Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation accountId uuid Yes The person UUID Query Parameters : Parameter Type Required Description Validation Default shopId uuid No For a shop β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Moderator removed", "action_time": "2026-11-26T10:30:45", "data": {"ownerId": "3213c20e-…", "moderators": [], "max": 10} } 38. My blocked words Purpose : Words that never show in my lives (on top of NexGate's list). Endpoint : GET {base_url}/live/words Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Query Parameters : Parameter Type Required Description Validation Default shopId uuid No For a shop β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Blocked words", "action_time": "2026-11-26T10:30:45", "data": {"ownerId": "3213c20e-…", "words": ["fake", "scam"], "max": 100} } 39. Set my blocked words Purpose : Replace the list. Endpoint : PUT {base_url}/live/words Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Query Parameters : Parameter Type Required Description Validation Default shopId uuid No For a shop β€” Request JSON Sample : {"words": ["fake", "scam"]} Request Body Parameters : Parameter Type Required Description Validation words array Yes The whole list max 100 words Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Blocked words saved", "action_time": "2026-11-26T10:30:45", "data": {"ownerId": "3213c20e-…", "words": ["fake", "scam"], "max": 100} } Refusals (409, data.code ): Code When TOO_MANY_WORDS over 100 WORD_TOO_LONG a word is too long Notes : Words match inside words ("fake" also hides "fakes"). A filtered comment shows only to its writer. B6. Taking part: reactions, viewers, polls, questions 40. Send reactions Purpose : Send the viewer's taps in batches. Endpoint : POST {base_url}/live/streams/{streamId}/reactions Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"taps": [{"reaction": "HEART", "count": 7}, {"reaction": "FIRE", "count": 2}]} Request Body Parameters : Parameter Type Required Description Validation taps[].reaction string Yes Which enum HEART , LAUGH , FIRE , LOVE , CLAP taps[].count int Yes How many taps Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Reactions", "action_time": "2026-11-26T10:30:45", "data": {"counted": 9} } Success Response Fields : Field Description counted Taps counted (at most 15 a second per person) Notes : Everyone gets REACTIONS {mix} every 2 s. Draw the floating hearts from the mix, not from your own taps only. 41. Reaction totals Purpose : Totals for the team's screen. Endpoint : GET {base_url}/live/streams/{streamId}/reactions Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Reaction totals", "action_time": "2026-11-26T10:30:45", "data": {"total": 5120, "most": "HEART", "byReaction": [{"reaction": "HEART", "emoji": "❀️", "count": 4000}]} } Refusals (409, data.code ): Code When NOT_HOST_TEAM not on the team 42. Top fans Purpose : Who is watching (count) and the top fans, for everyone. Endpoint : GET {base_url}/live/streams/{streamId}/viewers/top Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Top fans", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "watching": 214, "topFans": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "rank": 1 } ] } } 43. Who is watching (full list) Purpose : Everyone watching, for the team. Endpoint : GET {base_url}/live/streams/{streamId}/viewers Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Query Parameters : Parameter Type Required Description Validation Default page int No Page 0 size int No Size 30 Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Who's watching", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "watching": 214, "viewers": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "watchingSince": "…", "followsYou": true, "topFanRank": 3, "boughtHere": true } ], "page": 0, "size": 30, "hasMore": true } } Refusals (409, data.code ): Code When NOT_HOST_TEAM not on the team 44. Start a poll Purpose : Ask the room a question with 2–4 answers. Endpoint : POST {base_url}/live/streams/{streamId}/polls Access Level : πŸ”’ Protected (host or co-host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : { "question": "Which colour next?", "options": [{"text": "Red", "productId": null}, {"text": null, "productId": "prod-uuid"}], "seconds": 120 } Request Body Parameters : Parameter Type Required Description Validation question string Yes The question options[] array Yes 2–4 answers: words or a product on the shelf seconds int No How long 60, 120, 300 or null (until ended) Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Poll started", "action_time": "2026-11-26T10:30:45", "data": { "pollId": "p1…", "streamId": "7d1c…", "question": "Which colour next?", "options": [ {"index": 0, "text": "Red", "productId": null, "votes": 40, "percent": 62}, {"index": 1, "text": "Blue", "productId": null, "votes": 24, "percent": 38} ], "totalVotes": 64, "endsAt": "2026-11-28T20:12:00+03:00", "ended": false, "winner": null, "myVote": null } } Refusals (409, data.code ): Code When NOT_HOST not host / co-host POLL_RUNNING one poll at a time POLL_TIMER bad length POLL_OPTION an empty option POLL_PRODUCT a product not on the shelf Notes : Room POLL_STARTED , then POLL_RESULTS every 2 s, then POLL_ENDED with the winner. 45. The poll running now Purpose : For someone joining mid-poll. Endpoint : GET {base_url}/live/streams/{streamId}/polls/current Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Poll", "action_time": "2026-11-26T10:30:45", "data": { "pollId": "p1…", "streamId": "7d1c…", "question": "Which colour next?", "options": [ {"index": 0, "text": "Red", "productId": null, "votes": 40, "percent": 62}, {"index": 1, "text": "Blue", "productId": null, "votes": 24, "percent": 38} ], "totalVotes": 64, "endsAt": "2026-11-28T20:12:00+03:00", "ended": false, "winner": null, "myVote": null } } Success Response Fields : Field Description myVote My option index, or null 46. Finished polls Purpose : The results of this live's polls. Endpoint : GET {base_url}/live/streams/{streamId}/polls Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Polls", "action_time": "2026-11-26T10:30:45", "data": [ { "pollId": "p1…", "options": [ {"index": 0, "text": "Red", "productId": null, "votes": 40, "percent": 62}, {"index": 1, "text": "Blue", "productId": null, "votes": 24, "percent": 38} ], "totalVotes": 64, "ended": true, "winner": 0 } ] } 47. Vote Purpose : Pick an answer. Endpoint : POST {base_url}/live/streams/{streamId}/polls/{pollId}/votes Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID pollId uuid Yes The poll Request JSON Sample : {"option": 0} Request Body Parameters : Parameter Type Required Description Validation option int Yes The option index Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Voted", "action_time": "2026-11-26T10:30:45", "data": { "pollId": "p1…", "streamId": "7d1c…", "question": "Which colour next?", "options": [ {"index": 0, "text": "Red", "productId": null, "votes": 40, "percent": 62}, {"index": 1, "text": "Blue", "productId": null, "votes": 24, "percent": 38} ], "totalVotes": 64, "endsAt": "2026-11-28T20:12:00+03:00", "ended": false, "winner": null, "myVote": 0 } } Refusals (409, data.code ): Code When ALREADY_VOTED one vote POLL_ENDED too late 48. End a poll Purpose : Close it now. Endpoint : POST {base_url}/live/streams/{streamId}/polls/{pollId}/end Access Level : πŸ”’ Protected (host or co-host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID pollId uuid Yes The poll Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Poll ended", "action_time": "2026-11-26T10:30:45", "data": { "pollId": "p1…", "options": [ {"index": 0, "text": "Red", "productId": null, "votes": 40, "percent": 62}, {"index": 1, "text": "Blue", "productId": null, "votes": 24, "percent": 38} ], "totalVotes": 64, "ended": true, "winner": 0 } } 49. Ask a question Purpose : Ask the host something (kept in a list, not lost in comments). Endpoint : POST {base_url}/live/streams/{streamId}/questions Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"text": "Does it come in XL?", "productId": null} Request Body Parameters : Parameter Type Required Description Validation text string Yes The question max 150 productId uuid No About a product on the shelf default: whatever is pinned Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Question sent", "action_time": "2026-11-26T10:30:45", "data": { "questionId": "q1…", "asker": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "text": "Does it come in XL?", "productId": "prod-uuid", "meToo": 12, "meTooByMe": false, "state": "OPEN", "askedAt": "…" } } Refusals (409, data.code ): Code When TOO_FAST one per 30 seconds MUTED muted QUESTION_PRODUCT product not on the shelf QUESTIONS_FULL too many open questions Notes : Hosts' room QUESTION_ASKED . A filtered question is kept for the asker only ( HIDDEN ). 50. All questions Purpose : The question list (open, on screen, done). Endpoint : GET {base_url}/live/streams/{streamId}/questions Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Questions", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "questions": [ { "questionId": "q1…", "asker": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "text": "Does it come in XL?", "productId": "prod-uuid", "meToo": 12, "meTooByMe": false, "state": "OPEN", "askedAt": "…" } ], "notAnswered": 4 } } 51. Me too Purpose : Back someone's question. Endpoint : POST {base_url}/live/streams/{streamId}/questions/{questionId}/me-too Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID questionId uuid Yes The question Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Me too", "action_time": "2026-11-26T10:30:45", "data": { "questionId": "q1…", "asker": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "text": "Does it come in XL?", "productId": "prod-uuid", "meToo": 13, "meTooByMe": true, "state": "OPEN", "askedAt": "…" } } Refusals (409, data.code ): Code When OWN_QUESTION your own QUESTION_GONE closed 52. Put a question on screen Purpose : Show it big while answering. Endpoint : POST {base_url}/live/streams/{streamId}/questions/{questionId}/answer Access Level : πŸ”’ Protected (host or co-host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID questionId uuid Yes The question Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "On screen", "action_time": "2026-11-26T10:30:45", "data": { "questionId": "q1…", "asker": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "text": "Does it come in XL?", "productId": "prod-uuid", "meToo": 12, "meTooByMe": false, "state": "ON_SCREEN", "askedAt": "…" } } Notes : Room QUESTION_ON_SCREEN . 53. Mark a question done Purpose : Answered. Endpoint : POST {base_url}/live/streams/{streamId}/questions/{questionId}/done Access Level : πŸ”’ Protected (host or co-host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID questionId uuid Yes The question Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Answered", "action_time": "2026-11-26T10:30:45", "data": { "questionId": "q1…", "asker": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "text": "Does it come in XL?", "productId": "prod-uuid", "meToo": 12, "meTooByMe": false, "state": "DONE", "askedAt": "…" } } Notes : Room QUESTION_DONE {questionId} . B7. The stage: guests, co-hosts, speakers People on the stage appear next to the host (video) or speak (audio). They join a LiveKit room named live-stage- . Seats: video 2 now / 5 at most, audio 4 now / 7 at most, co-hosts at most 2. To go on: account at least 3 days old, 18+, not removed, nobody on the stage blocked either way, not live yourself. 54. The stage now Purpose : Who is on, the seats, and my own state. Endpoint : GET {base_url}/live/streams/{streamId}/stage Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Stage", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "NONE", "myInviteId": null } } Success Response Fields : Field Description me ON_STAGE , REQUESTED , INVITED , NONE : which button to show me myInviteId Set when INVITED hands Raised hands on the stage (audio) 55. Ask to join the screen Purpose : A viewer asks to come on. Endpoint : POST {base_url}/live/streams/{streamId}/stage/requests Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample (the body is optional): {"voiceOnly": false, "asShopId": null} Request Body Parameters : Parameter Type Required Description Validation voiceOnly boolean No Join without camera asShopId uuid No Appear as my shop you own it Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Asked to join", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "REQUESTED", "myInviteId": null } } Refusals (409, data.code ): Code When REQUESTS_OFF the host isn't taking requests ASK_FOLLOWED_ONLY only people the host follows ASK_INVITED_ONLY invite only ALREADY_ON_STAGE already on IS_HOST the host NOT_LIVE not on air ACCOUNT_TOO_NEW account under 3 days AGE_RESTRICTED under 18 REMOVED_FROM_LIVE removed IN_OWN_LIVE you are live yourself CANT_JOIN a block with someone on the stage SCREEN_FULL no seat free Notes : Hosts' room STAGE_REQUEST . 56. Withdraw my request Purpose : Stop asking. Endpoint : DELETE {base_url}/live/streams/{streamId}/stage/requests/me Access Level : πŸ”’ Protected (the asker) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Request withdrawn", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "NONE", "myInviteId": null } } 57. Requests to join Purpose : The people asking, oldest first. Endpoint : GET {base_url}/live/streams/{streamId}/stage/requests Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Requests", "action_time": "2026-11-26T10:30:45", "data": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "voiceOnly": false, "askedAt": "…" } ] } 58. Accept a request Purpose : Bring them on. Endpoint : POST {base_url}/live/streams/{streamId}/stage/requests/{accountId}/accept Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID accountId uuid Yes The person UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "On the screen", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 2, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "NONE", "myInviteId": null } } Refusals (409, data.code ): Code When REQUEST_GONE they withdrew SCREEN_FULL no seat ACCOUNT_TOO_NEW account under 3 days AGE_RESTRICTED under 18 REMOVED_FROM_LIVE removed IN_OWN_LIVE you are live yourself CANT_JOIN a block with someone on the stage Notes : Room STAGE_CHANGED . The person then asks for their LiveKit token (#72 below). 59. Ignore a request Purpose : Dismiss quietly. Endpoint : POST {base_url}/live/streams/{streamId}/stage/requests/{accountId}/ignore Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID accountId uuid Yes The person UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Ignored", "action_time": "2026-11-26T10:30:45", "data": null } 60. Stop someone asking Purpose : They can't ask again in this live. Endpoint : POST {base_url}/live/streams/{streamId}/stage/requests/{accountId}/block Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID accountId uuid Yes The person UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Can't ask again in this live", "action_time": "2026-11-26T10:30:45", "data": null } 61. Requests on / off Purpose : Take requests or not. Endpoint : PUT {base_url}/live/streams/{streamId}/stage/requests-open Access Level : πŸ”’ Protected (host or co-host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"open": false} Request Body Parameters : Parameter Type Required Description Validation open boolean Yes Take requests Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Requests", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": false, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "NONE", "myInviteId": null } } 62. Who may ask to speak Purpose : Everyone, people I follow, or invite only. Endpoint : PUT {base_url}/live/streams/{streamId}/stage/who-can-ask Access Level : πŸ”’ Protected (host or co-host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"who": "FOLLOWED"} Request Body Parameters : Parameter Type Required Description Validation who string Yes enum EVERYONE , FOLLOWED , INVITED Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Who can ask", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "FOLLOWED", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "NONE", "myInviteId": null } } 63. Invite someone to the screen Purpose : Invite a guest or co-host, before or during the live. Endpoint : POST {base_url}/live/streams/{streamId}/stage/invites Access Level : πŸ”’ Protected (the host (co-hosts: people watching, as guests)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"accountId": "55aa…", "role": "CO_HOST"} Request Body Parameters : Parameter Type Required Description Validation accountId uuid Yes Who role string Yes enum GUEST , CO_HOST Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Invited", "action_time": "2026-11-26T10:30:45", "data": { "inviteId": "i1…", "streamId": "7d1c…", "streamTitle": "Kanga sale", "scheduledFor": "…", "live": true, "inviter": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "invitee": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "CO_HOST", "state": "PENDING", "createdAt": "…", "expiresAt": "…" } } Refusals (409, data.code ): Code When NOT_HOST co-hosts invite only watchers, as guests ALREADY_ON_STAGE already on CO_HOSTS_FULL already 2 CANT_INVITE their "Who can invite me" says no INVITE_LIMIT 20 invites a day STREAM_FINISHED ended Notes : They get LIVE_STAGE_INVITE (push) and STAGE_INVITE_STATE (personal). During the live the invite lasts 5 minutes; before it, until the live ends. Event live: an invited person needs no ticket. 64. This live's invites Purpose : The invites sent for this live. Endpoint : GET {base_url}/live/streams/{streamId}/stage/invites Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Invites", "action_time": "2026-11-26T10:30:45", "data": [ { "inviteId": "i1…", "streamId": "7d1c…", "streamTitle": "Kanga sale", "scheduledFor": "…", "live": true, "inviter": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "invitee": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "CO_HOST", "state": "PENDING", "createdAt": "…", "expiresAt": "…" } ] } 65. My stage invites Purpose : Invites I have received that are still open. Endpoint : GET {base_url}/live/stage-invites Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live invites", "action_time": "2026-11-26T10:30:45", "data": [ { "inviteId": "i1…", "streamId": "7d1c…", "streamTitle": "Kanga sale", "scheduledFor": "…", "live": true, "inviter": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "invitee": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "CO_HOST", "state": "PENDING", "createdAt": "…", "expiresAt": "…" } ] } 66. People I can invite Purpose : The invite picker: contacts and past co-hosts first. Endpoint : GET {base_url}/live/stage-invites/people Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Query Parameters : Parameter Type Required Description Validation Default q string No Search by name β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "People you can invite", "action_time": "2026-11-26T10:30:45", "data": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "contact": true, "pastCoHost": false } ] } 67. Answer an invite Purpose : Say yes or no. Endpoint : POST {base_url}/live/stage-invites/{inviteId}/respond Access Level : πŸ”’ Protected (the invited person) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation inviteId uuid Yes The invite Request JSON Sample : {"accept": true, "asShopId": null} Request Body Parameters : Parameter Type Required Description Validation accept boolean Yes Yes or no asShopId uuid No Co-host as my shop you own it Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Answered", "action_time": "2026-11-26T10:30:45", "data": { "inviteId": "i1…", "streamId": "7d1c…", "streamTitle": "Kanga sale", "scheduledFor": "…", "live": true, "inviter": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "invitee": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "CO_HOST", "state": "ACCEPTED", "createdAt": "…", "expiresAt": "…" } } Refusals (409, data.code ): Code When INVITE_ENDED expired or withdrawn NOT_SHOP_OWNER not your shop 68. Join from an invite Purpose : Take the seat now (the live is on). Endpoint : POST {base_url}/live/stage-invites/{inviteId}/join Access Level : πŸ”’ Protected (the invited person) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation inviteId uuid Yes The invite Request JSON Sample (the body is optional): {"voiceOnly": false, "asShopId": null} Request Body Parameters : Parameter Type Required Description Validation voiceOnly boolean No Without camera asShopId uuid No As my shop Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "On the screen", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "ON_STAGE", "myInviteId": null } } Refusals (409, data.code ): Code When INVITE_ENDED expired SCREEN_FULL full: the invite stays open; STAGE_SEAT_FREE tells you when a seat frees ACCOUNT_TOO_NEW account under 3 days AGE_RESTRICTED under 18 REMOVED_FROM_LIVE removed IN_OWN_LIVE you are live yourself CANT_JOIN a block with someone on the stage 69. Withdraw an invite Purpose : Take an invite back. Endpoint : POST {base_url}/live/stage-invites/{inviteId}/revoke Access Level : πŸ”’ Protected (the inviter) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation inviteId uuid Yes The invite Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Invite withdrawn", "action_time": "2026-11-26T10:30:45", "data": { "inviteId": "i1…", "streamId": "7d1c…", "streamTitle": "Kanga sale", "scheduledFor": "…", "live": true, "inviter": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "invitee": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "CO_HOST", "state": "REVOKED", "createdAt": "…", "expiresAt": "…" } } 70. Make the speaker link Purpose : One link per live; whoever opens it is invited. Endpoint : POST {base_url}/live/streams/{streamId}/stage/link Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Speaker link", "action_time": "2026-11-26T10:30:45", "data": {"streamId": "7d1c…", "code": "Zk3v…"} } Notes : Share it as https://nexgate.co/live/stage/ . It ends with the live. 71. Open a speaker link Purpose : Opening is the yes: on the screen now if the live is on, otherwise an accepted invite for the start. Endpoint : POST {base_url}/live/stage-links/{code} Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation code string Yes From the link Request JSON Sample (the body is optional): {"voiceOnly": false, "asShopId": null} Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Speaker link", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "ON_STAGE", "myInviteId": null } } Refusals (409, data.code ): Code When LINK_ENDED the live ended ACCOUNT_TOO_NEW account under 3 days AGE_RESTRICTED under 18 REMOVED_FROM_LIVE removed IN_OWN_LIVE you are live yourself CANT_JOIN a block with someone on the stage SCREEN_FULL no seat free 72. Get the stage room token (LiveKit) Purpose : For the host and the people on the stage: join the LiveKit room. Endpoint : POST {base_url}/live/streams/{streamId}/stage/token Access Level : πŸ”’ Protected (host and people on the stage) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Stage room", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "url": "wss://livekit.dev.nexgate.co", "room": "live-stage-7d1c…", "identity": "3213c20e-…", "token": "eyJ…", "camera": true, "startMuted": false } } Success Response Fields : Field Description camera May publish a camera ( false for voice-only and audio lives) startMuted Join with the mic off Refusals (409, data.code ): Code When NOT_ON_STAGE not on the stage NOT_LIVE not on air (an audio live's host may join before) Notes : If LiveKit says someone left (after its own reconnect time) the seat frees ( DROPPED ). 73. Remove someone from the screen Purpose : Back to watching. Endpoint : POST {base_url}/live/streams/{streamId}/stage/members/{accountId}/remove Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators); a co-host only by the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID accountId uuid Yes The person UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Removed from the screen", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "NONE", "myInviteId": null } } Refusals (409, data.code ): Code When NOT_ON_STAGE not on it NOT_HOST only the host removes a co-host Notes : They get STAGE_REMOVED on their personal channel. 74. Leave the screen Purpose : Go back to watching. Endpoint : POST {base_url}/live/streams/{streamId}/stage/leave Access Level : πŸ”’ Protected (someone on the stage) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Back to watching", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "NONE", "myInviteId": null } } 75. Mute a speaker Purpose : Turn someone's mic off (they can turn it on again; the team never unmutes). Endpoint : POST {base_url}/live/streams/{streamId}/stage/members/{accountId}/mute Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID accountId uuid Yes The person UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Muted", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": [], "me": "NONE", "myInviteId": null } } Refusals (409, data.code ): Code When CANT_MUTE_HOST the host Notes : Room STAGE_MUTED {accountId} . 76. Raise / lower my hand Purpose : On the stage: ask for the next turn (audio). Endpoint : PUT {base_url}/live/streams/{streamId}/stage/hand Access Level : πŸ”’ Protected (someone on the stage) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"raised": true} Request Body Parameters : Parameter Type Required Description Validation raised boolean Yes Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Hand", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "seatsNow": 2, "seatsMax": 5, "seatsTaken": 1, "coHostsMax": 2, "requestsOpen": true, "whoCanAsk": "EVERYONE", "members": [ { "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "role": "GUEST", "asShop": null, "voiceOnly": false, "newHere": false, "joinedAt": "…" } ], "hands": ["3213c20e-…"], "me": "NONE", "myInviteId": null } } Notes : Room STAGE_HANDS {hands} . 77. Who is talking Purpose : The host phone reports LiveKit's active speakers, at most once a second. Endpoint : POST {base_url}/live/streams/{streamId}/stage/speaking Access Level : πŸ”’ Protected (host or someone on the stage) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"speaking": ["3213c20e-…"]} Request Body Parameters : Parameter Type Required Description Validation speaking array Yes accountIds talking now Success Response JSON Sample : {"success": true, "httpStatus": "OK", "message": "Seen", "action_time": "2026-11-26T10:30:45", "data": null} Notes : Room SPEAKING {speaking} (not kept in the room snapshot). Listeners use it to ring the talker's picture. 78. Send listeners on Purpose : At the end, point the audience to another live. Endpoint : POST {base_url}/live/streams/{streamId}/stage/send-on Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"toStreamId": "9e2…"} Request Body Parameters : Parameter Type Required Description Validation toStreamId uuid Yes The live to send them to on air Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Listeners sent on", "action_time": "2026-11-26T10:30:45", "data": { "toStreamId": "9e2…", "title": "Late show", "mode": "LIVE_AUDIO", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } } } Notes : Room LIVE_SEND_ON . The live does not end by itself. 79. Guests window (OBS) Purpose : A page token showing the guests, for an OBS browser source (external camera lives). Endpoint : GET {base_url}/live/streams/{streamId}/stage/window Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Guests window", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "pageUrl": "https://…/guests-window", "livekitUrl": "wss://…", "room": "live-stage-7d1c…", "token": "eyJ…", "connected": false } } B8. The shelf: attachments and the pinned item 80. Attach something Purpose : Put a product, ticket, the shop, an event, a post or a link on the shelf. Endpoint : POST {base_url}/live/streams/{streamId}/attachments Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"type": "PRODUCT", "targetId": "prod-uuid"} Request Body Parameters : Parameter Type Required Description Validation type string Yes What enum PRODUCT , SHOP , EVENT , TICKET , POST , LINK ( PRODUCT_GROUP , TICKET_GROUP are added by the group tools) targetId uuid Yes Its id Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Attached", "action_time": "2026-11-26T10:30:45", "data": {"id": "a1…", "type": "PRODUCT", "targetId": "prod-uuid", "state": "SHELF", "pinnedAt": null, "taps": 0} } Refusals (409, data.code ): Code When BAD_ATTACHMENT type or id missing ALREADY_ATTACHED already on the shelf Notes : The owner of a featured shop / event (if not the host) gets SOC_SHOP_FEATURED / SOC_EVENT_FEATURED . 81. The shelf Purpose : Everything attached (not removed). Endpoint : GET {base_url}/live/streams/{streamId}/attachments Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Attachments", "action_time": "2026-11-26T10:30:45", "data": [{"id": "a1…", "type": "PRODUCT", "targetId": "prod-uuid", "state": "SHELF", "pinnedAt": null, "taps": 0}] } 82. Pin an item Purpose : Show one item big; the previous pin goes back to the shelf. Endpoint : PUT {base_url}/live/streams/{streamId}/attachments/{attachmentId}/pin Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID attachmentId uuid Yes The attachment Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Pinned", "action_time": "2026-11-26T10:30:45", "data": {"id": "a1…", "type": "PRODUCT", "targetId": "prod-uuid", "state": "PINNED", "pinnedAt": "…", "taps": 0} } Refusals (409, data.code ): Code When REMOVED it was removed Notes : Room PIN carries {attachmentId, type, targetId, card, donation} : card is the product's live deal card (price, flash, group, instalments, free delivery); donation is a DONATION ticket's {target, raised, donations} . 83. Unpin Purpose : Nothing pinned. Endpoint : DELETE {base_url}/live/streams/{streamId}/attachments/pin Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Unpinned", "action_time": "2026-11-26T10:30:45", "data": null } Notes : Room UNPIN . 84. Remove from the shelf Purpose : Take an item off. Endpoint : DELETE {base_url}/live/streams/{streamId}/attachments/{attachmentId} Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID attachmentId uuid Yes The attachment Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Removed", "action_time": "2026-11-26T10:30:45", "data": null } Notes : Sends UNPIN if it was pinned. 85. Tap an item (removed) Removed 2026-11-27. Use #147 POST /sale-taps with from: "LIVE" , sourceId : the streamId, item + itemId : the product / event on the shelf. It counts the tap for the live's numbers exactly as #85 did. B9. Selling tools Money tools run for the seller only: on a shop live the shop's owner (or staff with the right); on an event live the organiser for its tickets. Products must be on the shelf first. One deal per product at a time ( DEAL_RUNNING ). 86. The host toolbar Purpose : Which buttons the host team sees, decided by the backend. Endpoint : GET {base_url}/live/streams/{streamId}/tools Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Tools", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "main": ["PIN", "DROP", "STAGE", "COMMENTS", "MORE"], "drop": ["COUPON_DROP", "FLASH_PRICE", "FREE_DELIVERY", "GROUP_BUY"], "more": ["BARGAIN", "AUCTION", "GIFTS", "GOAL", "POLL", "QUESTIONS", "MODERATORS", "SAFETY", "SHARE", "END"] } } Success Response Fields : Field Description main The 5 toolbar buttons drop Under "Drop" more Under "More" Notes : Values: PIN , DROP , STAGE , COMMENTS , MORE , COUPON_DROP , FLASH_PRICE , FREE_DELIVERY , GROUP_BUY , TICKET_GROUP , BARGAIN , AUCTION , GIFTS , GOAL , POLL , QUESTIONS , MODERATORS , SAFETY , SHARE , END . Draw only what comes back (coupons off β†’ no coupon drop; personal live β†’ no shop tools). 87. A product's live card Purpose : Price now, volume price steps, flash price, running group, instalment plans, free delivery, and the buttons to draw. Endpoint : GET {base_url}/live/streams/{streamId}/products/{productId}/card Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID productId uuid Yes The product on this live's shelf Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Product card", "action_time": "2026-11-26T10:30:45", "data": { "productId": "prod-uuid", "price": 25000, "flash": null, "group": null, "instalments": [ { "planId": "…", "planName": "3 months", "payments": 3, "frequency": "MONTHLY", "downPaymentPercent": 30, "payNow": 7500, "apr": 0 } ], "freeDelivery": true, "volumePrices": [ { "fromQuantity": 3, "price": 22500 }, { "fromQuantity": 10, "price": 20000 } ], "actions": ["PAY_IN_PARTS", "BUY_NOW", "ADD_TO_CART"] } } Field Description volumePrices The product's volume steps a buyer can reach ("22,500 each from 3"); empty for a flat price actions The buttons to draw, in this order : BUY_NOW , ADD_TO_CART , JOIN_GROUP (group price), BUY_ALONE (normal / step price), PAY_IN_PARTS , MAKE_OFFER , BID . An auction shows only BID ; out of stock β†’ empty 88. Sales so far Purpose : Orders and money from this live. Endpoint : GET {base_url}/live/streams/{streamId}/sales Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators); money only to the seller) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Sales from this live", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "money": true, "orders": 18, "pieces": 25, "ticketBookings": 0, "paid": 410000, "refundedOrders": 1, "refunded": 15000, "net": 395000, "instalments": {"orders": 2, "paidNow": 30000, "total": 100000}, "products": [{"productId": "prod-uuid", "taps": 120, "orders": 12, "pieces": 15}] } } Success Response Fields : Field Description money false : the money fields are null for you (not the seller) Refusals (409, data.code ): Code When NOT_HOST_TEAM not on the team Notes : The hosts' room gets SALES (counts) as orders come in. 89. Drop a coupon Purpose : Give a shop coupon to the first N people who grab it, for some seconds. Also in shop meetings since 2026-11-27, with the same request and answer: docs/calls/calls_meetings_api_doc.md #71–#74. Endpoint : POST {base_url}/live/streams/{streamId}/drops Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"couponId": "c1…", "people": 50, "seconds": 60, "validFor": "HOURS_24", "watchersOnly": true} Request Body Parameters : Parameter Type Required Description Validation couponId uuid Yes An existing coupon of the shop people int Yes How many can grab 1–1000 seconds int Yes How long the drop stays 15–900 validFor string Yes How long a grabbed coupon can be used enum HOUR_1 , HOURS_6 , HOURS_24 , DAYS_3 , DAYS_7 watchersOnly boolean No Only people watching a while can grab Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Coupon dropped", "action_time": "2026-11-26T10:30:45", "data": { "dropId": "d1…", "streamId": "7d1c…", "couponId": "c1…", "title": "10% off", "kind": "PERCENT", "value": 10, "cap": 5000, "minOrder": 20000, "shopId": "shop-uuid", "eventId": null, "people": 50, "left": 50, "endsAt": "…", "validFor": "HOURS_24", "watchersOnly": true, "ended": false } } Refusals (409, data.code ): Code When NOT_SELLER not the seller NOT_FOUND coupon not found Notes : Room DROP_STARTED (the drop), DROP_LEFT {dropId, left} , DROP_ENDED {dropId, grabbed} . Only when coupons are on. 90. Running drops Purpose : Drops still on. Endpoint : GET {base_url}/live/streams/{streamId}/drops Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Coupon drops", "action_time": "2026-11-26T10:30:45", "data": [ { "dropId": "d1…", "streamId": "7d1c…", "couponId": "c1…", "title": "10% off", "kind": "PERCENT", "value": 10, "cap": 5000, "minOrder": 20000, "shopId": "shop-uuid", "eventId": null, "people": 50, "left": 50, "endsAt": "…", "validFor": "HOURS_24", "watchersOnly": true, "ended": false } ] } 91. Drops report Purpose : How each drop did. Endpoint : GET {base_url}/live/streams/{streamId}/drops/report Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Coupon drops", "action_time": "2026-11-26T10:30:45", "data": [ { "drop": { "dropId": "d1…", "streamId": "7d1c…", "couponId": "c1…", "title": "10% off", "kind": "PERCENT", "value": 10, "cap": 5000, "minOrder": 20000, "shopId": "shop-uuid", "eventId": null, "people": 50, "left": 0, "endsAt": "…", "validFor": "HOURS_24", "watchersOnly": true, "ended": true }, "grabbed": 50, "used": 21 } ] } Refusals (409, data.code ): Code When NOT_HOST_TEAM not on the team 92. Change a drop Purpose : Add people or seconds. Endpoint : PATCH {base_url}/live/streams/{streamId}/drops/{dropId} Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID dropId uuid Yes The drop Request JSON Sample : {"addPeople": 20, "addSeconds": 30} Request Body Parameters : Parameter Type Required Description Validation addPeople int No More people addSeconds int No More time Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Drop changed", "action_time": "2026-11-26T10:30:45", "data": { "dropId": "d1…", "streamId": "7d1c…", "couponId": "c1…", "title": "10% off", "kind": "PERCENT", "value": 10, "cap": 5000, "minOrder": 20000, "shopId": "shop-uuid", "eventId": null, "people": 70, "left": 30, "endsAt": "…", "validFor": "HOURS_24", "watchersOnly": true, "ended": false } } Refusals (409, data.code ): Code When DROP_ENDED over: drop a new one 93. Stop a drop Purpose : End it now. Endpoint : POST {base_url}/live/streams/{streamId}/drops/{dropId}/stop Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID dropId uuid Yes The drop Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Drop stopped", "action_time": "2026-11-26T10:30:45", "data": { "dropId": "d1…", "streamId": "7d1c…", "couponId": "c1…", "title": "10% off", "kind": "PERCENT", "value": 10, "cap": 5000, "minOrder": 20000, "shopId": "shop-uuid", "eventId": null, "people": 50, "left": 50, "endsAt": "…", "validFor": "HOURS_24", "watchersOnly": true, "ended": true } } 94. Grab a dropped coupon Purpose : A viewer takes one. Endpoint : POST {base_url}/live/streams/{streamId}/drops/{dropId}/grab Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID dropId uuid Yes The drop Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Grabbed", "action_time": "2026-11-26T10:30:45", "data": {"dropId": "d1…", "couponId": "c1…", "usableUntil": "2026-11-29T20:01:00+03:00"} } Refusals (409, data.code ): Code When DROP_ALL_TAKEN none left DROP_ENDED too late ALREADY_GRABBED one each ACCOUNT_TOO_NEW under 3 days WATCH_FIRST watchersOnly : watch a little first Notes : The coupon is in the person's wallet of coupons; checkout uses it as usual. 95. Start a flash price Purpose : A lower price for a few minutes, optionally limited pieces. Also in shop meetings since 2026-11-27, with the same request, answer and checkout: docs/calls/calls_meetings_api_doc.md #68–#70. Endpoint : POST {base_url}/live/streams/{streamId}/flash Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"productId": "prod-uuid", "price": 18000, "minutes": 5, "pieces": 20, "watchersOnly": false, "maxPerPerson": 2} Request Body Parameters : Parameter Type Required Description Validation productId uuid Yes The product on this live's shelf price number Yes The flash price (TZS) below the price minutes int Yes How long 1, 3, 5 or 10 pieces int No Limited pieces watchersOnly boolean No Only for watchers maxPerPerson int No Pieces one buyer may take at the flash price (held + paid) 1–99, default 2 Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Flash price on", "action_time": "2026-11-26T10:30:45", "data": { "flashId": "f1…", "streamId": "7d1c…", "productId": "prod-uuid", "price": 18000, "originalPrice": 25000, "pieces": 20, "left": 20, "endsAt": "…", "watchersOnly": false, "ended": false, "maxPerPerson": 2 } } Refusals (409, data.code ): Code When NOT_ON_SHELF put it on the shelf DEAL_RUNNING another deal on it FLASH_TIME bad length FLASH_PRICE not lower Notes : Room FLASH_STARTED , FLASH_LEFT {flashId, left} , FLASH_ENDED {flashId, sold} . Pieces are held 10 min per buyer at checkout. At checkout (since v4.1): too few pieces left β†’ 409 FLASH_PIECES_LEFT details: {left, productId} ; over the buyer's limit β†’ 409 FLASH_MAX_PER_PERSON details: {max, yours} . Offer "Take {left} at the flash price" (resend with that quantity) or "All at the normal price" (resend with skipLiveDeal: true ). Never the normal price in silence. A product with volume prices: the buyer pays the lower of the flash price and the volume step, never both. No coupon on a flash item; a coupon still works on the order's other items and other shops ( NO_COUPON_ON_FLASH only for that shop). The cart shows the flash price before checkout: cart item liveDeal {flashId, price, endsAt, piecesLeft, maxPerPerson} . 96. Running flash prices Purpose : Endpoint : GET {base_url}/live/streams/{streamId}/flash Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Flash prices", "action_time": "2026-11-26T10:30:45", "data": [ { "flashId": "f1…", "streamId": "7d1c…", "productId": "prod-uuid", "price": 18000, "originalPrice": 25000, "pieces": 20, "left": 20, "endsAt": "…", "watchersOnly": false, "ended": false } ] } 97. Change a flash price Purpose : Lower the price or add pieces. Endpoint : PATCH {base_url}/live/streams/{streamId}/flash/{flashId} Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID flashId uuid Yes The flash Request JSON Sample : {"price": 16000, "addPieces": 10} Request Body Parameters : Parameter Type Required Description Validation price number No New price only lower addPieces int No More pieces Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Flash price changed", "action_time": "2026-11-26T10:30:45", "data": { "flashId": "f1…", "streamId": "7d1c…", "productId": "prod-uuid", "price": 16000, "originalPrice": 25000, "pieces": 30, "left": 30, "endsAt": "…", "watchersOnly": false, "ended": false } } Refusals (409, data.code ): Code When FLASH_PRICE_UP only lower FLASH_ENDED over 98. Stop a flash price Purpose : Endpoint : POST {base_url}/live/streams/{streamId}/flash/{flashId}/stop Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID flashId uuid Yes The flash Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Flash price stopped", "action_time": "2026-11-26T10:30:45", "data": { "flashId": "f1…", "streamId": "7d1c…", "productId": "prod-uuid", "price": 18000, "originalPrice": 25000, "pieces": 20, "left": 20, "endsAt": "…", "watchersOnly": false, "ended": true } } 99. Free delivery from the live Purpose : The shop pays delivery (or half) for orders from this live. Endpoint : POST {base_url}/live/streams/{streamId}/free-delivery Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : { "half": false, "cap": 5000, "areas": [{"level": "REGION", "regionCode": "DSM", "districtCode": null, "wardId": null}] } Request Body Parameters : Parameter Type Required Description Validation half boolean No Pay half instead of all cap number No At most this per order (TZS) areas array No Only to these areas {level: REGION|DISTRICT|WARD, regionCode, districtCode, wardId} Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Free delivery on", "action_time": "2026-11-26T10:30:45", "data": {"campaignId": "fd1…", "streamId": "7d1c…", "half": false, "cap": 5000, "running": true} } Refusals (409, data.code ): Code When NOT_SHOP_LIVE a personal live Notes : Room FREE_DELIVERY_ON / FREE_DELIVERY_OFF . Uses a seller delivery campaign (the shop's spending limit applies). 100. Stop free delivery Purpose : Endpoint : POST {base_url}/live/streams/{streamId}/free-delivery/{campaignId}/stop Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID campaignId uuid Yes From the start answer Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Free delivery off", "action_time": "2026-11-26T10:30:45", "data": {"campaignId": "fd1…", "streamId": "7d1c…", "half": false, "cap": 5000, "running": false} } 101. Set a goal Purpose : A target on screen (up to 2 at once) with an optional timer and reward. Endpoint : POST {base_url}/live/streams/{streamId}/goals Access Level : πŸ”’ Protected (host or co-host (sales goals: the seller)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : { "type": "ORDERS", "target": 50, "productId": null, "timerMinutes": 15, "reward": { "kind": "COUPON_DROP", "drop": {"couponId": "c1…", "people": 100, "seconds": 60, "validFor": "HOURS_24", "watchersOnly": true}, "flash": null, "freeDelivery": null, "text": null, "campaignId": null } } Request Body Parameters : Parameter Type Required Description Validation type string Yes What counts enum ORDERS , PIECES , REVENUE , FOLLOWERS , WATCHING , GIFTS target long Yes The number β‰₯ 1 (revenue in TZS) productId uuid No Only this product on the shelf timerMinutes int No A countdown 5, 10, 15 or 30 reward.kind string No What happens when reached enum COUPON_DROP , FLASH_PRICE , FREE_DELIVERY , TEXT reward.drop / flash / freeDelivery object If that kind The deal fired by the backend (same bodies as #89, #95, #99) reward.text string If TEXT A promise ("I sing the last song") Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Goal set", "action_time": "2026-11-26T10:30:45", "data": { "goalId": "g1…", "streamId": "7d1c…", "type": "ORDERS", "productId": null, "target": 50, "progress": 18, "percent": 36, "state": "RUNNING", "endsAt": "…", "reward": "COUPON_DROP", "rewardText": null, "rewardGiven": false, "reachedAt": null } } Refusals (409, data.code ): Code When GOALS_FULL already 2 GOAL_SAME_TYPE same type running GOAL_TIMER bad timer GOAL_TARGET under 1 GOAL_REWARD promise text missing NOT_SELLER sales goal not by the seller NOT_ON_SHELF product not on the shelf NOT_HOST not host / co-host STREAM_FINISHED ended Notes : Room GOAL_STARTED , GOAL_PROGRESS , GOAL_REACHED , GOAL_TIME_UP , GOAL_ENDED . Rewards fire by themselves when reached. 102. Goals Purpose : Endpoint : GET {base_url}/live/streams/{streamId}/goals Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Goals", "action_time": "2026-11-26T10:30:45", "data": [ { "goalId": "g1…", "streamId": "7d1c…", "type": "ORDERS", "productId": null, "target": 50, "progress": 18, "percent": 36, "state": "RUNNING", "endsAt": "…", "reward": "COUPON_DROP", "rewardText": null, "rewardGiven": false, "reachedAt": null } ] } 103. Change a goal Purpose : Lower the target or add minutes. Endpoint : PATCH {base_url}/live/streams/{streamId}/goals/{goalId} Access Level : πŸ”’ Protected (host or co-host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID goalId uuid Yes The goal Request JSON Sample : {"target": 40, "addMinutes": 5} Request Body Parameters : Parameter Type Required Description Validation target long No New target only lower addMinutes int No More time Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Goal changed", "action_time": "2026-11-26T10:30:45", "data": { "goalId": "g1…", "streamId": "7d1c…", "type": "ORDERS", "productId": null, "target": 40, "progress": 18, "percent": 45, "state": "RUNNING", "endsAt": "…", "reward": "COUPON_DROP", "rewardText": null, "rewardGiven": false, "reachedAt": null } } Refusals (409, data.code ): Code When GOAL_RAISE only lower GOAL_ENDED over 104. Cancel a goal Purpose : Stop it, optionally giving the reward anyway. Endpoint : POST {base_url}/live/streams/{streamId}/goals/{goalId}/cancel Access Level : πŸ”’ Protected (host or co-host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID goalId uuid Yes The goal Request JSON Sample (the body is optional): {"giveReward": true} Request Body Parameters : Parameter Type Required Description Validation giveReward boolean No Fire the reward anyway Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Goal cancelled", "action_time": "2026-11-26T10:30:45", "data": { "goalId": "g1…", "streamId": "7d1c…", "type": "ORDERS", "productId": null, "target": 50, "progress": 18, "percent": 36, "state": "CANCELLED", "endsAt": "…", "reward": "COUPON_DROP", "rewardText": null, "rewardGiven": true, "reachedAt": null } } 105. Give the reward (time is up) Purpose : The timer ran out short of the target: reward the room anyway. Endpoint : POST {base_url}/live/streams/{streamId}/goals/{goalId}/reward Access Level : πŸ”’ Protected (host or co-host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID goalId uuid Yes The goal Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Reward given", "action_time": "2026-11-26T10:30:45", "data": { "goalId": "g1…", "streamId": "7d1c…", "type": "ORDERS", "productId": null, "target": 50, "progress": 18, "percent": 36, "state": "TIME_UP", "endsAt": "…", "reward": "COUPON_DROP", "rewardText": null, "rewardGiven": true, "reachedAt": null } } Refusals (409, data.code ): Code When GOAL_NOT_TIME_UP only when the time is up 106. Start a group buy Purpose : Start a group for a product with group buying on. Endpoint : POST {base_url}/live/streams/{streamId}/group-buys Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal); staff at the product's group price) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"productId": "prod-uuid"} Request Body Parameters : Parameter Type Required Description Validation productId uuid Yes The product on this live's shelf Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Group buy started", "action_time": "2026-11-26T10:30:45", "data": { "groupId": "gr1…", "productId": "prod-uuid", "groupPrice": 20000, "regularPrice": 25000, "seatsOccupied": 3, "totalSeats": 5, "expiresAt": "2026-11-29T20:00:00", "status": "OPEN", "startedHere": true } } Refusals (409, data.code ): Code When GROUP_BUYING_OFF turn on group buying on the product first GROUP_RUNNING one group per product per live DEAL_RUNNING another deal on it NOT_SELLER not the seller Notes : Pinned at once ( PRODUCT_GROUP ); room GROUP_PROGRESS (the card) whenever seats change. Buyers join with the normal group checkout. 107. Lower the group price Purpose : Endpoint : POST {base_url}/live/streams/{streamId}/group-buys/{groupId}/price Access Level : πŸ”’ Protected (the shop owner) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID groupId uuid Yes The group Request JSON Sample : {"price": 18000} Request Body Parameters : Parameter Type Required Description Validation price number Yes New group price lower Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Group price lowered", "action_time": "2026-11-26T10:30:45", "data": { "groupId": "gr1…", "productId": "prod-uuid", "groupPrice": 18000, "regularPrice": 25000, "seatsOccupied": 3, "totalSeats": 5, "expiresAt": "2026-11-29T20:00:00", "status": "OPEN", "startedHere": true } } 108. Give the group price to everyone in it Purpose : Complete the group now with the people already in it. Endpoint : POST {base_url}/live/streams/{streamId}/group-buys/{groupId}/give-through Access Level : πŸ”’ Protected (the shop owner) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID groupId uuid Yes The group Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Everyone gets the group price", "action_time": "2026-11-26T10:30:45", "data": { "groupId": "gr1…", "productId": "prod-uuid", "groupPrice": 20000, "regularPrice": 25000, "seatsOccupied": 3, "totalSeats": 3, "expiresAt": "2026-11-29T20:00:00", "status": "COMPLETED", "startedHere": true } } 109. Start a ticket group Purpose : The event organiser starts a ticket group in the live without buying a seat. Endpoint : POST {base_url}/live/streams/{streamId}/ticket-groups Access Level : πŸ”’ Protected (the event's organiser) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"ticketId": "ticket-uuid"} Request Body Parameters : Parameter Type Required Description Validation ticketId uuid Yes A ticket type with group buying on Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Ticket group started", "action_time": "2026-11-26T10:30:45", "data": { "groupId": "tg1…", "ticketId": "ticket-uuid", "eventId": "event-uuid", "groupCode": "TG-4K2", "groupPrice": 12000, "regularPrice": 15000, "seatsOccupied": 0, "totalSeats": 4, "expiresAt": "…", "status": "OPEN", "startedHere": true } } Refusals (409, data.code ): Code When NOT_SELLER not the organiser GROUP_BUYING_OFF off on the ticket GROUP_RUNNING one per ticket per live Notes : The group holds its own seats until it fills or ends. Room TICKET_GROUP_PROGRESS . 110. Open a product for offers (bargain) Purpose : Viewers may offer a price; offers under the lowest are refused for you. Endpoint : POST {base_url}/live/streams/{streamId}/bargain Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"productId": "prod-uuid", "lowestPrice": 19000} Request Body Parameters : Parameter Type Required Description Validation productId uuid Yes The product on this live's shelf lowestPrice number Yes Never accept below (hidden from viewers) Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Offers open", "action_time": "2026-11-26T10:30:45", "data": {"productId": "prod-uuid", "on": true} } Refusals (409, data.code ): Code When NOT_ON_SHELF not on the shelf DEAL_RUNNING another deal on it 111. Close offers Purpose : Endpoint : DELETE {base_url}/live/streams/{streamId}/bargain/{productId} Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID productId uuid Yes The product on this live's shelf Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Offers closed", "action_time": "2026-11-26T10:30:45", "data": {"productId": "prod-uuid", "on": false} } 112. Make an offer Purpose : A viewer offers a price. Endpoint : POST {base_url}/live/streams/{streamId}/bargain/{productId}/offers Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID productId uuid Yes The product on this live's shelf Request JSON Sample : {"price": 7500, "quantity": 20} Request Body Parameters : Parameter Type Required Description Validation price number Yes The offer per piece (TZS) below the price for that quantity (the volume step) quantity int No How many pieces ("20 at 7,500 each") β‰₯ 1, default 1; not above stock / the max order Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Offer sent", "action_time": "2026-11-26T10:30:45", "data": { "productId": "prod-uuid", "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "price": 20000, "counter": null, "state": "WAITING", "at": "…", "chatOfferId": null, "payBy": null, "quantity": 20 } } Refusals (409, data.code ): Code When BARGAIN_OFF not open for offers OFFER_QUANTITY not that many pieces to sell OFFER_OPEN one waiting already OFFER_TRIES 3 offers on it in this live OFFER_NOT_LOWER not below the price: just buy OFFER_TOO_LOW under the lowest: "Not this time" IS_HOST the host ACCOUNT_TOO_NEW under 3 days WATCH_FIRST watch a little first Notes : Room OFFER_MADE , OFFER_ANSWERED (both carry quantity ). A counter changes the price per piece, never the quantity. Accepted β†’ a chat offer for exactly that many pieces ( minQuantity = maxQuantity = quantity ), 15 minutes to pay. 113. Offers on a product Purpose : Waiting offers. Endpoint : GET {base_url}/live/streams/{streamId}/bargain/{productId}/offers Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID productId uuid Yes The product on this live's shelf Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Offers", "action_time": "2026-11-26T10:30:45", "data": [ { "productId": "prod-uuid", "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "price": 20000, "counter": null, "state": "WAITING", "at": "…", "chatOfferId": null, "payBy": null } ] } 114. Accept an offer Purpose : Agree: the buyer gets a chat offer to pay within 15 min. Endpoint : POST {base_url}/live/streams/{streamId}/bargain/{productId}/offers/{buyerId}/accept Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID productId uuid Yes The product on this live's shelf buyerId uuid Yes The buyer Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Offer accepted", "action_time": "2026-11-26T10:30:45", "data": { "productId": "prod-uuid", "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "price": 20000, "counter": null, "state": "ACCEPTED", "at": "…", "chatOfferId": "co1…", "payBy": "…" } } Refusals (409, data.code ): Code When OFFER_GONE no longer open Notes : The deal is a personal chat offer in the buyer↔shop thread; the buyer pays it from there. 115. Counter an offer Purpose : Answer with a higher price. Endpoint : POST {base_url}/live/streams/{streamId}/bargain/{productId}/offers/{buyerId}/counter Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID productId uuid Yes The product on this live's shelf buyerId uuid Yes The buyer Request JSON Sample : {"price": 22000} Request Body Parameters : Parameter Type Required Description Validation price number Yes The counter above their offer Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Counter sent", "action_time": "2026-11-26T10:30:45", "data": { "productId": "prod-uuid", "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "price": 20000, "counter": 22000, "state": "COUNTERED", "at": "…", "chatOfferId": null, "payBy": null } } Refusals (409, data.code ): Code When COUNTER_NOT_HIGHER not above their offer 116. Say no to an offer Purpose : Endpoint : POST {base_url}/live/streams/{streamId}/bargain/{productId}/offers/{buyerId}/no Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID productId uuid Yes The product on this live's shelf buyerId uuid Yes The buyer Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Not this time", "action_time": "2026-11-26T10:30:45", "data": { "productId": "prod-uuid", "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "price": 20000, "counter": null, "state": "DECLINED", "at": "…", "chatOfferId": null, "payBy": null } } 117. Accept the counter Purpose : The buyer takes the shop's counter price. Endpoint : POST {base_url}/live/streams/{streamId}/bargain/{productId}/counter/accept Access Level : πŸ”’ Protected (the buyer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID productId uuid Yes The product on this live's shelf Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Deal", "action_time": "2026-11-26T10:30:45", "data": { "productId": "prod-uuid", "person": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "price": 20000, "counter": 22000, "state": "ACCEPTED", "at": "…", "chatOfferId": "co1…", "payBy": "…" } } Refusals (409, data.code ): Code When OFFER_GONE no longer open 118. Start an auction Purpose : Timed bidding on one piece. Endpoint : POST {base_url}/live/streams/{streamId}/auctions Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : { "productId": "prod-uuid", "startPrice": 10000, "step": 1000, "seconds": 60, "lowestPrice": 13000, "watchersOnly": true } Request Body Parameters : Parameter Type Required Description Validation productId uuid Yes The product on this live's shelf startPrice number Yes First bid step int Yes Each bid adds 500, 1000, 5000 or 10000 seconds int Yes How long 30, 60, 180 or 300 lowestPrice number No Not sold below (hidden) watchersOnly boolean No Only watchers bid Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Auction started", "action_time": "2026-11-26T10:30:45", "data": { "auctionId": "au1…", "streamId": "7d1c…", "productId": "prod-uuid", "startPrice": 10000, "step": 1000, "topBid": null, "topBidder": null, "nextBid": 10000, "bids": 0, "lowestReached": false, "endsAt": "…", "state": "RUNNING", "winnerOfferId": null, "winnerOrderId": null } } Refusals (409, data.code ): Code When NOT_ON_SHELF not on the shelf AUCTION_TIME bad length AUCTION_STEP bad step DEAL_RUNNING another deal on it Notes : Room AUCTION_STARTED , AUCTION_BID (the view), AUCTION_ENDED . 119. Auctions Purpose : This live's auctions. Endpoint : GET {base_url}/live/streams/{streamId}/auctions Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Auctions", "action_time": "2026-11-26T10:30:45", "data": [ { "auctionId": "au1…", "streamId": "7d1c…", "productId": "prod-uuid", "startPrice": 10000, "step": 1000, "topBid": 14000, "topBidder": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "nextBid": 15000, "bids": 5, "lowestReached": true, "endsAt": "…", "state": "RUNNING", "winnerOfferId": null, "winnerOrderId": null } ] } 120. Bid Purpose : Bid the next amount ( nextBid ); it is held from your wallet. Endpoint : POST {base_url}/live/streams/{streamId}/auctions/{auctionId}/bids Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID auctionId uuid Yes The auction Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Bid placed", "action_time": "2026-11-26T10:30:45", "data": { "auctionId": "au1…", "streamId": "7d1c…", "productId": "prod-uuid", "startPrice": 10000, "step": 1000, "topBid": 15000, "topBidder": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "nextBid": 16000, "bids": 6, "lowestReached": true, "endsAt": "…", "state": "RUNNING", "winnerOfferId": null, "winnerOrderId": null } } Refusals (409, data.code ): Code When TOP_UP_TO_BID not enough in the wallet ALREADY_TOP you are the top bid AUCTION_ENDED over IS_SELLER sellers don't bid ACCOUNT_TOO_NEW under 3 days WATCH_FIRST watch a little first Notes : An outbid hold is refunded at once. The win is the order : the held top bid pays a pickup order ( winnerOrderId ). The winner can choose delivery in the order ( POST /shipping/orders/{orderId}/switch-to-delivery , pays only the fee). If the order can't be made, the hold is refunded and a 30-minute chat offer ( winnerOfferId ) is the fallback. 121. Cancel an auction Purpose : Stop it; every hold is refunded. Endpoint : POST {base_url}/live/streams/{streamId}/auctions/{auctionId}/cancel Access Level : πŸ”’ Protected (the seller: the shop's owner on a shop live (staff with the right on the terminal)) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID auctionId uuid Yes The auction Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Auction cancelled", "action_time": "2026-11-26T10:30:45", "data": { "auctionId": "au1…", "streamId": "7d1c…", "productId": "prod-uuid", "startPrice": 10000, "step": 1000, "topBid": 14000, "topBidder": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "nextBid": 15000, "bids": 5, "lowestReached": true, "endsAt": "…", "state": "CANCELLED", "winnerOfferId": null, "winnerOrderId": null } } 122. Gifts on or off? Purpose : Endpoint : GET {base_url}/live/streams/{streamId}/gifts Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Gifts", "action_time": "2026-11-26T10:30:45", "data": {"streamId": "7d1c…", "open": true} } 123. Turn gifts on or off Purpose : Let viewers send gifts in this live. Endpoint : PUT {base_url}/live/streams/{streamId}/gifts Access Level : πŸ”’ Protected (the personal host / the shop's owner) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"open": false} Request Body Parameters : Parameter Type Required Description Validation open boolean Yes Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Gifts", "action_time": "2026-11-26T10:30:45", "data": {"streamId": "7d1c…", "open": false} } Refusals (409, data.code ): Code When NOT_OWNER not the owner Notes : Gifts go to the host and anyone on the screen (shop live: to the shop's owner). Sending uses the gift API (place LIVE , the streamId ). Room GIFT_MOMENT / GIFT_CARD {refId} . Under 18: no receiver. B10. External camera and handing over 124. May I stream from a camera? Purpose : Which sources this account (or shop) may use. Endpoint : GET {base_url}/live/stream-from Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Query Parameters : Parameter Type Required Description Validation Default shopId uuid No For a shop live β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Stream from", "action_time": "2026-11-26T10:30:45", "data": {"phone": true, "camera": false} } Notes : Camera: a 30-day account with a verified phone, or a verified shop. 125. Camera setup Purpose : What to type into OBS / the camera, and whether it is connected. Endpoint : GET {base_url}/live/streams/{streamId}/camera Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Camera setup", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "serverUrl": "rtmp://stream.dev.nexgate.co/live", "streamKey": "7d1c…?key=cam_9x…", "width": 1920, "height": 1080, "fps": 30, "keyframeSeconds": 1, "connected": true, "health": "GOOD", "kbps": 1800, "autoStart": false } } Success Response Fields : Field Description serverUrl / streamKey Paste into OBS (Server / Stream key) health EXCELLENT β‰₯ 2,000 kbps, GOOD β‰₯ 800, POOR below, UNKNOWN connected The camera is sending: a private preview until Go live Refusals (409, data.code ): Code When SOURCE_IS_PHONE this live uses the phone 126. New camera key Purpose : If the key leaked: the old one stops working. Endpoint : POST {base_url}/live/streams/{streamId}/camera/reset Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "New camera key", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "serverUrl": "rtmp://stream.dev.nexgate.co/live", "streamKey": "7d1c…?key=cam_new…", "width": 1920, "height": 1080, "fps": 30, "keyframeSeconds": 1, "connected": false, "health": "GOOD", "kbps": 1800, "autoStart": false } } 127. Switch source Purpose : Phone ⇄ camera, before or during the live (one source on air at a time). Endpoint : PUT {base_url}/live/streams/{streamId}/source Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"source": "CAMERA", "autoStart": true} Request Body Parameters : Parameter Type Required Description Validation source string Yes enum PHONE , CAMERA autoStart boolean No Go public at the booked time once connected Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Stream from", "action_time": "2026-11-26T10:30:45", "data": {"streamId": "7d1c…", "source": "CAMERA"} } Refusals (409, data.code ): Code When CAMERA_NOT_ALLOWED not allowed a camera CAMERA_VIDEO_ONLY an audio live Notes : Room SOURCE_CHANGED . Switching drops the other sender at once. 128. Go live (camera preview β†’ public) Purpose : Make the camera preview public. Endpoint : POST {base_url}/live/streams/{streamId}/go-live Access Level : πŸ”’ Protected (the host) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live", "action_time": "2026-11-26T10:30:45", "data": { "id": "7d1c…", "mode": "LIVE_VIDEO", "state": "LIVE", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "watching": 214, "watchingText": "214 watching", "title": "Kanga sale", "description": "…", "coverMedia": {"fileId": "…", "status": "READY"}, "scheduledFor": null, "audioOnly": false, "hostAway": false, "startedAt": "2026-11-28T20:00:04+03:00", "endedAt": null, "endedReason": null, "canContinueUntil": null, "peakViewers": 230, "source": "CAMERA", "cameraConnected": true } } Refusals (409, data.code ): Code When CAMERA_NOT_CONNECTED nothing is arriving TOO_EARLY before a booked time 129. Hand over a shop live Purpose : Pass hosting to another staff member (shop lives). Endpoint : POST {base_url}/live/streams/{streamId}/hand-over Access Level : πŸ”’ Protected (the host or the shop owner) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample : {"accountId": "staff-uuid"} Request Body Parameters : Parameter Type Required Description Validation accountId uuid Yes The next host has the Go live right Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Handed over", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } } } Refusals (409, data.code ): Code When NOT_SHOP_LIVE a personal live ALREADY_HOST they host already CANT_HOST they may not go live for the shop NOT_HOST not host / owner Notes : Room HOST_CHANGED . B11. After the live 130. The summary (host) Purpose : Everything about a live that ended. Endpoint : GET {base_url}/live/streams/{streamId}/summary Access Level : πŸ”’ Protected (the host's team (host, co-hosts, moderators); money only to the seller) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live summary", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "money": true, "builtAt": "…", "data": { "startedAt": "…", "endedAt": "…", "durationSeconds": 3720, "peakViewers": 230, "watched": 980, "averageWatchSeconds": 410, "newFollowers": 37, "reactions": {"total": 5120, "most": "HEART"}, "gifts": { "count": 14, "amount": 42000, "topFan": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } }, "drops": {"drops": 2, "grabbed": 150, "used": 61}, "auctions": [{"auctionId": "…", "productId": "…", "state": "SOLD", "soldFor": 15000}], "groups": [], "polls": [], "questionsNotAnswered": 3, "goals": [], "sources": [{"source": "LIVE_FEED", "people": 410}, {"source": "NOTIFICATION", "people": 220}], "viewers": [{"minute": "…", "watching": 120}], "markers": [ { "kind": "COUPON_DROP", "refId": "d1…", "at": "…", "viewersBefore": 150, "viewersAfter": 210, "ordersAfter": 9 } ] }, "sales": {"streamId": "7d1c…", "money": true, "orders": 18, "pieces": 25, "paid": 410000, "net": 395000} } } Success Response Fields : Field Description data.viewers Viewers per minute (draw the graph) data.markers Moments on the graph; numbers only, the app writes the sentence sales Read fresh each time (refunds come later) Refusals (409, data.code ): Code When NOT_HOST_TEAM not on the team Notes : Built 3 s after the end ( LIVE_SUMMARY_READY ). Kept forever, unlike the video. 131. The viewer's end screen Purpose : Follow the host, their next live, other lives on now. Endpoint : GET {base_url}/live/streams/{streamId}/after Access Level : πŸ”’ Protected (any viewer) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live ended", "action_time": "2026-11-26T10:30:45", "data": { "streamId": "7d1c…", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "followsHost": false, "nextLive": { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "SCHEDULED", "as": "ME", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "shop": null, "title": "Kanga sale", "description": "New kangas from Mombasa", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "https://…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": { "people": [ { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} } ], "others": 3, "text": "Asha and 3 others are waiting" }, "myReminder": null, "buttons": ["EDIT", "CANCEL", "SEE_WAITING", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false }, "liveNow": [] } } 132. From the last live Purpose : The products of someone's last live, for 24 h after it ended ("From my last live" on the profile / shop). Endpoint : GET {base_url}/live/last-live Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Query Parameters : Parameter Type Required Description Validation Default accountId uuid One of A person β€” shopId uuid One of A shop β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "From the last live", "action_time": "2026-11-26T10:30:45", "data": {"streamId": "7d1c…", "endedAt": "…", "until": "…", "productIds": ["prod-uuid"]} } B12. My live settings 133. Read my settings Purpose : Endpoint : GET {base_url}/live/settings Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live settings", "action_time": "2026-11-26T10:30:45", "data": {"dataSaver": false, "showWhenIJoin": true, "whoCanInvite": "CONTACTS"} } Success Response Fields : Field Description dataSaver Every live starts in the lowest quality showWhenIJoin Show my name in the joins line whoCanInvite EVERYONE , CONTACTS (default), NOBODY : who can invite me on a live's screen and to meetings . Contacts = people you really have a link with: you follow each other , you have each other's number saved , or an accepted message request . (Same as "Who can call me"; before 2026-11-27: only people who follow each other) 134. Change my settings Purpose : Send only what changes. Endpoint : PUT {base_url}/live/settings Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Request JSON Sample : {"dataSaver": true} Request Body Parameters : Parameter Type Required Description Validation dataSaver boolean No showWhenIJoin boolean No whoCanInvite string No enum above Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live settings saved", "action_time": "2026-11-26T10:30:45", "data": {"dataSaver": true, "showWhenIJoin": true, "whoCanInvite": "CONTACTS"} } B13. An online event's room (event page and ticket) 135. The event's online button Purpose : One answer for the event page and the ticket: where it happens and what the viewer's button is. Endpoint : GET {base_url}/e-events/{eventId}/online Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation eventId uuid Yes The event ONLINE or HYBRID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Online room", "action_time": "2026-11-26T10:30:45", "data": { "eventId": "event-uuid", "venue": "NEXGATE_LIVE", "roomId": "7d1c…", "startsAt": "2026-11-28T19:00:00+03:00", "doorsOpenAt": "2026-11-28T18:50:00+03:00", "endsAt": "2026-11-28T22:00:00+03:00", "button": "JOIN", "meetingLink": null, "meetingId": null, "passcode": null } } Success Response Fields : Field Description venue NEXGATE_LIVE , NEXGATE_MEETING , LINK roomId The streamId (live) or the meeting id (meeting) button HOST organiser Β· STARTS_LATER before the doors Β· JOIN doors open until the end Β· OPEN_LINK a link event (holders) Β· BUY_TICKET no ticket Β· ENDED Β· CANCELLED meetingLink / meetingId / passcode Only for a LINK event, only to ticket holders and the organiser Refusals (409, data.code ): Code When NOT_ONLINE_EVENT an in-person event Notes : JOIN on a live: open the player for roomId (#10). On a meeting: POST /meetings/{roomId}/join . Ticket holders get EVENT_ONLINE_STARTED when it goes on air. B14. Admin (NexGate staff) Base /api/v1/admin/live . Roles SUPER_ADMIN or STAFF_ADMIN . Every action is audited. 136. Live reports Purpose : Reports, newest first. Endpoint : GET {base_url}/admin/live/reports Access Level : πŸ”’ Protected (SUPER_ADMIN / STAFF_ADMIN) Authentication : Bearer token Query Parameters : Parameter Type Required Description Validation Default status string No enum OPEN , CONTINUED , ENDED , DISMISSED all page int No 0 size int No 30 Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live reports", "action_time": "2026-11-26T10:30:45", "data": [ { "reportId": "r1…", "streamId": "7d1c…", "title": "Kanga sale", "state": "PAUSED", "host": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "reporter": { "accountId": "3213c20e-0000-4000-8000-000000000001", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"fileId": "…", "thumbUrl": "https://…/thumb.webp", "mediumUrl": "https://…/medium.webp"} }, "reason": "SCAM", "details": "…", "comments": [], "hasSnapshot": true, "hasSound": false, "onStage": [], "status": "OPEN", "createdAt": "…" } ] } 137. Report picture Purpose : The picture kept with a video live's report ( image/png , not the JSON envelope). Endpoint : GET {base_url}/admin/live/reports/{reportId}/snapshot Access Level : πŸ”’ Protected (SUPER_ADMIN / STAFF_ADMIN) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation reportId uuid Yes The report Success Response JSON Sample : {"success": true, "httpStatus": "OK", "message": "β€”", "action_time": "2026-11-26T10:30:45", "data": null} 138. Report sound Purpose : The last 30 s of an audio live ( video/mp2t , not the JSON envelope). Endpoint : GET {base_url}/admin/live/reports/{reportId}/sound Access Level : πŸ”’ Protected (SUPER_ADMIN / STAFF_ADMIN) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation reportId uuid Yes The report Success Response JSON Sample : {"success": true, "httpStatus": "OK", "message": "β€”", "action_time": "2026-11-26T10:30:45", "data": null} 139. Let a paused live continue Purpose : Endpoint : POST {base_url}/admin/live/streams/{streamId}/continue Access Level : πŸ”’ Protected (SUPER_ADMIN / STAFF_ADMIN) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample (the body is optional): {"reason": "Checked, nothing wrong"} Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live continues", "action_time": "2026-11-26T10:30:45", "data": null } Notes : Room LIVE_RESUMED . 140. End a live Purpose : Endpoint : POST {base_url}/admin/live/streams/{streamId}/end Access Level : πŸ”’ Protected (SUPER_ADMIN / STAFF_ADMIN) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation streamId uuid Yes The live UUID Request JSON Sample (the body is optional): {"reason": "Sold fake goods"} Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live ended", "action_time": "2026-11-26T10:30:45", "data": null } Notes : The host gets LIVE_ENDED_BY_NEXGATE . 141. Ban from going live Purpose : Stop an account going live for a time (ends their live now). Endpoint : POST {base_url}/admin/live/bans Access Level : πŸ”’ Protected (SUPER_ADMIN / STAFF_ADMIN) Authentication : Bearer token Request JSON Sample : {"accountId": "acc-uuid", "days": 7, "reason": "Repeated scams"} Request Body Parameters : Parameter Type Required Description Validation accountId uuid Yes days int No How long 1, 7, 30 or null (forever) reason string No Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Banned from going live", "action_time": "2026-11-26T10:30:45", "data": {"banId": "b1…", "accountId": "acc-uuid", "until": "…", "forever": false} } Refusals (409, data.code ): Code When ACCOUNT_REQUIRED no account BAD_BAN_LENGTH bad length Notes : The person gets LIVE_BANNED . 142. Lift a ban Purpose : Endpoint : DELETE {base_url}/admin/live/bans/{accountId} Access Level : πŸ”’ Protected (SUPER_ADMIN / STAFF_ADMIN) Authentication : Bearer token Path Parameters : Parameter Type Required Description Validation accountId uuid Yes The person UUID Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Ban lifted", "action_time": "2026-11-26T10:30:45", "data": null } 143. The row above the home feed Purpose : Up to 10 circles of who is live now, for the home feed's top row. Endpoint : GET {base_url}/live/row Access Level : πŸ”’ Protected (any account) Authentication : Bearer token Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Live row", "action_time": "2026-11-27T20:05:00", "data": { "circles": [ { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "as": "ME", "host": { "accountId": "3213c20e-…", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": { "…": "…" } }, "shop": null, "reasonKind": "FOLLOWING" }, { "streamId": "91aa…", "mode": "LIVE_VIDEO", "as": "SHOP", "host": { "…": "…" }, "shop": { "shopId": "…", "name": "Duka la Asha", "logoMedia": { "…": "…" } }, "reasonKind": "SUGGESTED" } ], "seeAll": true } } Response Fields : Field Description circles[].reasonKind FOLLOWING Β· FOLLOWING_SHOP Β· BOUGHT_HERE Β· FRIENDS_WATCHING Β· SUGGESTED (⭐ a fill) circles[].shop Set for a shop live: show the shop's logo and name seeAll More lives than the row shows: draw "See all" (β†’ #17 with cursor ) Notes : Order: people / shops the viewer knows, then friends watching, then suggestions. Never blocked people, the viewer's own live, a shop's live on its own owner's / staff's row, or a ticket live. Ask when the home feed opens and again after a FEED_NEW with what: "LIVE" ; LIVE_ENDED on live_list:all removes a circle. Tap β†’ open that live (#8, #10). 144. Turn "πŸ”” All lives" on or off Purpose : Get the phone notification for every live of a person or shop, even when they are a celebrity. Endpoint : PUT {base_url}/live/alerts Access Level : πŸ”’ Protected (a follower of that person / a subscriber of that shop) Authentication : Bearer token Request JSON Sample : { "accountId": "3213c20e-…", "on": true } Request Body Parameters : Parameter Type Required Description Validation accountId uuid One of The person shopId uuid One of The shop on boolean Yes On or off Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "All lives", "action_time": "2026-11-27T20:05:00", "data": { "accountId": "3213c20e-…", "shopId": null, "on": true } } Errors : 409 NOT_FOLLOWING (follow / subscribe first) Β· 409 ONE_TARGET (send exactly one of accountId , shopId ). Notes : Off by default. It only counts while the follow / subscription lasts. Show it as a bell on the profile / shop page next to Follow. 145. Read "πŸ”” All lives" Purpose : Is the bell on for this person / shop? Endpoint : GET {base_url}/live/alerts?accountId=… or ?shopId=… Access Level : πŸ”’ Protected (any account) Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "All lives", "action_time": "2026-11-27T20:05:00", "data": { "accountId": "3213c20e-…", "shopId": null, "on": false } } 146. How long a live preview in the clips feed was watched Purpose : The clips feed learns how often to show lives to this person. Endpoint : POST {base_url}/live/streams/{streamId}/clips-preview?seconds=4.5 Access Level : πŸ”’ Protected (any account) Query Parameters : Parameter Type Required Description Validation Default seconds number Yes How long the preview was on screen before the viewer swiped or tapped β‰₯ 0 β€” Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Noted", "action_time": "2026-11-27T20:05:00", "data": null } Notes : Send once per live preview, when it leaves the screen. 3 s or more β†’ lives come a bit more often (never more than one in 10 clips); under 2 s β†’ less often; four quick skips in a row β†’ no lives for 30 minutes. Since 2026-11-27 it also teaches the recommendation engine , like a clip's watch time: 3 s or more = a view of the host (or the shop, for a shop live) with the time watched, under 2 s = a skip. Nothing else to send. The clips feed ( GET /feed/reels?cursor&limit&lives=true , feed doc): each item now has kind ( CLIP Β· LIVE ). A LIVE item has clip: null , source: "LIVE" and live (a Live now item: live card, reasonKind , reason , sellingLive ). Without lives=true the feed never has LIVE items. 147. Record a tap (where a sale came from) Purpose : Tell the backend the viewer tapped an item somewhere, so a purchase in the next 24 h is credited there. One call for every place: a live, a meeting, a call, a post, a clip, a shared link, a chat card, an event page, and the in-app places (feed, search, shop page, category, wishlist, a notification). Endpoint : POST {base_url}/sale-taps Access Level : πŸ”’ Protected (any account) Request JSON Sample : { "from": "LIVE", "sourceId": "7d1c…", "item": "PRODUCT", "itemId": "prod-uuid" } Request Body Parameters : Parameter Type Required Description Validation from string Yes Where LIVE Β· MEETING Β· CALL Β· POST Β· CLIP Β· SHARE_LINK Β· CHAT Β· EVENT Β· FEED Β· SEARCH Β· SHOP_PAGE Β· CATEGORY Β· WISHLIST Β· NOTIFICATION sourceId uuid For the first eight Which one: the live Β· meeting Β· call Β· post Β· clip Β· the sharer's accountId (from the shared link) Β· the chat conversation Β· the event left out for the in-app places item string Yes What was tapped PRODUCT Β· EVENT Β· SHOP ; in a meeting also TICKET Β· GROUP (the shelf's ids) itemId uuid Yes The product / event / shop Success Response JSON Sample : { "success": true, "httpStatus": "OK", "message": "Tap", "action_time": "2026-11-27T20:05:00", "data": { "recorded": true } } Errors (409): SOURCE_REQUIRED Β· BAD_ITEM Β· BAD_FROM Β· NOT_ON_SHELF (live / meeting / call) Β· NOT_ON_POST Β· NOT_ON_EVENT Β· NOT_IN_CHAT Β· NOT_FOUND . Notes : The backend checks the item is really there and finds who brought the viewer itself (the live's host, the post's author, the sharer, the event's organiser); the app never says who. recorded: false : nothing kept β€” the viewer's own content / shop (the shop's owner and its staff ), or an in-app tap that would replace someone who brought them within 24 h (a person or content always wins over search, the feed…). CHAT : a card tapped in a one-to-one chat with a person credits that person; in a group chat or a chat with a shop, nobody is credited (the tap still counts for the shop's numbers). The shop's and organiser's sale-origin reports show the taps per place next to the orders ( byKind[].taps ). Call it when the viewer taps the item (opens the product / event page from there). Replaces #85 and the meeting / call shelf tap calls ( /meetings/{id}/pins/{type}/{itemId}/tap , /calls/{id}/pins/{productId}/tap ), which are removed. Every paid checkout line now has a sale origin ( DIRECT when nothing was tapped); see the night changelog Β§6. Part C β€” Shared shapes C1. LiveCard β€” one card for every list Used by posts, My lives, profiles, shops, See all, Later today, the clips feed and the end screen. Draw buttons[] exactly. { "streamId": "7d1c…", "mode": "LIVE_VIDEO", "state": "SCHEDULED", "as": "SHOP", "host": {"accountId": "…", "name": "Mama Yoyo", "userName": "mamayoyo", "userProfileMedia": {"thumbUrl": "…", "mediumUrl": "…"}}, "shop": {"shopId": "…", "name": "Duka la Mama", "logoMedia": {"thumbUrl": "…"}}, "title": "Kanga sale", "description": "…", "coverMedia": {"fileId": "…", "status": "READY", "mediumUrl": "…"}, "scheduledFor": "2026-11-28T20:00:00+03:00", "startingSoon": false, "privateBooking": false, "startedAt": null, "endedAt": null, "watching": null, "watchingText": null, "waitingCount": 12, "friendsWatching": null, "friendsWaiting": {"people": [{"accountId": "…", "name": "Asha"}], "others": 3, "text": "Asha and 3 others are waiting"}, "myReminder": [{"lead": "MINUTES_15", "at": "2026-11-28T19:45:00+03:00"}], "buttons": ["REMINDED", "SHARE"], "onStage": [], "locked": false, "eventId": null, "staffHost": false } Field Description streamId , mode , state The live, LIVE_VIDEO / LIVE_AUDIO , the state (A3) as , host , shop ME or SHOP ; the person; the shop ( null for a personal live) title , description , coverMedia Text and banner (media object: build nothing, use the URLs) scheduledFor , startingSoon Booked time; true in the last 15 minutes privateBooking Only the host sees it (no post) startedAt , endedAt watching , watchingText Only while live ("214 watching") waitingCount People waiting; null for viewers when under 10 (small numbers look sad) friendsWatching , friendsWaiting {people (≀2), others, text} : "Asha and 3 others are watching" myReminder null or [{lead, at}] : when I will be reminded (the app writes the sentence) buttons[] START , OPEN , END , EDIT , CANCEL , POST_IT , SHARE , SEE_WAITING , CONTINUE , BOOK_AGAIN , REMIND_ME , REMINDED , WATCH , VIEW_HOST , BUY_TICKET onStage People on the screen now ( LiveHost[] ) locked , eventId An event's live and I have no online ticket: show BUY_TICKET for eventId staffHost A staff member is hosting this shop live Who sees a card: a private booking and a draft only the host (and the shop's owner); nobody with a block either way. C2. StreamResponse β€” one live's state ( GET /live/streams/{id} , end, continue, go-live) Field Description id , mode , state host LiveHost watching , watchingText Only while live title , description , coverMedia , scheduledFor audioOnly An audio live hostAway The host's video dropped less than 2 minutes ago ("Host reconnecting…") startedAt , endedAt , peakViewers endedReason HOST_ENDED , HOST_LOST , NEVER_STARTED , ADMIN_ENDED canContinueUntil Set for 10 minutes after the end: show the host "Continue" source , cameraConnected PHONE / CAMERA ; the camera is sending (preview) C3. PlayResponse β€” what the player needs ( play ) Field Description addresses[] {format: FLV|HLS, quality: Q720|Q480|Q240|AUDIO|AUDIO_32K|LISTEN_ONLY, url} preferredFormat Try first (FLV); fall back to HLS startQuality Start here player {targetDelayMs, catchUpRate, jumpWhenBehindMs} : keep about 2 s behind, play a little faster to catch up, jump to now when far behind startBefore Start within 5 minutes or ask again C4. People and media LiveHost : {accountId, name, userName, userProfileMedia} . A person always comes with their picture. LiveShop : {shopId, name, logoMedia} . Media objects ( userProfileMedia , coverMedia , logoMedia ) are the platform media standard: ready URLs per size and a status ; never build a URL in the app. C5. The room event {"seq": 1843, "type": "COMMENT", "streamId": "7d1c…", "at": 1795716004000, "data": { }} Field Description seq Order within the live; apply in order; a gap means read GET …/room again type Part D at Epoch milliseconds data Depends on type Events on the personal and live_list:all channels have {type, at, data} (no seq ). Part D β€” Real-time events Channel says where it arrives: room = live_room: (everyone watching), hosts = live_hosts: (team), personal = personal:# (one person), list = live_list:all . "Kept" events are in the GET …/room snapshot; SPEAKING is not kept. The live itself Type Channel data Show LIVE_STARTED room {streamId} The room: the live is on FEED_NEW personal {what: "LIVE" | "POST"} β€” no content Ask GET /feed/home/has-new (at once for LIVE ). Only to connected followers of a non-celebrity; at most one LIVE nudge per person per 3 min, one POST per minute. Replaces the personal LIVE_STARTED card, NEW_POST and feed.new LIVE_ENDED room / list {streamId} End screen (#131) HOST_RECONNECTING Β· HOST_BACK room {streamId} "Host reconnecting…" / back LIVE_PAUSED Β· LIVE_RESUMED room {streamId} "This live is being reviewed" WATCHING room {watching, watchingText} The counter HOST_CHANGED room {streamId, host} Staff hand-over SOURCE_CHANGED room {streamId, source} Phone ⇄ camera CAMERA_CONNECTED personal (host) {streamId} "Camera connected Β· Go live" LIVE_COUNTS list {streams: [{streamId, watching, watchingText}]} (every 30 s) Live now counters LOCKED β€” reserved, not sent Comments Type Channel data COMMENT room {accountId, name, userName, userProfileMedia, body, role, speaksAs, replyTo} COMMENT_REMOVED Β· COMMENT_UNPINNED room {seq} COMMENT_PINNED room the comment event COMMENT_REPLY personal {seq, byAccountId, byName} : someone replied to you HELD_COMMENT Β· HELD_RESOLVED hosts {heldId, comment, at} REMOVED_FROM_LIVE personal {streamId} : close the player REPORTED hosts {streamId} Taking part Type Channel data REACTIONS room {mix: [{reaction, emoji, count}]} every 2 s JOINS room {named: [{person, hostFollows, topFanRank}], joinedCount} every 2 s ("Asha joined") FRIEND_JOINED personal {friend} : a friend of yours joined the live you watch POLL_STARTED room poll view (#44 answer) POLL_RESULTS Β· POLL_ENDED room {pollId, options: [{index, text, productId, votes, percent}], totalVotes, ended, winner} QUESTION_ASKED hosts question view QUESTION_ON_SCREEN room question view QUESTION_DONE room {questionId} Stage Type Channel data STAGE_CHANGED room {streamId, members: [{person, role, asShop, voiceOnly, newHere, joinedAt}], seatsNow, seatsTaken} STAGE_REQUEST hosts {person, voiceOnly, askedAt} STAGE_REQUEST_GONE hosts {accountId} STAGE_INVITE_STATE hosts / personal the invite (#63 answer) STAGE_SEAT_FREE personal {streamId, inviteId} : a seat freed for your open invite STAGE_REMOVED personal {accountId} STAGE_MUTED room {accountId} STAGE_HANDS room {hands: [accountId]} SPEAKING room (not kept) {speaking: [accountId]} LIVE_SEND_ON room {toStreamId, title, mode, host} Selling Type Channel data PIN room {attachmentId, type, targetId, card, donation} UNPIN room {attachmentId, type, targetId, card: null, donation: null} SALES hosts {streamId, orders, pieces} DROP_STARTED Β· DROP_LEFT Β· DROP_ENDED room drop view Β· {dropId, left} Β· {dropId, grabbed} FLASH_STARTED Β· FLASH_LEFT Β· FLASH_ENDED room flash view Β· {flashId, left} Β· {flashId, sold} FREE_DELIVERY_ON Β· FREE_DELIVERY_OFF room {campaignId, streamId, half, cap, running} GOAL_STARTED Β· GOAL_PROGRESS Β· GOAL_REACHED Β· GOAL_TIME_UP Β· GOAL_ENDED room goal view GROUP_PROGRESS room group card TICKET_GROUP_PROGRESS room ticket group card DONATION_PROGRESS room {ticketId, donation: {target, raised, donations}} after each donation OFFER_MADE Β· OFFER_ANSWERED room offer view ( state : WAITING , ACCEPTED , COUNTERED , NO …) AUCTION_STARTED Β· AUCTION_BID Β· AUCTION_ENDED room auction view GIFT_MOMENT Β· GIFT_CARD room {refId} : play the gift (gift API) Part E β€” Notifications (push and bell) Every notification carries targetType + targetId for the deep link. STREAM opens the live, EVENT the event page. Type Who When Text (in-app) LIVE_STREAM_STARTING Remind-me people, followers, friends (shop: shop followers), sent in batches. A celebrity (10,000+ followers, or a shop as big): only Remind-me people + followers with "πŸ”” All lives" (#144) The live goes on air {host} is live now Β· {title} LIVE_REMINDER Remind-me people Their chosen leads {host} goes live soon Β· {title} Β· {time} LIVE_HOST_GET_READY Host 15 min before a booking Your live starts in 15 min Β· get ready LIVE_MOVED People waiting A booking moved {host} moved their live Β· now {time} LIVE_CANCELLED People waiting A booking cancelled {host} cancelled their live LIVE_BOOK_AGAIN Host Right after ending ( data.suggestedAt ) Book again? Β· {title} Β· {time} LIVE_CONTINUE Host The connection was lost Your live stopped … Continue it within {minutes} minutes LIVE_STAGE_INVITE The invited person Stage invite {inviter} invites you to their live LIVE_STAGE_GET_READY Invited people 15 min before … get ready to join the stage LIVE_STAGE_LIVE_NOW Invited people The live started πŸ”΄ {host} is live Β· join the stage LIVE_CAMERA_CONNECTED Host The external camera connected πŸ“· Your camera is connected Β· tap to go live LIVE_SUMMARY_READY Host 3 s after the end Your live's numbers are ready LIVE_PAUSED_BY_NEXGATE Host Paused after reports Your live is being reviewed LIVE_ENDED_BY_NEXGATE Host NexGate ended it NexGate ended your live LIVE_BANNED The person Banned from going live You can't go live for now Β· until {date} SOC_SHOP_FEATURED Β· SOC_EVENT_FEATURED A shop's / event's owner Someone pinned their shop / event in a live EVENT_ONLINE_STARTED Online ticket holders An event's live goes on air (instead of LIVE_STREAM_STARTING ) {event} is on now Β· Tap to join Part F β€” Server to server and configuration SRS hooks (not for the app) POST /api/v1/live/hooks/{publish|unpublish|play|hls}?secret= . Body: SRS's hook JSON ( app , stream , param , ip , client_id ). Answer {"code": 0} allow, {"code": 1} refuse. Hook Rule any Wrong or missing secret β†’ refuse (publish, play) or ignore (hls, unpublish) publish stream = the live id; param carries key= ; key valid, live not ended, right app ( live , live_mid , live_low , radio ); the camera's key only when the source is the camera play From 127.0.0.1 (SRS's own transcoder) allowed; otherwise param carries a valid play token for this live and the account's latest phone hls Always allowed; the first piece makes the live LIVE unpublish The host's video left: hostAway (2 min grace); before the first piece it ends the live Configuration (backend) Key Meaning app.live.playback-base-url , app.live.flv-base-url Where viewers play (HLS, FLV edge) app.live.publisher-rtmp-url , app.live.publisher-whip-url Where hosts publish app.live.play-token-secret Signs play tokens (Vault in staging / prod) app.srs.hook-secret , app.srs.api-url SRS hooks; SRS API (drop a sender, read bitrate) app.live.stage.seats-now / seats-max / audio-seats-now / audio-seats-max 2 / 5 / 4 / 7 app.realtime.* Centrifugo ( ws-url , api-url , api-key , token-secret , token-ttl-seconds ) app.live.guests-window-url The OBS guests page app.coupons.enabled Coupon drops show only when coupons are on Quick Reference Guide Endpoint index # Method Path Who 1 POST /live/streams any account allowed to go live 2 PATCH /live/streams/{streamId} the host 3 POST /live/streams/{streamId}/cancel the host 4 PUT /live/streams/{streamId}/reminders-open the host 5 GET /live/streams/{streamId}/waiting the host or the shop owner 6 POST /live/streams/{streamId}/book-again the host 7 PUT /live/streams/{streamId}/reminder any viewer 8 GET /live/streams/{streamId} anyone who can see it (private bookings: host only) 9 POST /live/streams/{streamId}/ingest-key the host 10 POST /live/streams/{streamId}/play any viewer (event live: ticket holders and the team) 11 POST /live/streams/{streamId}/continue the host 12 POST /live/streams/{streamId}/end the host (shop live: also the owner) 13 GET /realtime/connection any account 14 POST /live/streams/{streamId}/realtime any viewer (event live: ticket holders and the team) 15 GET /live/streams/{streamId}/room any viewer (event live: ticket holders and the team) 16 GET /live/streams/{streamId}/hosts-room the host's team 17 GET /live/now any account 18 GET /live/swipe removed 19 GET /live/mine any account 20 GET /live/people/{accountId} any account 21 GET /live/shops/{shopId} any account 22 POST /live/streams/{streamId}/watching any viewer 23 POST /e-social/posts/draft/attach-live/{streamId} any account 24 POST /live/streams/{streamId}/comments any viewer (event live: ticket holders and the team) 25 PUT /live/streams/{streamId}/comments/mute/{accountId} the host's team (host, co-hosts, moderators) 26 PUT /live/streams/{streamId}/comments/slow-mode the host's team (host, co-hosts, moderators) 27 DELETE /live/streams/{streamId}/comments/{seq} the host's team (host, co-hosts, moderators) 28 PUT /live/streams/{streamId}/comments/{seq}/pin the host's team (host, co-hosts, moderators) 29 DELETE /live/streams/{streamId}/comments/pin the host's team (host, co-hosts, moderators) 30 GET /live/streams/{streamId}/comments/held the host's team (host, co-hosts, moderators) 31 POST /live/streams/{streamId}/comments/held/{heldId}/approve the host's team (host, co-hosts, moderators) 32 DELETE /live/streams/{streamId}/comments/held/{heldId} the host's team (host, co-hosts, moderators) 33 POST /live/streams/{streamId}/people/{accountId}/remove the host's team (host, co-hosts, moderators) 34 POST /live/streams/{streamId}/report any viewer 35 GET /live/moderators any account 36 PUT /live/moderators/{accountId} any account 37 DELETE /live/moderators/{accountId} any account 38 GET /live/words any account 39 PUT /live/words any account 40 POST /live/streams/{streamId}/reactions any viewer 41 GET /live/streams/{streamId}/reactions the host's team (host, co-hosts, moderators) 42 GET /live/streams/{streamId}/viewers/top any viewer 43 GET /live/streams/{streamId}/viewers the host's team (host, co-hosts, moderators) 44 POST /live/streams/{streamId}/polls host or co-host 45 GET /live/streams/{streamId}/polls/current any viewer 46 GET /live/streams/{streamId}/polls the host's team (host, co-hosts, moderators) 47 POST /live/streams/{streamId}/polls/{pollId}/votes any viewer 48 POST /live/streams/{streamId}/polls/{pollId}/end host or co-host 49 POST /live/streams/{streamId}/questions any viewer 50 GET /live/streams/{streamId}/questions any viewer 51 POST /live/streams/{streamId}/questions/{questionId}/me-too any viewer 52 POST /live/streams/{streamId}/questions/{questionId}/answer host or co-host 53 POST /live/streams/{streamId}/questions/{questionId}/done host or co-host 54 GET /live/streams/{streamId}/stage any viewer 55 POST /live/streams/{streamId}/stage/requests any viewer 56 DELETE /live/streams/{streamId}/stage/requests/me the asker 57 GET /live/streams/{streamId}/stage/requests the host's team (host, co-hosts, moderators) 58 POST /live/streams/{streamId}/stage/requests/{accountId}/accept the host's team (host, co-hosts, moderators) 59 POST /live/streams/{streamId}/stage/requests/{accountId}/ignore the host's team (host, co-hosts, moderators) 60 POST /live/streams/{streamId}/stage/requests/{accountId}/block the host's team (host, co-hosts, moderators) 61 PUT /live/streams/{streamId}/stage/requests-open host or co-host 62 PUT /live/streams/{streamId}/stage/who-can-ask host or co-host 63 POST /live/streams/{streamId}/stage/invites the host (co-hosts: people watching, as guests) 64 GET /live/streams/{streamId}/stage/invites the host's team (host, co-hosts, moderators) 65 GET /live/stage-invites any account 66 GET /live/stage-invites/people any account 67 POST /live/stage-invites/{inviteId}/respond the invited person 68 POST /live/stage-invites/{inviteId}/join the invited person 69 POST /live/stage-invites/{inviteId}/revoke the inviter 70 POST /live/streams/{streamId}/stage/link the host 71 POST /live/stage-links/{code} any account 72 POST /live/streams/{streamId}/stage/token host and people on the stage 73 POST /live/streams/{streamId}/stage/members/{accountId}/remove the host's team (host, co-hosts, moderators) 74 POST /live/streams/{streamId}/stage/leave someone on the stage 75 POST /live/streams/{streamId}/stage/members/{accountId}/mute the host's team (host, co-hosts, moderators) 76 PUT /live/streams/{streamId}/stage/hand someone on the stage 77 POST /live/streams/{streamId}/stage/speaking host or someone on the stage 78 POST /live/streams/{streamId}/stage/send-on the host 79 GET /live/streams/{streamId}/stage/window the host 80 POST /live/streams/{streamId}/attachments the host 81 GET /live/streams/{streamId}/attachments any viewer 82 PUT /live/streams/{streamId}/attachments/{attachmentId}/pin the host 83 DELETE /live/streams/{streamId}/attachments/pin the host 84 DELETE /live/streams/{streamId}/attachments/{attachmentId} the host 85 POST /live/streams/{streamId}/attachments/{attachmentId}/tap removed β†’ #147 86 GET /live/streams/{streamId}/tools the host's team (host, co-hosts, moderators) 87 GET /live/streams/{streamId}/products/{productId}/card any viewer 88 GET /live/streams/{streamId}/sales the host's team (host, co-hosts, moderators) 89 POST /live/streams/{streamId}/drops the seller: the shop's owner on a shop live (staff with the right on the terminal) 90 GET /live/streams/{streamId}/drops any viewer 91 GET /live/streams/{streamId}/drops/report the host's team (host, co-hosts, moderators) 92 PATCH /live/streams/{streamId}/drops/{dropId} the seller: the shop's owner on a shop live (staff with the right on the terminal) 93 POST /live/streams/{streamId}/drops/{dropId}/stop the seller: the shop's owner on a shop live (staff with the right on the terminal) 94 POST /live/streams/{streamId}/drops/{dropId}/grab any viewer 95 POST /live/streams/{streamId}/flash the seller: the shop's owner on a shop live (staff with the right on the terminal) 96 GET /live/streams/{streamId}/flash any viewer 97 PATCH /live/streams/{streamId}/flash/{flashId} the seller: the shop's owner on a shop live (staff with the right on the terminal) 98 POST /live/streams/{streamId}/flash/{flashId}/stop the seller: the shop's owner on a shop live (staff with the right on the terminal) 99 POST /live/streams/{streamId}/free-delivery the seller: the shop's owner on a shop live (staff with the right on the terminal) 100 POST /live/streams/{streamId}/free-delivery/{campaignId}/stop the seller: the shop's owner on a shop live (staff with the right on the terminal) 101 POST /live/streams/{streamId}/goals host or co-host (sales goals: the seller) 102 GET /live/streams/{streamId}/goals any viewer 103 PATCH /live/streams/{streamId}/goals/{goalId} host or co-host 104 POST /live/streams/{streamId}/goals/{goalId}/cancel host or co-host 105 POST /live/streams/{streamId}/goals/{goalId}/reward host or co-host 106 POST /live/streams/{streamId}/group-buys the seller: the shop's owner on a shop live (staff with the right on the terminal) 107 POST /live/streams/{streamId}/group-buys/{groupId}/price the shop owner 108 POST /live/streams/{streamId}/group-buys/{groupId}/give-through the shop owner 109 POST /live/streams/{streamId}/ticket-groups the event's organiser 110 POST /live/streams/{streamId}/bargain the seller: the shop's owner on a shop live (staff with the right on the terminal) 111 DELETE /live/streams/{streamId}/bargain/{productId} the seller: the shop's owner on a shop live (staff with the right on the terminal) 112 POST /live/streams/{streamId}/bargain/{productId}/offers any viewer 113 GET /live/streams/{streamId}/bargain/{productId}/offers the seller: the shop's owner on a shop live (staff with the right on the terminal) 114 POST /live/streams/{streamId}/bargain/{productId}/offers/{buyerId}/accept the seller: the shop's owner on a shop live (staff with the right on the terminal) 115 POST /live/streams/{streamId}/bargain/{productId}/offers/{buyerId}/counter the seller: the shop's owner on a shop live (staff with the right on the terminal) 116 POST /live/streams/{streamId}/bargain/{productId}/offers/{buyerId}/no the seller: the shop's owner on a shop live (staff with the right on the terminal) 117 POST /live/streams/{streamId}/bargain/{productId}/counter/accept the buyer 118 POST /live/streams/{streamId}/auctions the seller: the shop's owner on a shop live (staff with the right on the terminal) 119 GET /live/streams/{streamId}/auctions any viewer 120 POST /live/streams/{streamId}/auctions/{auctionId}/bids any viewer 121 POST /live/streams/{streamId}/auctions/{auctionId}/cancel the seller: the shop's owner on a shop live (staff with the right on the terminal) 122 GET /live/streams/{streamId}/gifts any viewer 123 PUT /live/streams/{streamId}/gifts the personal host / the shop's owner 124 GET /live/stream-from any account 125 GET /live/streams/{streamId}/camera the host 126 POST /live/streams/{streamId}/camera/reset the host 127 PUT /live/streams/{streamId}/source the host 128 POST /live/streams/{streamId}/go-live the host 129 POST /live/streams/{streamId}/hand-over the host or the shop owner 130 GET /live/streams/{streamId}/summary the host's team (host, co-hosts, moderators) 131 GET /live/streams/{streamId}/after any viewer 132 GET /live/last-live any account 133 GET /live/settings any account 134 PUT /live/settings any account 135 GET /e-events/{eventId}/online any account 136 GET /admin/live/reports SUPER_ADMIN / STAFF_ADMIN 137 GET /admin/live/reports/{reportId}/snapshot SUPER_ADMIN / STAFF_ADMIN 138 GET /admin/live/reports/{reportId}/sound SUPER_ADMIN / STAFF_ADMIN 139 POST /admin/live/streams/{streamId}/continue SUPER_ADMIN / STAFF_ADMIN 140 POST /admin/live/streams/{streamId}/end SUPER_ADMIN / STAFF_ADMIN 141 POST /admin/live/bans SUPER_ADMIN / STAFF_ADMIN 142 DELETE /admin/live/bans/{accountId} SUPER_ADMIN / STAFF_ADMIN 143 GET /live/row any account 144 PUT /live/alerts a follower 145 GET /live/alerts any account 146 POST /live/streams/{streamId}/clips-preview any account 147 POST /sale-taps any account HTTP Method Badge Code Templates GET Badge: GET POST Badge: POST PUT Badge: PUT PATCH Badge: PATCH DELETE Badge: DELETE Common HTTP Status Codes 200 OK : success 400 Bad Request : malformed request 401 Unauthorized : sign in again 403 Forbidden : not allowed in this area 404 Not Found : no such live (or a block) 409 Conflict : a live rule said no; read data.code 422 Unprocessable Entity : field validation 500 Internal Server Error : retry later Data Format Standards Dates : ISO 8601 with offset; real-time at in epoch ms Money : TZS, plain numbers (no cents) IDs : UUID strings; people are accountId Pages : page (from 0), size , hasNext / hasMore