ff_token, valid for 7 days). Dashboard endpoints also accept the same JWT as Authorization: Bearer <token>.
For server-to-server access to submissions, create an API
key instead of using a login session.
Sign up
captchaToken is only checked when the server has RECAPTCHA_SECRET_KEY set. osforms.com does, so signups there need a valid token with a passing score. Self-hosted installs without the key skip the check.
Creates the account and emails a 6-digit code. The account can’t log in until the code is verified.
Each IP gets 5 signup attempts per hour. Failed attempts count toward that limit.
Verify email
ff_token cookie and returns the user:
400.
Resend verification code
429 with retryAfter (seconds) in the body. Each IP is also capped at 10 requests per hour; past that you get 429 with Too many code requests. Try again in an hour. and no retryAfter or Retry-After header.
Log in
ff_token cookie and returns the user:
{ "requiresVerification": true, "email": "..." } (status 200). Verify with the code to finish logging in.
Log out
ff_token cookie. No body required.
Get current user
401 if not logged in. For this month’s submission usage, see usage in GET /api/v1/forms.
Update profile
There’s no schema validation on this endpoint beyond the stored field types. Returns the updated user in the same shape as
GET /api/auth/me (usecase and refSource aren’t included), or 401 if not logged in.
Google OAuth (Google Sheets)
Google OAuth only connects Google Sheets to a form. It isn’t a way to log in to OSForms./api/auth/google/callback, which creates a spreadsheet for the form and saves the encrypted OAuth token for the Google Sheets integration. The connection has to be finished within 10 minutes, in the same browser session that started it.
Optional query parameters:
returnTo: a path on OSForms (must start with a single/) to land on after a new connection, instead of the form’s Integrations tab.reconnect=1: refreshes the OAuth token for an existing Google Sheets integration and keeps writing to the same spreadsheet. Google’s screen preselects the account that created the sheet. Returns404if the form has no Google Sheets integration. Reconnects always return to the Integrations tab.