Browse and search developers
OAuth apps
OAuth apps: let FormitAI users connect your product
Register an OAuth app so other FormitAI users can connect their workspace to your product with scoped, revocable access.
On this page
Use an OAuth app when your product needs to read or change forms in other people’s FormitAI workspaces. Each user signs in with FormitAI, picks a workspace, approves the scopes you ask for, and you receive tokens for the REST API that act in that workspace only. Users can disconnect your app at any time. For your own workspace, an API key is simpler.
Register an app
- In FormitAI, open Workspace settings and choose Developer apps (Owners and Admins only).
- Select Register app and enter the name and homepage users will see on the consent screen.
- Add your redirect URIs, one per line. They must use
https://, excepthttp://localhostwhile you develop, and must match exactly. - Choose the scopes your app may request, then copy the client ID (
fmtapp_…) and client secret (fmtsec_…). The secret is shown once.
| Setting | Value |
|---|---|
| Authorization URL | https://api.formitai.com/v1/oauth/authorize |
| Token URL | https://api.formitai.com/v1/oauth/token |
| Revocation URL | https://api.formitai.com/v1/oauth/revoke |
| Grant types | authorization_code, refresh_token |
| PKCE | S256 (required for apps that cannot keep a secret) |
| Client authentication | HTTP Basic, client_secret in the body, or PKCE only for public clients |
| Access token | fmt_oat_…, valid 1 hour |
| Refresh token | fmt_ort_…, valid 60 days, replaced every time you use it |
What your app can do
Tokens use the same scopes as API keys (forms:read, forms:write, responses:read, responses:write, webhooks:read, webhooks:write), limited to what the user approved and what your app is allowed to request. They also never exceed the user’s own role in the workspace: a Viewer cannot approve write access. If the user leaves the workspace, the token stops working.
Related
Can't find what you need?