/api/v1. Inputs list query parameters and JSON fields with their types where known. The success column shows status codes and selected top-level fields, including conditional fields. A dash means no inputs are listed here. Browse other modules in the route index.
Accounts, sessions, and permissions
/auth
| Method and path | Access | Inputs | Success |
|---|---|---|---|
POST /auth/app/exchange | Public | JSON code (string), code_verifier (string), device (string) | 200 user, token |
POST /auth/apple/native | Public | JSON identity_token (string), nonce (string), name (string), device (string) · Requires Apple sign-in to be enabled | 200 user, token |
POST /auth/login | Public | JSON login (string), password (string), code (string), device (string), remember (boolean), trust_device (boolean), captcha (string) | 200 user, token, trust_token (native clients can receive token and, when trusting a new device, trust_token) |
POST /auth/logout | Public | — | 204 |
POST /auth/passkey | Public | JSON challenge_id (string), credential (JSON), device (string) | 200 user, token (token is returned to native clients only) |
POST /auth/passkey/begin | Public | — | 200 challenge_id, options |
POST /auth/password-reset | Public | JSON email (string), captcha (string) | 204 |
PUT /auth/password-reset | Public | JSON token (string), password (string) | 204 |
GET /auth/providers | Public | — | 200 providers, apple_native |
POST /auth/register | Public | JSON username (string), name (string), email (string), password (string), invite_code (string), device (string), reason (string), captcha (string), email_code (string) | 201 user, pending_approval, email_verified, logged_in, token (native clients receive token only if logged_in is true) |
POST /auth/register/email-code | Public | JSON email (string), captcha (string) | 204 |
GET /auth/username-check | Public | Query username | 200 ok |
POST /auth/verify-email | Public | JSON token (string) | 204 |
POST /auth/verify-email/resend | Public | JSON email (string) | 204 |
/me
| Method and path | Access | Inputs | Success |
|---|---|---|---|
GET /me | Session | — | 200 user |
PUT /me | Session | JSON name (string), bio (string), website (string), location (string) | 200 user |
GET /me/account | Session | — | 200 account |
POST /me/email | Session | JSON email (string), password (string) | 202 pending_email |
GET /me/groups | Session | — | 200 groups, primary_group_id |
GET /me/identities | Session | — | 200 identities, has_password |
DELETE /me/identities/{provider} | Session | — | 204 |
POST /me/onboarded | Session | — | 204 |
GET /me/passkeys | Session | — | 200 passkeys |
POST /me/passkeys | Session | JSON challenge_id (string), name (string), credential (JSON) | 201 passkey |
POST /me/passkeys/begin | Session | — | 200 challenge_id, options |
PUT /me/passkeys/{id} | Session | JSON name (string) | 204 |
DELETE /me/passkeys/{id} | Session | — | 204 |
PUT /me/password | Session | JSON current_password (string), new_password (string) | 204 |
GET /me/permissions | Session | — | 200 permissions, limits, subjects |
PUT /me/phone | Session | JSON phone (string) | 204 |
PUT /me/primary-group | Session | JSON group_id (integer) | 204 |
POST /me/reauth | Session | JSON password (string), code (string) | 200 verified_until |
GET /me/sessions | Session | — | 200 sessions |
DELETE /me/sessions | Session | — | 200 revoked |
DELETE /me/sessions/{id} | Session | — | 204 |
GET /me/settings | Session | — | 200 settings, delivery, notify_defaults |
PUT /me/settings | Session | JSON notify (object), allow_messages (boolean), message_policy (string), mention_policy (string), allow_follow (boolean), search_index (boolean), show_upvotes (boolean), show_joined_nodes (boolean), show_online (boolean), show_level (boolean), show_adult (boolean), digest (string), show_signatures (boolean), node_tint (boolean), signature (string), topic_list_load (string), feed_view (string), home_sort (string), history_paused (boolean), palette_light (JSON), palette_dark (JSON), delivery (object), notify_reset (boolean) | 200 settings, delivery, notify_defaults |
GET /me/status | Session | — | 200 status, me |
PUT /me/status | Session | JSON emoji (string), text (string), clear (string), until (RFC 3339), pause (boolean) | 200 status |
DELETE /me/status | Session | — | 204 |
GET /me/two-factor | Session | — | 200 enabled, backup_codes_left |
POST /me/two-factor | Session | — | 200 secret, uri |
PUT /me/two-factor | Session | JSON code (string) | 200 backup_codes |
DELETE /me/two-factor | Session | JSON code (string) | 204 |
POST /me/two-factor/backup-codes | Session | JSON code (string) | 200 backup_codes |
/users
| Method and path | Access | Inputs | Success |
|---|---|---|---|
GET /users/{username} | Public | — | 200 user, stats |
Other endpoints
| Method and path | Access | Inputs | Success |
|---|---|---|---|
POST /group-requests/{id}/resolve | Session | JSON approve (boolean) | 204 |
GET /groups | Public | — | 200 groups |
GET /groups/{name} | Public | — | 200 group |
PUT /groups/{name}/about | Session | JSON description (string) | 204 |
POST /groups/{name}/join | Session | JSON reason (string) | 200 joined, pending |
GET /groups/{name}/members | Public | Query page, q | 200 members, more, page |
PUT /groups/{name}/members/{username} | Session | JSON owner (boolean), expires_at (RFC 3339) | 204 |
DELETE /groups/{name}/members/{username} | Session | — | 204 |
DELETE /groups/{name}/membership | Session | — | 204 |
GET /groups/{name}/requests | Session | — | 200 requests |
GET /invites | Session | Query limit | 200 invites |
POST /invites | Session | — | 201 invite |
GET /invites/code | Session | — | 200 invite_code |
PUT /invites/code | Session | JSON code (string) | 200 invite_code |
GET /invites/code/check | Session | Query code | 200 code, available, reason, message, own |
POST /invites/{code}/accept | Session | JSON note (string) | 200 state, node_id |
GET /mention-candidates | Session | Query q, near | 200 users, groups |
GET /palettes | Public | — | 200 light, dark |
GET /palettes/derive | Public | Query mode | 200 bg, text, accent, tokens, contrast, verdict |
GET /tiers | Public | — | 200 tiers |
Mobile clients
| Method and path | Access | Inputs | Success |
|---|---|---|---|
GET /mobile/devices | Session | — | 200 devices |
POST /mobile/devices | Session | JSON platform (string), push_token (string), app_build (integer), name (string) | 200 device |
POST /mobile/devices/unregister | Session | JSON push_token (string) | 204 |
DELETE /mobile/devices/{id} | Session | — | 204 |
GET /mobile/flags | Public | Query platform, build | 200 flags |
GET /mobile/update | Public | Query platform, build | 200 latest, update_available, update_required |
Account data exports
| Method and path | Access | Inputs | Success |
|---|---|---|---|
GET /me/export | Session | — | 200 export |
POST /me/export | Session | — | 202 export |
GET /me/export/{id}/download | Session | — | 200 application/zip |
Onboarding
| Method and path | Access | Inputs | Success |
|---|---|---|---|
GET /me/onboarding | Session | — | 200 state, tier, steps, done, total, energy, rewarded, completed_at, upgrade_at, days_left, wait_days |
POST /me/onboarding/hint | Session | JSON kind (string) | 200 show, waiting, tier, days |
POST /me/onboarding/rules | Session | — | 200 state, tier, steps, done, total, energy, rewarded, completed_at, upgrade_at, days_left, wait_days |
Referrals
| Method and path | Access | Inputs | Success |
|---|---|---|---|
POST /invites/friends/{id}/remind | Session | — | 204 |
GET /invites/me | Session | — | 200 overview, code, invite_code |
CAPTCHA
| Method and path | Access | Inputs | Success |
|---|---|---|---|
GET /auth/captcha | Public | — | 200 enabled, switch, provider, site_key, script, actions, login_mode, login_after_failures, register_pass_seconds |
