API docs
Pragmatic endpoint notes and quick forms for the current Fastnr API surface.
Log in to call session-protected endpoints from this page, or paste an API token for general API calls.
Authentication
POST/v1/auth/signupSign up with invite code
Body: { email, password, invite_code }
POST/v1/auth/loginPassword login
Returns either { status: "authenticated", me: ... } or { status: "mfa_required" }.
POST/v1/auth/mfa/setup/totpSet up TOTP MFA
Creates a QR-secret pairing for the current session.
POST/v1/auth/mfa/verifyVerify and enable MFA
Body: { code }. Returns backup codes on success.
Account
GET/v1/meCurrent session
Returns { user_id, email, organization_id, mfa_enabled }. Session required.
GET/v1/api-tokensList API tokens
Session required.
POST/v1/api-tokensCreate API token
Body: { name, permissions[] }
DELETE/v1/api-tokens/{id}Delete API token
Session required.
GET/v1/usageUsage summary
Returns aggregate token usage. Session required.