Authentication
Every request carries a workspace API key in the Authorization header:
Authorization: Bearer flc_live_…That is the only way in. There is no key in the URL, no other header, and no session to open first.
Make a key
- In the dashboard, open Settings, API and MCP. API keys are on the Pro and Scale plans, and making one needs the permission to manage keys, which owners and admins hold by default.
- Choose New key, name it for what will use it, and tick the scopes it needs. Start from the least it can work with. Scopes and keys lists them.
- Press Create key and copy the secret. It is shown once: FloConnector stores a hash of it, not the key, so nobody can show it to you again. Lose it and you make another.
A key can carry an expiry date, or live until it is revoked. When someone creates a key, everyone else who manages keys in the workspace is told.
What a key is
A key belongs to one workspace and acts as that workspace, not as a person. Three things follow:
- There is no workspace to name. The key is the workspace. Nothing in a request picks another one,
and an id from another workspace answers
404, exactly as an id that does not exist would. - It sees the whole workspace. A person in the dashboard sees their own files and the profiles they are assigned to. A key holding the scope sees all of them.
- It outlives its maker. If the person who made a key leaves, the key keeps working until it expires or someone revokes it.
Members and billing belong to the account that owns the workspace, so a key reads and manages those for its workspace's account.
A first request
Put the key in FLC_API_KEY and ask the API who you are. GET/v1/me needs no scope and
costs nothing, so it is the call to start with and a cheap way to check a key is live.
GET /v1/meA real response, captured from the API. Lists are shortened to two items.
expanded_scopes is what the key can actually do: the scopes it was given, plus every scope those
include.
Keep it out of your code
Every sample in this reference reads the key from the FLC_API_KEY environment variable, and so
should you. A key in a repository, a ticket or a chat message is a key someone else can use. Each
endpoint page has a Try it console that sends a real request with a key you paste in: it is kept
in that browser only and sent only to the API.
If a key leaks, revoke it in Settings, API and MCP. Revoking is immediate: the very next request with it is refused.
When a key is refused
No key, or one that is unknown, revoked or expired, answers 401 with a WWW-Authenticate header:
GET /v1/tablesA key that is valid but lacks the scope an endpoint needs answers 403 and names the scope in
required:
POST /v1/tablesAnd if the workspace moves to a plan without the API, its keys answer 403 with the code
plan_limit. They are kept, not deleted, and work again the moment the plan allows it.
Errors has every code.