API Keys: Generate, Use, and Revoke
API keys let an external tool authenticate as your FlexFiles account without logging in through a browser. This page covers who can use them, how to generate one, and how the authentication model works.
Why use an API key
FlexFiles normally authenticates people through a browser login, which issues a short-lived session token. That works well for a person clicking around the product, but it is not practical for an automation tool like Zapier, or a script, to manage. API keys solve this with a separate credential built for long-lived, machine-to-machine use: generate it once, and it keeps working until you revoke it.
Who can use it
- API access is included on the Pro and Business plans. Free and Starter don't include it; the Pricing page shows it per plan.
- In a team workspace, only the workspace owner can create API keys. Those keys convert on the owner's plan and limits.
- On Pro and Business, the API Keys section appears under Account settings.
- If you don't see that section, your plan, or the workspace you're in, doesn't include API access.
Generating a key
- 1
Go to Account → API Keys.
- 2
Click “Generate key”.
- 3
Give it a name that identifies what will use it, such as “Zapier” or “Invoice automation”.
- 4
Choose what it can do. Conversions is ticked; add document request or contact access only if the integration needs it.
- 5
Copy the key from the dialog that appears, and the webhook signing secret under it if you'll use webhooks. This is the only time either is shown.
- 6
Store it in whatever tool or script will use it — FlexFiles cannot show it to you again.
After you close the “key generated” dialog, FlexFiles only ever displays a masked prefix like ff_JcBtyx…. If you lose the key, revoke it and generate a new one — there is no way to retrieve the original value.
What a key can do
Each key has its own access, so an integration only gets what it needs. You choose it when you generate the key, and change it later with Edit access next to the key; a key keeps working while you do.
- Conversions: run every conversion tool, check status and fetch results. Keys made before access could be chosen have this only.
- View document requests, or Send and manage document requests (which includes viewing): the Document Requests API, on plans with document requests.
- View contacts, or Add contacts (which includes viewing).
- A request a key isn't allowed to make is refused with a 403 that names the access it needs.
How a key authenticates a request
A generated key is a random secret. FlexFiles stores only a one-way cryptographic hash of it, never the key itself, following the same pattern used for other secret links in the product. When a request arrives with a key, the server hashes the incoming value and looks for a match — if one is found, the request is treated as coming from the account (and workspace) that generated the key, with all of that account's normal permissions and plan limits applying.
- A key is scoped to whichever workspace (personal or organization) was active when it was created. A team workspace key stops working if its creator is no longer the workspace owner.
- Requests made with a key count against the same daily and plan conversion quotas as requests made from the website — there is no separate, unmetered path.
- An account can hold at most 5 active keys at a time.
Revoking a key
Revocation takes effect immediately on the very next request — there is no delay or caching to wait out. Revoke a key as soon as you stop using it, or if you suspect it leaked.
- 1
Go to Account → API Keys.
- 2
Find the key in the table and click “Revoke”.
- 3
Confirm in the prompt.
Common API key questions
Can I see a key's full value again after I close the dialog?
No. FlexFiles never stores the raw key, only a hash of it, so it cannot be redisplayed. Revoke the key and generate a new one if you lose it.
Do API requests use a different quota than the website?
No. Conversions made with an API key count against your plan's normal daily conversion limit, visible on your Account page.
What happens to in-progress work if I revoke a key?
The key stops authenticating new requests immediately, and Zapier marks a connection that uses it as expired. Conversions the key already started still finish, but their webhook notifications are no longer sent, so anything waiting for one, such as a Zap step that's already running, won't continue.
Can I have more than one key?
Yes, up to 5 active keys per account — useful for naming one per integration (e.g. one for Zapier, one for an internal script) so you can revoke them independently.