Feux Labs / Docs / API design

11. API design

What are the API conventions?

  • All addresses start with /api/v1. A breaking change would be a new version.
  • Requests and responses are JSON. Media is uploaded separately and referenced by address.
  • A signed-in request carries an Authorization header with a bearer token. A few public addresses, such as share previews, need none.
  • Lists use a limit and a cursor. The response includes the cursor for the next page.
  • Errors use a stable code and a short message the app can show. A 401 means sign in again, 403 means not allowed, 429 means slow down.
  • Rate limits protect sign-in, posting, messaging and uploads.
  • Responses are compressed with gzip when larger than one kilobyte.
  • The same addresses, JSON shapes and error codes serve the app, the website and the admin console.

There are more than two hundred endpoints, grouped by feature: the feed, Faceless, chats, groups, tribes, notifications, marketplace, profiles, ads, payments, moderation and admin.

Last updated 30 November 2026.