Create an API key
Make a key for the FoPost API, SDKs and CLI, pick its permissions and brand, and copy it before the sheet closes.
An API key lets your own code, an SDK or the CLI act on your account. You choose what it may touch and which brand it can reach.
Steps
Step 1: Open API Keys
In the sidebar, open Developers, then API Keys, and click Create API Key.
Step 2: Name it
Give the key a Name you will recognise later, such as the script or server that uses it.
Step 3: Pick its permissions
Tick only the Permissions the job needs. AI (spends credits) lets the key use your AI balance; leave it off unless you want that.
Step 4: Choose brand access
Under Brand access, keep the current brand only (the default), or pick All brands to reach every brand on your account, including ones you create later.
Step 5: Set an expiry if you want one
The Expiration Date is optional. Leave it empty for a key that never expires.
Step 6: Copy the key
Click Create API Key, then copy the key. It is shown once and stored hashed, so nobody can show it to you again.
Managing keys
- The list shows each key’s brand, permissions, status (Active, Expired or Disabled) and when it was Last Used.
- Open a key’s menu and choose View Details to see everything about it, or Delete to stop it. Requests with a deleted key are rejected immediately.
- Send the key in the
X-API-Keyheader. The authentication docs cover scopes and brand binding in full.
Tips
- A key limited to one brand is safe to hand to a client or contractor: requests for any other brand are rejected.
- Lost a key? Delete it and create a new one.
- Every request a key makes shows up in Logs, with the key’s name as the source.
Questions
Can I see an API key again after I create it?
No. The key is shown once when you create it and is stored hashed. If you lose it, delete it and create a new one.
Does an API key need the AI permission?
Only if your code calls AI features. Those use your AI balance, so leave the permission off unless you need it.
Still stuck?
Open a ticket and someone who builds the product answers in writing.