# WordPlus Cloud docs > The realtime cloud for websites and apps. Its realtime SDK gives rooms (channels, in WordPress) with events, acks and history, presence and who is online, calls between two people that ring in the browser and in apps, group calls, live streams with a chat and moderation, and encryption with keys only the site or app holds. The server declares the rooms, calls and streams and decides, user by user, what each may do in them (Permissions: read only, which events, send or only watch, host, keep a chat). The page or app joins rooms, sends and gets events, and runs the calls and streams, either with an interface of its own on the API (Your own interface) or with the optional ready-made parts: the custom elements (, , , …) and React components of the Better Messages call screen, chat and online list and the Easy Stream player (Elements reference, Making the screens your own). For WordPress: wordplus/realtime, for any plugin or theme. For other apps, a whole guide each, with an example app: Next.js and Express (@wordplus/realtime, its server part and React hooks), Laravel and PHP (wordplus/realtime-php), Django, FastAPI and Flask (wordplus-realtime), mobile apps (React Native and Capacitor), iOS (the Swift package WordPlusRealtime) and Android (cloud.wordplus:realtime); any other stack has a guide with Node, PHP and Python side by side. A server in any other language (Go, Ruby, Java, .NET, Rust …) uses the HTTP API and protocol: signed requests, the webhook, and the tokens and keys the browser asks for, with test values and a whole server in Go (OpenAPI 3.1: https://docs.wordplus.cloud/api/openapi.yaml). All of it in one file: https://docs.wordplus.cloud/llms-full.txt ## WordPlus Cloud docs - [WordPlus Cloud docs](https://docs.wordplus.cloud/index.md): WordPlus Cloud is the realtime cloud for websites and apps. The realtime SDK gives your code what the WordPlus plugins run on: - [Use with AI agents](https://docs.wordplus.cloud/ai-agents.md): An AI coding agent can build realtime features into your plugin or app with the SDK, if it has the right instructions. There are three ways to give them to it, from the most complete to the simplest. - [What each SDK has](https://docs.wordplus.cloud/sdk-features.md): What each package has as it is published today: `@wordplus/realtime` and `@wordplus/realtime-ui` 1.1.0 on npm, `wordplus/realtime-php` and `wordplus/realtime` 1.0.2 on Packagist, `wordplus-realtime` 1.0.2 on PyPI, and th - [Other apps](https://docs.wordplus.cloud/other-apps.md): The realtime SDK is the same on every stack: your server declares the rooms, decides who may join and call, and signs it. The page or app connects to WordPlus Cloud, joins rooms and opens what arrives. Next.js, Laravel, ## WordPress: wordplus/realtime - [Getting started](https://docs.wordplus.cloud/wordpress/getting-started.md): The WordPlus realtime SDK gives any WordPress plugin, theme or custom code realtime features on a site with a WordPlus Cloud subscription: - [Rooms](https://docs.wordplus.cloud/wordpress/rooms.md): A room carries events to every page that joined it. Your server sends to it ([sending from your server](sending.md)), and pages may send to it too, as its rule allows ([events from the page](events.md)). A plugin declare - [Presence](https://docs.wordplus.cloud/wordpress/presence.md): A presence room lists who is in it, to everyone in it: who is reading a post, who is in a support queue, who is in the shop. And across the whole site, who is online. The use case [who is online](../use-cases/online.md) - [Sending from your server](https://docs.wordplus.cloud/wordpress/sending.md): Your server sends events to rooms and to users, asks about rooms and who is online, and hears what happens in rooms, calls and live streams by webhook. - [Events from the page](https://docs.wordplus.cloud/wordpress/events.md): Pages send events to the rooms they are in, straight through WordPlus Cloud, with no request to your server: chat messages, typing, read ticks, a cursor. A room rule says which events may be sent to it, and every one is - [Calls between two people](https://docs.wordplus.cloud/wordpress/calls.md): A call rings on every page the other person has open, and once answered it always connects, on three paths tried in turn: - [Group calls](https://docs.wordplus.cloud/wordpress/group-calls.md): A group call is a room on the WordPlus Cloud media servers. Everyone in it sends their camera, microphone and screen once, and gets those of everyone else. The servers form a mesh across regions, so the people of a group - [The call screen](https://docs.wordplus.cloud/wordpress/call-screen.md): The Better Messages call screens on any page, with no JavaScript to write: a call button, a group call button, the ring for incoming calls, and the call window with the usual controls, in the corner of the page or in a p - [Live streams](https://docs.wordplus.cloud/wordpress/streams.md): One person presents live to everyone watching: the picture, a chat beside it, reactions, and the count of who watches. The host goes live from the browser or streams from OBS, and may bring viewers on stage beside them. - [Encryption and the site users](https://docs.wordplus.cloud/wordpress/encryption.md): What your plugin sends through WordPlus Cloud is sealed on the way: the realtime servers carry it without being able to read it or change it. You do not write any encryption code. The site holds the keys, gives each user - [PHP reference](https://docs.wordplus.cloud/wordpress/php-reference.md): Everything is on `wordplus_realtime()`, the newest copy of the package on the site. Call it from `plugins_loaded` on. - [JavaScript reference](https://docs.wordplus.cloud/wordpress/javascript-reference.md): Three scripts, each loaded only by the pages that need it: - [Errors](https://docs.wordplus.cloud/wordpress/errors.md): Every refusal has a short code. The page hands it on as `code` (`e.code` of a rejected promise, `{ code }` of an `error` event, the `endReason` of a call). PHP returns it as the code of a `WP_Error`. - [Limits](https://docs.wordplus.cloud/wordpress/limits.md): ## Rooms - [Other servers](https://docs.wordplus.cloud/wordpress/self-hosted.md): The SDK talks to the WordPlus Cloud servers by default. Four filters point it elsewhere: - [The WordPress example](https://docs.wordplus.cloud/wordpress/example.md): A whole shop as a WordPress plugin, in the package `examples/shop`: sign in as Ann (support), Ben (a customer) or Cara (the warehouse), each in a browser of their own, and try everything these pages cover. ## Next.js: @wordplus/realtime (its server part and React) - [Getting started with Next.js](https://docs.wordplus.cloud/nextjs/getting-started.md): Live updates, chat, who is online, calls, group calls and live streams in a Next.js app (App Router), through WordPlus Cloud. `@wordplus/realtime` is both halves: - [Rooms in Next.js](https://docs.wordplus.cloud/nextjs/rooms.md): A room is a name pages join to get its events. Your server declares your rooms once, by pattern, with what they keep and allow, and answers for each user who asks to join. - [Presence in Next.js](https://docs.wordplus.cloud/nextjs/presence.md): Three ways to show people: a presence room lists who is in it to everyone in it (who is in the shop, who is viewing a document). A count says how many, at any size. And who is online is known across your whole app, for a - [Sending from your Next.js server](https://docs.wordplus.cloud/nextjs/sending.md): Your server sends events to rooms and to users, from server actions, route handlers and anything else on the server, after its own work is saved. Everyone in the room gets them, sealed on the way, and a room that keeps h - [Events from the page, in Next.js](https://docs.wordplus.cloud/nextjs/events.md): Pages send events to the rooms they are in, straight through WordPlus Cloud, with no request to your server: chat messages, typing, read ticks, a cursor. A room rule says which events its pages may send. - [Calls in Next.js](https://docs.wordplus.cloud/nextjs/calls.md): Calls between two people that ring in every tab and device the callee has open, group calls on the WordPlus Cloud media servers, and the Better Messages call screen: the buttons, the ring and the call window, with no cal - [Live streams in Next.js](https://docs.wordplus.cloud/nextjs/streams.md): One person presents live to everyone watching: the picture, a chat beside it, reactions, and the count of who watches. The host goes live from the browser, a phone or OBS, and brings viewers on stage beside them. Viewers - [Encryption and your users in Next.js](https://docs.wordplus.cloud/nextjs/encryption.md): What your app sends through WordPlus Cloud is sealed on the way: the realtime servers carry it, and keep the history of a room, without being able to read or change it. You write no encryption code. Your server holds the - [Customizing the screens in Next.js](https://docs.wordplus.cloud/nextjs/customizing.md): The call screen, the chat and the list of who is online can be made part of the design of your app, or changed down to their code, with your AI coding agent or by hand. Each step goes further than the last: [making the s - [Deploying a Next.js app](https://docs.wordplus.cloud/nextjs/deploying.md): On Vercel, or any host that runs Next.js: nothing realtime is kept on your servers, so serverless functions, edge functions and several instances all work as they are. - [The Next.js example](https://docs.wordplus.cloud/nextjs/example.md): A whole shop on Next.js (App Router), in the package `examples/nextjs`: sign in as Ann (support), Ben (a customer) or Cara (the warehouse), each in a browser of their own, and try everything this guide covers. - [Build a dating site](https://docs.wordplus.cloud/nextjs/dating-site.md): A dating site on Next.js where members find the people they are looking for, see who is online, chat, and go on a video date in their chat. Its accounts are Better Auth's and its data is in Postgres. Everything live is W - [Build a live lessons site](https://docs.wordplus.cloud/nextjs/live-lessons.md): A site of live lessons on Next.js: teachers of cooking, music and fitness go live in their lessons from the browser, or from OBS, and students watch with a chat and reactions, raise a hand to come on stage with their cam - [Build a team intranet](https://docs.wordplus.cloud/nextjs/team-intranet.md): A team intranet on Next.js: each team has its meeting room, a group call its lead hosts, and its channels. Colleagues see who is online, write to each other and call, and hear when their team starts a meeting, on whateve - [Build a private consultations site](https://docs.wordplus.cloud/nextjs/consultations.md): A consultations site on Next.js: clients book half an hour with an expert, a doctor, a lawyer, a tutor or a counsellor, or talk now to one who is free. At its time the client waits in the waiting room, and the expert let - [Build a community site](https://docs.wordplus.cloud/nextjs/community.md): A community site on Next.js: a photography club whose members share photos in its channels for feedback, drop into its lounges to talk or edit together, by voice or with their cameras, and watch its live events, where a - [Build a marketplace](https://docs.wordplus.cloud/nextjs/marketplace.md): A marketplace on Next.js where neighbours buy and sell their things. A buyer writes to the seller about an item and gets an answer while they look, sends and gets photos, sees the item on a video call before coming over, ## Laravel: wordplus/realtime-php (Laravel broadcasting) - [Getting started with Laravel](https://docs.wordplus.cloud/laravel/getting-started.md): Live updates, chat, who is online, calls, group calls and live streams in a Laravel app, through WordPlus Cloud, with the broadcasting built into Laravel. `wordplus/realtime-php` brings: - [Rooms in Laravel](https://docs.wordplus.cloud/laravel/rooms.md): A room is a name pages join to get its events. The Laravel broadcasting names them: each channel is a room of the same name, so `new PrivateChannel( 'orders.1042' )` and `new PresenceChannel( 'shop' )` are the rooms `ord - [Presence in Laravel](https://docs.wordplus.cloud/laravel/presence.md): Three ways to show people: a presence room lists who is in it to everyone in it (who is in the shop, who is viewing a document). A count says how many, at any size. And who is online is known across your whole app, for a - [Sending from Laravel](https://docs.wordplus.cloud/laravel/sending.md): Your app sends events to rooms and to users: broadcast events, or the facade straight. Everyone in the room gets them, sealed on the way, and a room that keeps history keeps them. - [Events from the page, in Laravel](https://docs.wordplus.cloud/laravel/events.md): Pages send events to the rooms they are in, straight through WordPlus Cloud, with no request to your app: chat messages, typing, read ticks, a cursor. The options of a room say which events its pages may send. - [Calls in Laravel](https://docs.wordplus.cloud/laravel/calls.md): Calls between two people that ring in every tab and device the callee has open, group calls on the WordPlus Cloud media servers, and the Better Messages call screen: the buttons, the ring and the call window, with no cal - [Live streams in Laravel](https://docs.wordplus.cloud/laravel/streams.md): One person presents live to everyone watching: the picture, a chat beside it, reactions, and the count of who watches. The host goes live from the browser, a phone or OBS, and brings viewers on stage beside them. Viewers - [Encryption and your users in Laravel](https://docs.wordplus.cloud/laravel/encryption.md): What your app sends through WordPlus Cloud is sealed on the way: the realtime servers carry it, and keep the history of a room, without being able to read or change it. You write no encryption code. Your app holds the ke - [Customizing the screens in Laravel](https://docs.wordplus.cloud/laravel/customizing.md): The call screen, the chat and the list of who is online can be made part of the design of your app, or changed down to their code, with your AI coding agent or by hand. Each step goes further than the last: [making the s - [Deploying a Laravel app](https://docs.wordplus.cloud/laravel/deploying.md): On Forge, Vapor, Cloud, or any server that runs Laravel: nothing realtime is kept on your servers, so any of them answers any request. - [The Laravel example](https://docs.wordplus.cloud/laravel/example.md): A whole shop on Laravel, in the package `examples/laravel`: sign in as Ann (support), Ben (a customer) or Cara (the warehouse), each in a browser of their own, and try everything this guide covers. ## Django: wordplus-realtime - [Getting started with Django](https://docs.wordplus.cloud/django/getting-started.md): Live updates, chat, who is online, calls, group calls and live streams in a Django app, through WordPlus Cloud. Two packages: - [Rooms in Django](https://docs.wordplus.cloud/django/rooms.md): A room is a name pages join to get its events. Your server declares your rooms once, by pattern, with what they keep and allow, and answers for each user who asks to join. - [Presence in Django](https://docs.wordplus.cloud/django/presence.md): Three ways to show people: a presence room lists who is in it to everyone in it (who is in the shop, who is viewing a document). A count says how many, at any size. And who is online is known across your whole app, for a - [Sending from Django](https://docs.wordplus.cloud/django/sending.md): Your server sends events to rooms and to users, after its own work is saved. Everyone in the room gets them, sealed on the way, and a room that keeps history keeps them. - [Events from the page, in Django](https://docs.wordplus.cloud/django/events.md): Pages send events to the rooms they are in, straight through WordPlus Cloud, with no request to your server: chat messages, typing, read ticks, a cursor. A room rule says which events its pages may send. - [Calls in Django](https://docs.wordplus.cloud/django/calls.md): Calls between two people that ring in every tab and device the callee has open, group calls on the WordPlus Cloud media servers, and the Better Messages call screen: the buttons, the ring and the call window, with no cal - [Live streams in Django](https://docs.wordplus.cloud/django/streams.md): One person presents live to everyone watching: the picture, a chat beside it, reactions, and the count of who watches. The host goes live from the browser, a phone or OBS, and brings viewers on stage beside them. Viewers - [Encryption and your users in Django](https://docs.wordplus.cloud/django/encryption.md): What your app sends through WordPlus Cloud is sealed on the way: the realtime servers carry it, and keep the history of a room, without being able to read or change it. You write no encryption code. Your server holds the - [Customizing the screens in Django](https://docs.wordplus.cloud/django/customizing.md): The call screen, the chat and the list of who is online can be made part of the design of your app, or changed down to their code, with your AI coding agent or by hand. Each step goes further than the last: [making the s - [Deploying a Django app](https://docs.wordplus.cloud/django/deploying.md): Under Gunicorn or uWSGI behind nginx, on a PaaS, or under an ASGI server: nothing realtime is kept on your servers, so any of them answers any request. - [The Django example](https://docs.wordplus.cloud/django/example.md): A whole shop on Django, in the package `examples/django`: sign in as Ann (support), Ben (a customer) or Cara (the warehouse), each in a browser of their own, and try everything this guide covers. ## FastAPI: wordplus-realtime - [Getting started with FastAPI](https://docs.wordplus.cloud/fastapi/getting-started.md): Live updates, chat, who is online, calls, group calls and live streams in a FastAPI or Starlette app, through WordPlus Cloud. Two packages: - [Rooms in FastAPI](https://docs.wordplus.cloud/fastapi/rooms.md): A room is a name pages join to get its events. Your server declares your rooms once, by pattern, with what they keep and allow, and answers for each user who asks to join. - [Presence in FastAPI](https://docs.wordplus.cloud/fastapi/presence.md): Three ways to show people: a presence room lists who is in it to everyone in it (who is in the shop, who is viewing a document). A count says how many, at any size. And who is online is known across your whole app, for a - [Sending from FastAPI](https://docs.wordplus.cloud/fastapi/sending.md): Your server sends events to rooms and to users, after its own work is saved. Everyone in the room gets them, sealed on the way, and a room that keeps history keeps them. - [Events from the page, in FastAPI](https://docs.wordplus.cloud/fastapi/events.md): Pages send events to the rooms they are in, straight through WordPlus Cloud, with no request to your server: chat messages, typing, read ticks, a cursor. A room rule says which events its pages may send. - [Calls in FastAPI](https://docs.wordplus.cloud/fastapi/calls.md): Calls between two people that ring in every tab and device the callee has open, group calls on the WordPlus Cloud media servers, and the Better Messages call screen: the buttons, the ring and the call window, with no cal - [Live streams in FastAPI](https://docs.wordplus.cloud/fastapi/streams.md): One person presents live to everyone watching: the picture, a chat beside it, reactions, and the count of who watches. The host goes live from the browser, a phone or OBS, and brings viewers on stage beside them. Viewers - [Encryption and your users in FastAPI](https://docs.wordplus.cloud/fastapi/encryption.md): What your app sends through WordPlus Cloud is sealed on the way: the realtime servers carry it, and keep the history of a room, without being able to read or change it. You write no encryption code. Your server holds the - [Customizing the screens in FastAPI](https://docs.wordplus.cloud/fastapi/customizing.md): The call screen, the chat and the list of who is online can be made part of the design of your app, or changed down to their code, with your AI coding agent or by hand. Each step goes further than the last: [making the s - [Deploying a FastAPI app](https://docs.wordplus.cloud/fastapi/deploying.md): Under Uvicorn or Gunicorn with Uvicorn workers, behind nginx or on a PaaS: nothing realtime is kept on your servers, so any worker answers any request. - [The FastAPI example](https://docs.wordplus.cloud/fastapi/example.md): A whole shop on FastAPI, in the package `examples/fastapi`: sign in as Ann (support), Ben (a customer) or Cara (the warehouse), each in a browser of their own, and try everything this guide covers. ## Express, and Node’s other servers: @wordplus/realtime - [Getting started with Express](https://docs.wordplus.cloud/express/getting-started.md): Live updates, chat, who is online, calls, group calls and live streams in an Express app, through WordPlus Cloud. `@wordplus/realtime` is both halves: - [Rooms in Express](https://docs.wordplus.cloud/express/rooms.md): A room is a name pages join to get its events. Your server declares your rooms once, by pattern, with what they keep and allow, and answers for each user who asks to join. - [Presence in Express](https://docs.wordplus.cloud/express/presence.md): Three ways to show people: a presence room lists who is in it to everyone in it (who is in the shop, who is viewing a document). A count says how many, at any size. And who is online is known across your whole app, for a - [Sending from your Express server](https://docs.wordplus.cloud/express/sending.md): Your server sends events to rooms and to users, after its own work is saved. Everyone in the room gets them, sealed on the way, and a room that keeps history keeps them. - [Events from the page, in Express](https://docs.wordplus.cloud/express/events.md): Pages send events to the rooms they are in, straight through WordPlus Cloud, with no request to your server: chat messages, typing, read ticks, a cursor. A room rule says which events its pages may send. - [Calls in Express](https://docs.wordplus.cloud/express/calls.md): Calls between two people that ring in every tab and device the callee has open, group calls on the WordPlus Cloud media servers, and the Better Messages call screen: the buttons, the ring and the call window, with no cal - [Live streams in Express](https://docs.wordplus.cloud/express/streams.md): One person presents live to everyone watching: the picture, a chat beside it, reactions, and the count of who watches. The host goes live from the browser, a phone or OBS, and brings viewers on stage beside them. Viewers - [Encryption and your users in Express](https://docs.wordplus.cloud/express/encryption.md): What your app sends through WordPlus Cloud is sealed on the way: the realtime servers carry it, and keep the history of a room, without being able to read or change it. You write no encryption code. Your server holds the - [Customizing the screens in Express](https://docs.wordplus.cloud/express/customizing.md): The call screen, the chat and the list of who is online can be made part of the design of your app, or changed down to their code, with your AI coding agent or by hand. Each step goes further than the last: [making the s - [Deploying an Express app](https://docs.wordplus.cloud/express/deploying.md): ## Its settings - [The Express example](https://docs.wordplus.cloud/express/example.md): A whole shop on Express, in the package `examples/express`: sign in as Ann (support), Ben (a customer) or Cara (the warehouse), each in a browser of their own, and try everything this guide covers. ## PHP without a framework: wordplus/realtime-php - [Getting started with PHP](https://docs.wordplus.cloud/php/getting-started.md): Live updates, chat, who is online, calls, group calls and live streams in a PHP app without a framework, or with Symfony, Slim or your own, through WordPlus Cloud. Two packages: - [Rooms in PHP](https://docs.wordplus.cloud/php/rooms.md): A room is a name pages join to get its events. Your server declares your rooms once, by pattern, with what they keep and allow, and answers for each user who asks to join. - [Presence in PHP](https://docs.wordplus.cloud/php/presence.md): Three ways to show people: a presence room lists who is in it to everyone in it (who is in the shop, who is viewing a document). A count says how many, at any size. And who is online is known across your whole app, for a - [Sending from your PHP server](https://docs.wordplus.cloud/php/sending.md): Your server sends events to rooms and to users, after its own work is saved. Everyone in the room gets them, sealed on the way, and a room that keeps history keeps them. - [Events from the page, in PHP](https://docs.wordplus.cloud/php/events.md): Pages send events to the rooms they are in, straight through WordPlus Cloud, with no request to your server: chat messages, typing, read ticks, a cursor. A room rule says which events its pages may send. - [Calls in PHP](https://docs.wordplus.cloud/php/calls.md): Calls between two people that ring in every tab and device the callee has open, group calls on the WordPlus Cloud media servers, and the Better Messages call screen: the buttons, the ring and the call window, with no cal - [Live streams in PHP](https://docs.wordplus.cloud/php/streams.md): One person presents live to everyone watching: the picture, a chat beside it, reactions, and the count of who watches. The host goes live from the browser, a phone or OBS, and brings viewers on stage beside them. Viewers - [Encryption and your users in PHP](https://docs.wordplus.cloud/php/encryption.md): What your app sends through WordPlus Cloud is sealed on the way: the realtime servers carry it, and keep the history of a room, without being able to read or change it. You write no encryption code. Your server holds the - [Customizing the screens in PHP](https://docs.wordplus.cloud/php/customizing.md): The call screen, the chat and the list of who is online can be made part of the design of your app, or changed down to their code, with your AI coding agent or by hand. Each step goes further than the last: [making the s - [Deploying a PHP app](https://docs.wordplus.cloud/php/deploying.md): Under PHP-FPM with nginx or Apache, or any host that runs PHP 8.1 with sodium: nothing realtime is kept on your servers, so any of them answers any request. - [The PHP example](https://docs.wordplus.cloud/php/example.md): A whole shop in plain PHP, in the package `examples/php`: sign in as Ann (support), Ben (a customer) or Cara (the warehouse), each in a browser of their own, and try everything this guide covers. ## Flask, and Python’s other frameworks: wordplus-realtime - [Getting started with Flask](https://docs.wordplus.cloud/flask/getting-started.md): Live updates, chat, who is online, calls, group calls and live streams in a Flask app, or any Python framework that takes a route, through WordPlus Cloud. Two packages: - [Rooms in Flask](https://docs.wordplus.cloud/flask/rooms.md): A room is a name pages join to get its events. Your server declares your rooms once, by pattern, with what they keep and allow, and answers for each user who asks to join. - [Presence in Flask](https://docs.wordplus.cloud/flask/presence.md): Three ways to show people: a presence room lists who is in it to everyone in it (who is in the shop, who is viewing a document). A count says how many, at any size. And who is online is known across your whole app, for a - [Sending from Flask](https://docs.wordplus.cloud/flask/sending.md): Your server sends events to rooms and to users, after its own work is saved. Everyone in the room gets them, sealed on the way, and a room that keeps history keeps them. - [Events from the page, in Flask](https://docs.wordplus.cloud/flask/events.md): Pages send events to the rooms they are in, straight through WordPlus Cloud, with no request to your server: chat messages, typing, read ticks, a cursor. A room rule says which events its pages may send. - [Calls in Flask](https://docs.wordplus.cloud/flask/calls.md): Calls between two people that ring in every tab and device the callee has open, group calls on the WordPlus Cloud media servers, and the Better Messages call screen: the buttons, the ring and the call window, with no cal - [Live streams in Flask](https://docs.wordplus.cloud/flask/streams.md): One person presents live to everyone watching: the picture, a chat beside it, reactions, and the count of who watches. The host goes live from the browser, a phone or OBS, and brings viewers on stage beside them. Viewers - [Encryption and your users in Flask](https://docs.wordplus.cloud/flask/encryption.md): What your app sends through WordPlus Cloud is sealed on the way: the realtime servers carry it, and keep the history of a room, without being able to read or change it. You write no encryption code. Your server holds the - [Customizing the screens in Flask](https://docs.wordplus.cloud/flask/customizing.md): The call screen, the chat and the list of who is online can be made part of the design of your app, or changed down to their code, with your AI coding agent or by hand. Each step goes further than the last: [making the s - [Deploying a Flask app](https://docs.wordplus.cloud/flask/deploying.md): Under Gunicorn or uWSGI behind nginx, or on a PaaS: nothing realtime is kept on your servers, so any worker answers any request. - [The Flask example](https://docs.wordplus.cloud/flask/example.md): A whole shop on Flask, in the package `examples/flask`: sign in as Ann (support), Ben (a customer) or Cara (the warehouse), each in a browser of their own, and try everything this guide covers. ## Mobile apps: React Native (@wordplus/realtime/native) and Capacitor - [Getting started with mobile apps](https://docs.wordplus.cloud/mobile/getting-started.md): Live updates, chat, who is online, calls and live streams in a mobile app built with web technology, through WordPlus Cloud, beside the guide for your server ([Next.js](../nextjs/getting-started.md), [Laravel](../laravel - [Rooms in mobile apps](https://docs.wordplus.cloud/mobile/rooms.md): A room is a name your app and your web pages join to get its events. Your server declares your rooms once, by pattern, and sends to them. Apps and pages may send to them too, as a room rule allows. - [Presence in mobile apps](https://docs.wordplus.cloud/mobile/presence.md): A presence room lists who is in it to everyone in it, and says when someone arrives and leaves. A count says how many are in a room, at any size. And who is online is known across your whole app. An app and the web pages - [Sending from your server, for mobile apps](https://docs.wordplus.cloud/mobile/sending.md): Your server sends to rooms and to users: from the request the app makes, a job, or anything else that changes. Apps and pages in the room get it alike, sealed with the room key. - [Events from the app](https://docs.wordplus.cloud/mobile/events.md): Apps and pages send events to the rooms they are in, straight through WordPlus Cloud, without a request to your server: chat messages, typing, read ticks. They go app to page and page to app, sealed with the room key. - [Calls in mobile apps](https://docs.wordplus.cloud/mobile/calls.md): The calls of an app are those of your website: the same rules on your server, the same people, the same calls. A customer in the app calls an agent in a browser, and the other way round. - [Live streams in mobile apps](https://docs.wordplus.cloud/mobile/streams.md): ## Capacitor and Ionic - [Encryption and your users in mobile apps](https://docs.wordplus.cloud/mobile/encryption.md): What your app sends and receives through WordPlus Cloud is sealed, as in a browser: the realtime servers carry it, and keep the history of a room, without being able to read or change it. The app gets its keys from your - [Customizing the screens in a mobile app](https://docs.wordplus.cloud/mobile/customizing.md): The call screen, the chat, the list of who is online and the live stream player can be made part of the design of your app, or changed down to their code, with your AI coding agent or by hand. How far depends on what dra - [Deploying mobile apps](https://docs.wordplus.cloud/mobile/deploying.md): ## Your app in WordPlus Cloud - [The mobile example apps](https://docs.wordplus.cloud/mobile/example.md): The API demo as two apps, in the package `examples/react-native` (Expo) and `examples/capacitor`, with the [Express example](../express/example.md) as their server: sign in as Ben in the app and as Ann in a browser, and ## iOS: the Swift package WordPlusRealtime, with WordPlusRealtimeCalls and WordPlusRealtimeUI - [Getting started with iOS](https://docs.wordplus.cloud/ios/getting-started.md): Live updates, chat, who is online and calls in an iOS app written in Swift, through WordPlus Cloud. The app joins the same rooms as your web pages, so a customer in the app and an agent in a browser see each other, and a - [Rooms](https://docs.wordplus.cloud/ios/rooms.md): A room is a name the app joins to get its events: `order:1042`, `chat:34:42`, `shop`. Your server declares your rooms once, by pattern, with what each keeps and allows ([rooms in depth](../apps/rooms.md), with Node, PHP - [Presence and online status](https://docs.wordplus.cloud/ios/presence.md): Two things, both live: who is in a room now (presence), and whether a user is online anywhere in your app (online status), whatever page or app they have open. What people build with them: [who is online and who is here] - [Sending from your server](https://docs.wordplus.cloud/ios/sending.md): Your server sends to rooms and to users with its secret, the same way whether a browser or an app gets it ([sending in depth](../apps/sending.md)). What people build with it: [live updates and notifications](../use-cases - [Events from the app](https://docs.wordplus.cloud/ios/events.md): The app sends events to the rooms it is in, straight through WordPlus Cloud, with no request to your server: chat messages, typing, read ticks, reactions. A room rule says which events may be sent to it ([events in depth - [Calls](https://docs.wordplus.cloud/ios/calls.md): Calls between two people and group calls, in `WordPlusRealtimeCalls`, on the same relay and media servers as browsers: a phone and a browser call each other, and either may add someone. The Better Messages call screen, i - [Live streams](https://docs.wordplus.cloud/ios/streams.md): One person presents live to everyone watching: the picture, a chat beside it, reactions, and the count of who watches. In `WordPlusRealtimeCalls`, on the same media servers as the browser: an app watches a stream a brows - [Encryption and your users](https://docs.wordplus.cloud/ios/encryption.md): What the app sends and gets through WordPlus Cloud is sealed on the way: the realtime servers carry it, keep the history of a room and count its members without being able to read or change any of it. You write no encryp - [Customizing the screens on iOS](https://docs.wordplus.cloud/ios/customizing.md): The call screen (`WordPlusRealtimeUI`) is the Better Messages native one. Your app can change it as far as it needs to, in three steps, each going further than the last, with your AI coding agent or by hand. Or draw a sc - [Shipping](https://docs.wordplus.cloud/ios/shipping.md): ## Your server address - [The example app](https://docs.wordplus.cloud/ios/example.md): The API demo of every other guide, as a SwiftUI app: sign in as Ann (support), Ben (a customer) or Cara (the warehouse), and the app joins the same rooms as the shop web pages, so the app and a browser signed in as someo ## Android: cloud.wordplus:realtime, with realtime-calls and realtime-ui - [Getting started with Android](https://docs.wordplus.cloud/android/getting-started.md): Live updates, chat, who is online and calls in an Android app written in Kotlin, through WordPlus Cloud. The app joins the same rooms as your web pages, so a customer in the app and an agent in a browser see each other, - [Rooms](https://docs.wordplus.cloud/android/rooms.md): A room is a name the app joins to get its events: `order:1042`, `chat:34:42`, `shop`. Your server declares your rooms once, by pattern, with what each keeps and allows ([rooms in depth](../apps/rooms.md), with Node, PHP - [Presence and online status](https://docs.wordplus.cloud/android/presence.md): Two things, both live: who is in a room now (presence), and whether a user is online anywhere in your app (online status), whatever page or app they have open. What people build with them: [who is online and who is here] - [Sending from your server](https://docs.wordplus.cloud/android/sending.md): Your server sends to rooms and to users with its secret, the same way whether a browser or an app gets it ([sending in depth](../apps/sending.md)). What people build with it: [live updates and notifications](../use-cases - [Events from the app](https://docs.wordplus.cloud/android/events.md): The app sends events to the rooms it is in, straight through WordPlus Cloud, with no request to your server: chat messages, typing, read ticks, reactions. A room rule says which events may be sent to it ([events in depth - [Calls](https://docs.wordplus.cloud/android/calls.md): Calls between two people and group calls, in `cloud.wordplus:realtime-calls`, on the same relay and media servers as browsers: a phone and a browser call each other, and either may add someone. The Better Messages call s - [Live streams](https://docs.wordplus.cloud/android/streams.md): One person presents live to everyone watching: the picture, a chat beside it, reactions, and the count of who watches. In `cloud.wordplus:realtime-calls`, on the same media servers as the browser: an app watches a stream - [Encryption and your users](https://docs.wordplus.cloud/android/encryption.md): What the app sends and gets through WordPlus Cloud is sealed on the way: the realtime servers carry it, keep the history of a room and count its members without being able to read or change any of it. You write no encryp - [Customizing the screens on Android](https://docs.wordplus.cloud/android/customizing.md): The call screen (`cloud.wordplus:realtime-ui`) is the Better Messages native one. Your app can change it as far as it needs to, in three steps, each going further than the last, with your AI coding agent or by hand. Or d - [Shipping](https://docs.wordplus.cloud/android/shipping.md): ## Your server address - [The example app](https://docs.wordplus.cloud/android/example.md): The API demo of every other guide, as a Jetpack Compose app: sign in as Ann (support), Ben (a customer) or Cara (the warehouse), and the app joins the same rooms as the shop web pages, so the app and a browser signed in ## Any other stack, the in-depth pages and the references: @wordplus/realtime (browser, Node), wordplus/realtime-php (PHP), wordplus-realtime (Python) - [Getting started](https://docs.wordplus.cloud/apps/getting-started.md): The realtime SDK gives your app rooms that pages join, events with acks, presence, who is online, history, and what your server sends a user. It has two halves: - [What you can build](https://docs.wordplus.cloud/apps/overview.md): The realtime SDK gives your app four building blocks. Each is an API to build on, and each comes with a ready-made part from Better Messages that you use as it is, change, or leave out. - [Why WordPlus Cloud](https://docs.wordplus.cloud/apps/why.md): Laravel, Django, FastAPI, Express and Flask can run websockets of their own, on your servers. WordPlus Cloud runs them for you, and adds what a websocket alone does not do: - [Rooms](https://docs.wordplus.cloud/apps/rooms.md): A room is a name pages and apps join to get its events. Your server declares your rooms once, by pattern, with what each keeps and allows, and answers for each user who asks to join. It sends to them, and pages send to t - [Presence and who is online](https://docs.wordplus.cloud/apps/presence.md): Three ways to show people: a presence room lists who is in it to everyone in it. A count says how many are in a room, at any size. And who is online is known across your whole app. - [Sending from your server](https://docs.wordplus.cloud/apps/sending.md): Your server sends events to rooms and to users with its secret, in the same chain in every package. Pages send to rooms too, as a room allows ([events from the page](events.md)). Only your server sends to a user. - [Events from the page](https://docs.wordplus.cloud/apps/events.md): Pages and apps send events to the rooms they are in, straight through WordPlus Cloud, with no request to your server: chat messages, typing, read ticks, a cursor. A room rule says which events may be sent to it, and ever - [Calls, group calls and the call screen](https://docs.wordplus.cloud/apps/calls.md): - **Calls between two people** ring in every tab and device the callee has open, and stop ringing everywhere once one answers. They always connect, on three paths tried in turn: directly between the two devices, through - [Live streams](https://docs.wordplus.cloud/apps/streams.md): One person presents live to everyone watching: a product show in a shop, a class, a launch. The audience watches the picture, writes in the chat of the stream and sends reactions, and the host brings viewers on stage bes - [Encryption and your users](https://docs.wordplus.cloud/apps/encryption.md): What your app sends through WordPlus Cloud is sealed on the way: the realtime servers carry it, keep the history of a room and count its members without being able to read or change any of it. You write no encryption cod - [Permissions](https://docs.wordplus.cloud/apps/permissions.md): Who may do what is decided by your server, in rules it declares by name pattern: who joins a room and what they may send there, who calls whom, who runs a group call, who hosts a live stream and who keeps its chat. A rul - [React, React Native and Capacitor](https://docs.wordplus.cloud/apps/react.md): ## React - [Making the screens your own](https://docs.wordplus.cloud/apps/customizing.md): The call screen, the chat and the list of who is online are the Better Messages screens, ready to use, and the live streams are the player and studio of Easy Stream. All of them are optional. Your app can change them as - [Your own interface](https://docs.wordplus.cloud/apps/interface.md): The elements, ``, ``, ``, `` and the others, are the ready-made option: put one on a page and it works, with the Better Messages and Easy Stream screens. You never need t - [Server reference: `@wordplus/realtime/server`](https://docs.wordplus.cloud/apps/server.md): Node 20 or later, and every edge runtime: it runs on Web Crypto and `fetch`. For PHP and Laravel, see the [PHP reference](php-reference.md). For Python, the [Python reference](python-reference.md). All three take the sam - [PHP reference: `wordplus/realtime-php`](https://docs.wordplus.cloud/apps/php-reference.md): The package needs PHP 8.1 or later, with sodium, and curl or the PHP streams. It takes the same options as the Node and Python packages, and answers the browser the same way. In Laravel, the `Realtime` facade and `app( R - [Python reference: `wordplus-realtime`](https://docs.wordplus.cloud/apps/python-reference.md): The package needs Python 3.9 or later, with PyNaCl. It takes the same options as the Node and PHP packages, and answers the browser the same way. The guides: [Django](../django/getting-started.md), [FastAPI](../fastapi/g - [Browser reference: `@wordplus/realtime`](https://docs.wordplus.cloud/apps/browser.md): ## `connect( options )` → `Promise` - [Elements reference](https://docs.wordplus.cloud/apps/elements.md): The ready-made parts as HTML elements, for any page: no React needed, nothing to build. Each draws on the rooms, calls and streams of the page (`connect()`), and does only what your server rules let the page user do ([pe - [Errors](https://docs.wordplus.cloud/apps/errors.md): Every refusal has a short code. In the browser, it is `e.code` of a rejected promise, `{ code }` of a room `error` event or of `rt`, or the `endReason` of a call. On your server, it is the `code` of a `RealtimeError` in - [Limits](https://docs.wordplus.cloud/apps/limits.md): ## Your account ## Use cases: a page for each kind of app, its server in Node, PHP and Python and its page - [Use cases](https://docs.wordplus.cloud/use-cases/overview.md): What people build on WordPlus Cloud, each on a page of its own: the rules of your server in Node, PHP, Python and WordPress, the code of the page in the browser and in React, and what changes for a screen of your own. Th - [How calls and live streams work](https://docs.wordplus.cloud/use-cases/how-it-works.md): How a call, a group call and a live stream start, who gets in, how you run them while they last, and how they end. Every use case builds on this page. - [Charging for calls and streams](https://docs.wordplus.cloud/use-cases/charging.md): Your app may charge its users for what they use: a consultation by the minute, a class by the minute of each student, a live stream by the view or by the minute watched. WordPlus Cloud tells your server what each person - [Live updates and notifications](https://docs.wordplus.cloud/use-cases/live-updates.md): A page that changes as things happen: an order moving from packed to shipped, a dashboard of the sales of the day, the progress of an export, and a notice that reaches one user in every tab and app they have open. Your s - [Chat](https://docs.wordplus.cloud/use-cases/chat.md): Conversations between two people and in groups: messages that arrive at once on every device, who is typing, read ticks and reactions. The pages send to each other straight through WordPlus Cloud, sealed, and your server - [Who is online and who is here](https://docs.wordplus.cloud/use-cases/online.md): Three things people see of each other: a dot on every avatar of someone online anywhere in your app, the people in a room right now with what you show of them, and how many look at a page, at any size. Each comes live, a - [Editing together](https://docs.wordplus.cloud/use-cases/collaboration.md): A document, a board or a design several people work on at once: who is in it, where each cursor is, and every change reaching the others as it is made. Cursors go as volatile events, dropped rather than queued and never - [Every page and app of a user](https://docs.wordplus.cloud/use-cases/devices.md): Your server asks every page and app a user has open, and waits for the answer: "Is this you signing in?" on the phone in their pocket, the cart a customer is filling right now, the draft open in another tab. And it takes - [AI chat, then a person](https://docs.wordplus.cloud/use-cases/ai-chat.md): An assistant in your app that answers as it writes, and a person from your support who takes over the same conversation when the assistant cannot help. The customer writes in a room, your server hears each message by web - [A support desk with agents](https://docs.wordplus.cloud/use-cases/support-desk.md): Customers write to support, and a team of agents answers them: each new conversation goes to an agent on duty, the others see it and may read along, an agent and the customer see each other type, the agent calls the cust - [Marketplace chat](https://docs.wordplus.cloud/use-cases/marketplace-chat.md): A buyer asks the seller about a listing, and the two talk it through: a conversation for each listing and buyer, which only those two read, the seller online or last seen on the listing page, and a notice to whoever is n - [Polls, quizzes and questions](https://docs.wordplus.cloud/use-cases/polls.md): A live session where the audience takes part: the host opens a poll and everyone votes, the counts move as votes come in, the host closes it and everyone sees the result. A quiz is a poll with a right answer, and each pl - [Live auctions](https://docs.wordplus.cloud/use-cases/auctions.md): An auction that runs live on the page: the price moves as bids come in, the clock counts down to its end, a bid in the last seconds gives everyone time to answer, the bidder who was beaten hears it on any page, and the w - [Live location tracking](https://docs.wordplus.cloud/use-cases/location-tracking.md): A courier on a map, moving as they drive: the customer of the order watches them come, your dispatch team watches every delivery, and the sharing ends with the delivery. The phone or the page of the courier sends its pos - [Calls from a button](https://docs.wordplus.cloud/use-cases/support-calls.md): A customer presses Call support on your site, and it rings for their support agent, in every tab the agent has open. The agent answers, and the two talk on video, encrypted end to end. - [Remote help with screen sharing](https://docs.wordplus.cloud/use-cases/remote-help.md): A customer stuck on something shows it to support instead of describing it: they call their agent from your site, share their screen in the call, and the agent sees it large, with the face of the customer beside it, and - [A calling app that rings a locked phone](https://docs.wordplus.cloud/use-cases/calling-app.md): People of your app call each other as they would on a phone: a list of contacts with who is online, a call that rings a locked phone with the screen of the system, answered from the lock screen, a watch or a car, and a c - [Consultations by booking](https://docs.wordplus.cloud/use-cases/consultations.md): A video visit with a doctor, a lawyer, a tutor or a coach: two people meet at a booked time from a link on the page of the appointment. It opens only to those two, only from shortly before its time until its end, and its - [Team meetings](https://docs.wordplus.cloud/use-cases/meetings.md): A video meeting for each team, project or event: people join from a button, see and hear each other, share their screens, and leave. Your server decides who may join, and the lead ends the meeting for everyone from a but - [Classes, webinars and audio rooms](https://docs.wordplus.cloud/use-cases/classes.md): A few speak and everyone else listens: a teacher and a class, a panel and its audience, the hosts of an audio room and the people who drop in. Listeners raise a hand, and the host lets one speak for a while, then makes t - [Waiting rooms and breakout rooms](https://docs.wordplus.cloud/use-cases/waiting-rooms.md): Guests wait in a lobby until the host admits them, and during the meeting the host sends people to smaller rooms and brings them back. Both are your rules and a few routes of yours: the lobby is a presence room the host - [Watch parties](https://docs.wordplus.cloud/use-cases/watch-party.md): Friends watch the same video at the same moment, each on their own screen: the host plays, pauses and jumps, and every player follows. A chat runs beside it, and those who want to talk join a call of the party, by voice - [Live streaming](https://docs.wordplus.cloud/use-cases/live-streaming.md): One person live to everyone who opens the page: a launch, a class, a talk, a concert. The host goes live from the browser, a phone or OBS, viewers watch without signing in, those who sign in write in the chat and react, - [Interviews and questions on stage](https://docs.wordplus.cloud/use-cases/interviews.md): A host live to an audience, and viewers who come on stage beside them: a question from the audience, an interview with a guest, a panel. A viewer raises a hand, the host sees it and invites them, and everyone watching se - [Members-only streams](https://docs.wordplus.cloud/use-cases/members-only.md): A stream only some may watch: the members of a club, the holders of a ticket, the students of a course, the subscribers of a creator. Your rule lets them in and keeps everyone else out, so a link passed around opens noth ## HTTP API and protocol: for a server in any language (OpenAPI 3.1 at https://docs.wordplus.cloud/api/openapi.yaml) - [HTTP API and protocol](https://docs.wordplus.cloud/api/overview.md): Everything the realtime SDK does on your server is open to any language. The packages for Node, PHP and Python are one way to do it. A server in Go, Ruby, Java, .NET, Rust or anything else does the same with the HTTP API - [Signing requests](https://docs.wordplus.cloud/api/signing.md): Every request to the HTTP API carries three headers, and WordPlus Cloud takes it only when the signature is right: - [Webhooks](https://docs.wordplus.cloud/api/webhooks.md): WordPlus Cloud tells your server what happens in your app: the events pages send that your rules ask to hear, rooms filling and emptying, people joining presence rooms, users coming online and going offline, and live str - [Your server routes](https://docs.wordplus.cloud/api/routes.md): The browser SDK (`@wordplus/realtime`, and the iOS and Android SDKs) never decides who may do what: it asks your server. Your server answers with tokens it signs and keys it makes, and WordPlus Cloud takes the tokens. Th - [Sealing](https://docs.wordplus.cloud/api/sealing.md): What your app sends through WordPlus Cloud can travel sealed: encrypted and signed with keys only your server and your users hold, so WordPlus Cloud carries it without being able to read or change it. The packages seal b - [Test values](https://docs.wordplus.cloud/api/test-values.md): Every value your server computes for WordPlus Cloud can be checked before it talks to WordPlus Cloud at all: signatures, keys, tokens, sealed values. The packages for Node, PHP and Python and the [Go example](go.md) are - [A server in Go](https://docs.wordplus.cloud/api/go.md): An app server in Go on WordPlus Cloud, written from these pages alone, with no package of ours: its own rules, the routes the browser SDK asks, sending sealed events through the HTTP API, the webhook, calls, group calls ## Pusher-compatible API: for plugins and code already built for the Pusher Channels protocol - [The Pusher-compatible API](https://docs.wordplus.cloud/pusher/overview.md): WordPlus Cloud also speaks the Pusher Channels protocol, version 7, for plugins and code already built for it. The Pusher client and server libraries, and the plugins built on them, work with it as they are: point them a - [Examples](https://docs.wordplus.cloud/pusher/examples.md): Replace `YOUR_APP_ID`, `YOUR_KEY` and `YOUR_SECRET` with those of your site, from **Sites → Realtime API keys** in your account. - [WordPress plugins built for Pusher](https://docs.wordplus.cloud/pusher/wordpress-plugins.md): A plugin built for Pusher works when its settings let you enter a host: - [What is supported and limits](https://docs.wordplus.cloud/pusher/supported.md): ## Supported ## HTTP API reference: made from https://docs.wordplus.cloud/api/openapi.yaml - [WordPlus Cloud realtime HTTP API](https://docs.wordplus.cloud/api/reference/wordplus-cloud-realtime-http-api.md): What your server calls on WordPlus Cloud, and the webhook it gets back. - [Send an event](https://docs.wordplus.cloud/api/reference/emit.md): Sends one event to rooms, to users (every tab and device they have open), or both. Everyone in a room gets it, and a room whose `history` you give keeps it for pages that reconnect. - [Send events in a batch](https://docs.wordplus.cloud/api/reference/emit-batch.md): Sends up to 100 events in one request, each as Send an event takes it. The answer has the kept ids of each, in their order. - [The rooms someone is in](https://docs.wordplus.cloud/api/reference/list-rooms.md): The rooms someone is in now, by name, with how many are in each: the members of a presence room, else its connections. With `prefix`, only the rooms whose names start with it. A page has 100 rooms, or `limit` up to 1,000 - [A room and its members](https://docs.wordplus.cloud/api/reference/room.md): How many are in a room: the members of a presence room, else its connections. With `members=1`, the first 1,000 members of a presence room too, each with their info as your token gave it (sealed with the room key when th - [The history of a room](https://docs.wordplus.cloud/api/reference/room-history.md): The events a room kept, oldest first: the newest `limit`, or those before or after the id of an event. A room keeps its events for 5 minutes at most, for pages that reconnect: keep your own records from the webhook. - [Erase the history of a room](https://docs.wordplus.cloud/api/reference/forget-history.md): Erases one kept event by its id, or all of them. - [Take someone out of a room](https://docs.wordplus.cloud/api/reference/kick.md): Takes every connection of a user out of the room at once, and refuses the room tokens signed for them before now. Move the key of the room on too ([sealing](/api/sealing/#taking-a-key-back)), so what it carries next stay - [Who is online](https://docs.wordplus.cloud/api/reference/online.md): With `ids`, whether each of those users is online, and when the others were last seen. Without it, a page of the ids online now. Either way, how many are online across your app. - [A user](https://docs.wordplus.cloud/api/reference/get-user.md): Whether a user of your app is online, since when they were last seen when they are not, and how many of their connections your server vouched for are open now. A user hidden from the online list counts as offline. - [Take a user out of everything](https://docs.wordplus.cloud/api/reference/disconnect-user.md): Takes a user out of everything at once, on every connection: their pages leave every room, the realtime server forgets who they are and stops their calls ringing, and their group calls and live streams take them out (a h - [Ask the pages of a user](https://docs.wordplus.cloud/api/reference/ask-user.md): Sends an event to the open pages of a user and waits for their replies. A page answers the events it chose with the browser `rt.answer( event, handler )`, which returns the reply. The answer comes with the first reply, o - [The live streams now](https://docs.wordplus.cloud/api/reference/streams.md): The streams of your app live now, each with when it went live and how many watch. - [A live stream](https://docs.wordplus.cloud/api/reference/get-stream.md): A live stream as it is now: idle, live or ended, how many watch it, its peak since it went live, its slow mode, whether it takes reactions, and its pinned message. - [Who is in a live stream](https://docs.wordplus.cloud/api/reference/stream-people.md): The people signed in who watch a live stream or are on it, hosts first, up to 200, with when a timeout ends for those who have one, and how many watch in all, visitors with them. - [The chat of a live stream](https://docs.wordplus.cloud/api/reference/stream-chat.md): The last messages of the chat of a live stream, oldest first: 50, or `limit` up to 200. The chat keeps its last 200 messages for a day. - [Write in the chat as your app](https://docs.wordplus.cloud/api/reference/stream-say.md): A message from your app in the chat of a live stream, for everyone watching: with the name and the https picture you give it, shown as a host message, so nobody may ban it. Up to 500 characters. - [Clear the chat](https://docs.wordplus.cloud/api/reference/stream-clear-chat.md): Empties the chat of a live stream for everyone watching, the pinned message too. - [Delete a message](https://docs.wordplus.cloud/api/reference/stream-delete-message.md): Deletes a message of the chat for everyone watching, and unpins it when it was pinned. - [Pin a message](https://docs.wordplus.cloud/api/reference/stream-pin.md): Pins a message of the chat over it for everyone watching, in place of the one pinned before. `null` unpins it. - [Slow mode](https://docs.wordplus.cloud/api/reference/stream-slow.md): One message every `seconds` for everyone in the chat but its hosts and moderators, up to 300. 0 turns slow mode off. - [End a live stream](https://docs.wordplus.cloud/api/reference/end-stream.md): Ends a live stream for everyone, as its host ending it does. Your webhook then gets `stream.ended`. - [Turn reactions on or off](https://docs.wordplus.cloud/api/reference/stream-reactions.md): Turns the reactions of a live stream on or off, for everyone watching, at once. - [Take someone out of a live stream](https://docs.wordplus.cloud/api/reference/stream-kick.md): Takes a person out of a live stream now. They may come back. The host is never taken out (403 `host`). - [Ban someone from a live stream](https://docs.wordplus.cloud/api/reference/stream-ban.md): Takes a person out of a live stream and keeps them out. The host is never banned (403 `host`). - [Lift a ban](https://docs.wordplus.cloud/api/reference/stream-unban.md): Lifts the ban of a person from a live stream: they may come back. - [The bans of a live stream](https://docs.wordplus.cloud/api/reference/stream-bans.md): Everyone banned from a live stream, the latest first. A ban lasts a week unless it is lifted. - [Time someone out](https://docs.wordplus.cloud/api/reference/stream-timeout.md): Someone may not write in the chat for `seconds`, from 60 to 86,400, and goes on watching. The host is never timed out (403 `host`). - [Lift a timeout](https://docs.wordplus.cloud/api/reference/stream-untimeout.md): Lifts a timeout before its end: they may write again. - [The group calls going on](https://docs.wordplus.cloud/api/reference/list-calls.md): The group calls of your app with someone in them now, by name, with how many are in each and since when. A call between two people that became a group call is `call:` and its id. Calls between two people run between thei - [A group call](https://docs.wordplus.cloud/api/reference/get-call.md): The people in a group call and what each sends now: camera, microphone and screen, each true while it is on and not muted. A call with nobody in it, never or no longer, answers `people` 0, `started_at` null and an empty - [Mute someone](https://docs.wordplus.cloud/api/reference/mute-in-call.md): Turns off the microphone, camera or screen of someone in a group call, as a host does. They may turn it on again: to keep them quiet, remove them, or give them a token that does not publish. - [Remove someone](https://docs.wordplus.cloud/api/reference/remove-from-call.md): Takes someone out of a group call now. The call and room tokens signed for them before do not take them back in: a token your server signs after does. - [Change what someone may do](https://docs.wordplus.cloud/api/reference/permit-in-call.md): Changes what someone may do in a group call while it runs: `publish` makes a listener a speaker, or a speaker a listener again, which takes down what they send. `subscribe` stops or starts what they get of the others. At - [End a call](https://docs.wordplus.cloud/api/reference/end-call.md): Ends a group call for everyone in it. The tokens signed before do not open it again. - [What your app uses](https://docs.wordplus.cloud/api/reference/usage.md): The connections open now, against the connections of your plan for an app (`limit`, null on WordPress), and the credits of your account, a credit a minute: those of your plan left this month, those you bought, how far in - [The deliveries of your webhook](https://docs.wordplus.cloud/api/reference/webhook-deliveries.md): The last 100 tries of your webhook in the last three days, the newest first. Each batch has its id and each try its HTTP status (0 when nothing answered, with `error`), when it is tried again (`next_at`), and whether it - [Send a batch again](https://docs.wordplus.cloud/api/reference/resend-webhook.md): Sends a batch your server did not take again now, the same events with the same ids. A batch is kept while it is tried again, and three days after the tries end. - [Send a test event](https://docs.wordplus.cloud/api/reference/test-webhook.md): Sends one event of type `webhook.test` to your webhook now, once, to see your server take it and check its signature. - [The webhook your server gets](https://docs.wordplus.cloud/api/reference/webhook.md): WordPlus Cloud posts what happens in your app to the webhook address on your app page in your WordPlus Cloud account, in batches, signed as a request to the API is, with a key of its own ([webhooks](/api/webhooks/)). Che