BIO.RE

BIO.RE Developer Portal

Complete API documentation for the BIO.RE creator monetization platform — 19 modules, 175 endpoints. Every endpoint verified against the live backend (controller + DTO + service + Prisma + live response).

The BIO.RE Developer Portal documents every client-facing endpoint of the BIO.RE creator monetization platform. 19 modules, 175 endpoint pages — every claim cited back to the backend code (path:line), every response shape derived from a real DTO, every error code traced to the exception that throws it.

Use the sidebar to browse, the search bar to find a specific endpoint, or the module cards below to jump straight to a section.

Browse by module

🔐 Authentication

Register, login, 2FA, OAuth, password reset, OTP, sessions — 29 endpoints covering the full identity lifecycle.

👤 User

Profile, settings, avatar, username, email change, blocking, attribution, deactivation, GDPR export/delete — 26 endpoints.

✨ Creator

Bio page, links, social accounts, KYC, payout settings, Stripe Connect, vacation mode, newsletter — 37 endpoints.

💬 Messages

Send, list, search, conversations, reply, reject, rate — 9 endpoints.

🔔 Notifications

Inbox, preferences, web push, mark read, unsubscribe — 12 endpoints.

💳 Payment

Wallet balance, load, packages, transaction activity — 4 endpoints.

💰 Payout

Creator payout request + monthly report — 2 endpoints.

🔍 Discover

Search, trending, featured, category, recently-viewed history — 7 endpoints.

📈 Analytics

Event tracking + anonymous session/pageview/heartbeat lifecycle — 6 user-facing endpoints.

📊 Creator Analytics

Creator dashboard reads — overview, traffic, geo, devices, trend, sessions, links + CSV export — 8 endpoints.

📰 Content

CMS pages, blog (RSS/Atom), help center, FAQ, contact, cookie policy — 15 endpoints.

🌍 i18n

Locale catalog + translation bundle delivery (full + namespace) — 3 endpoints.

🎟️ Referral

Referral link, click tracking, dashboard, coupon apply — 4 endpoints.

🎫 Support

User-facing tickets — list, create, detail, reply, reopen — 5 endpoints.

📤 Upload

Pre-signed direct-to-storage upload URLs (avatar / media / document) — 1 endpoint.

🎨 Theme

Public theme presets for the consumer-app theming — 2 endpoints.

📡 Presence

Last-seen + isOnline read for any user — 1 endpoint.

📊 Platform

Public aggregate counters — total creators / messages / earned — 1 endpoint.

⚖️ Legal

Privacy policy + Terms of service — 2 endpoints.

Quick start by use case

If you are building...Start here
Sign-up + login flowRegisterVerify EmailLogin
Forgotten password flowForgot PasswordReset Password
Two-factor authenticationSetup 2FAVerifyLogin with 2FA
OAuth (Google, etc.)List ProvidersOAuth LoginLink to Account
Creator onboardingUpgrade to CreatorUpdate BioAdd Bio LinksStripe ConnectKYC
Send + receive messagesSend MessageList ConversationsReply
Wallet top-upWallet PackagesLoad WalletActivity
Bio page traffic instrumentationCreate SessionRecord PageviewHeartbeatPage Leave
Creator analytics dashboardOverviewTrafficTrendLinksCSV Export
Notification preferences UIList NotificationsPreferencesUpdate PreferencesWeb Push Subscribe
GDPR data export / deleteRequest ExportCheck StatusDownloadRequest Delete
LocalizationList LocalesBundleNamespace Bundle
Support ticketingList My TicketsCreateReply

How to read an endpoint page

Every endpoint page follows the same shape:

  1. Header — method + path + scope badge (🌐 Public / 🔑 Bearer / 👤 Admin) + rate limit.
  2. Callouts — non-obvious behavior, gotchas, kill switches, vendor abstraction notes.
  3. Request — path / query / body / header tables, with class-validator rules preserved.
  4. Response — success envelope + every error code with i18nKey.
  5. Side effects — DB writes, queued jobs, audit log entries, kill-switch gates, cache invalidations.
  6. Code samplescurl + TypeScript fetch + TanStack Query hook (copy-paste ready).
  7. Try it — interactive playground with auto-generated cURL/JS/Go/Python/Java/C# samples.
  8. Sourcepath:line references back to the backend code (5-source verify: controller + DTO + service + Prisma + cache/util).

Conventions across the API

  • Response envelope — every successful response is { "success": true, "data": T }. Errors are { "success": false, "error": { code, message, i18nKey?, details?, correlationId } }.
  • Refresh tokens — set as httpOnly, secure, SameSite=Strict cookie scoped to .bio.re. Browsers send + receive automatically; mobile clients can pass via body.
  • Idempotency — mutating endpoints accept Idempotency-Key header where supported; the side-effects table notes which writes are atomic.
  • Locales — 20 active locales, error responses include i18nKey for UI mapping.
  • Admin-managed providers — every external integration (email, SMS, push, captcha, KYC, payment, OAuth, storage) is selected by admin at runtime. The portal never names the active vendor (e.g., "SendGrid" / "Twilio"); endpoints reference the abstraction (external.email.active_provider, etc.). Frontend reads the abstract token; the backend resolves to whichever vendor is currently active. Stripe is the lone exception — load-bearing infra, not a swappable vendor.
  • Two databases — most endpoints write to the main Postgres (@biore/prisma). Analytics tracking endpoints write to a separate Analytics DB (@biore/prisma-analytics) — joins between the two happen in application code.

Machine-readable surfaces

SurfaceURLPurpose
OpenAPI spec/openapi/full.jsonFull Swagger spec — feeds the "Try it" playground on every endpoint page (945 KB).
Public-only OpenAPI/openapi/public.jsonPublic endpoints only.
User-auth OpenAPI/openapi/user.jsonPublic + JWT-bearer endpoints.
Admin OpenAPI/openapi/admin.jsonAdmin-scope endpoints.
Sitemap/sitemap.xmlEvery URL on this site (179 entries).
llms.txt/llms.txtCompact module + endpoint index for LLMs.
llms-full.txt/llms-full.txtFull content of every endpoint page in one file (1.4 MB) for LLM consumption.
Per-page Markdown/llms.mdx/docs/<path>/content.mdRaw MDX of any individual page.

On this page