RSMG Engage
RSMG Engage is a multi-tenant user-engagement platform — comments, reactions, user preferences, real-time streaming, moderation, webhooks, and user data export and anonymisation — that publishers embed into their sites. This site documents how to integrate it from your backend or your app.
The RSMG Engage team provisions your tenant before you integrate. Once that's done, you mint credentials in the admin console and wire your backend to the API.
How integration works
Every request carries an API key in X-API-Key. For any action taken on behalf of a
logged-in reader, you also tell RSMG Engage who is acting. There are two routes:
- Your backend signs an assertion. Your backend calls the API with its API key and attaches a short, signed identity assertion (an HMAC signature) that vouches for the reader.
- A client with no backend sends an OIDC ID token. A mobile app or browser app sends the
token it already gets from its identity provider in
Authorization: Bearer, plus an API key with an empty capability set.
RSMG Engage never holds your readers' credentials. Your platform authenticates them, and you tell RSMG Engage who is acting. The diagram shows the backend route. A client with no backend skips the middle box and calls RSMG Engage directly with the API key and the ID token.
┌────────────┐ signed request ┌──────────────┐
│ Reader's │ ──────────────────► │ Publisher │
│ browser │ ◄────────────────── │ backend │
└────────────┘ rendered widget └──────┬───────┘
│ X-API-Key + signed identity assertion
▼
┌──────────────┐
│ RSMG Engage │
└──────────────┘
The identity-signing secret is a bearer credential. It must live on your backend and never ship inside a browser bundle, mobile app, or single-page app. The same goes for any API key that has capabilities (admin powers). Only an empty-capability API key is meant for clients, and only together with an OIDC ID token. See Identity signing.
Browser origins must be allowlisted. Ask the RSMG Engage team to add yours. Native apps are unaffected.
Core concepts
| Term | Meaning |
|---|---|
| Tenant | One publisher brand. Each tenant has an isolated database. The RSMG Engage team provisions your tenant before you integrate. |
| Tenant slug | Your human-readable tenant id (e.g. pmke), used in your subdomain. |
| External id | Your identifier for a piece of content (an article id). RSMG Engage resolves it to an internal discussion via the *-by-external endpoints. |
| Discussion | A thread of comments scoped to one piece of content. Created lazily — it springs into existence on the first comment. |
| Tenant end-user | A reader on your site, authenticated by you. RSMG Engage only knows the external_id you vouch for. |
| Admin account | A human who operates the RSMG Engage admin console for your tenant (mints keys and the identity secret, adds OIDC issuers, moderates, configures). |
| API key | The credential your backend sends as X-API-Key. Minted in the admin console. |
What you'll do to onboard
- The RSMG Engage team provisions your tenant. Contact them to get started.
- Your admin redeems their invite and signs into the console.
- Mint an API key. Then either mint an identity secret (Console → Identity → Signing secret → Mint identity secret) or add an OIDC issuer (Console → Identity → OIDC issuers → Add issuer).
- Wire your backend to sign requests, post the first comment, and render it.
Start with the Quickstart.
Where to go next
- Quickstart — zero to a rendered comment.
- Authentication & API keys — keys, scopes, expiry.
- Identity signing — how readers are identified: HMAC assertions or OIDC ID tokens.
- Comments & discussions, Reactions, User preferences, Real-time (SSE), Webhooks, Users.
- API Reference — every public endpoint, built from a copy of the OpenAPI spec that is updated through a reviewed PR.
Moderation and tenant settings are covered only in the API Reference.