User Permissions | Organization Admins |
Note: Only Organization Admins see the API tokens tab, and it isn't turned on for every organization. If you're an Organization Admin and don't see it, contact your Flowcode CSM.
Create an API token
At the top right, click your avatar and choose Account settings.
Click API tokens. The Your API tokens list shows the tokens you created in this organization.
Click Create API token.
Enter a Name, such as the app or script that will use the token. Description is optional.
Click Create.
You see "User API Token created", and the token appears in Your API tokens with its Created date. The token works only in the organization you were in when you created it. It doesn't expire. To make your first call, open the developer portal from the Developer portal link on the API tokens tab.
Find your client ID and client secret
Each token has two parts: a Client ID and a Client secret.
Go to Account settings → API tokens.
On the token's row, click View token.
Click the copy icon next to Client ID or Client secret. Click the eye icon to show the secret.
Your app exchanges the client ID and secret for a short-lived access token, then sends that access token with each request. The developer portal explains the exchange step by step.
Important: Store the client ID and secret like a password. Anyone who has them can reach your organization's data through the API.
Delete an API token
Go to Account settings → API tokens.
Click ⋮ on the token's row and choose Delete.
Click Yes, delete.
Any app that uses the deleted token stops working. Create a new token and update the app if it still needs access.
Troubleshooting
"Listing workspaces or creating a QR code returns 403 permission denied, but I can get a token."
Getting an access token only proves the client ID and secret are right. A 403 on a later call usually has one of three causes:
The request body is empty. Calls that list things, such as workspaces, need a body with a filter on your organization ID and pagination (for example, the first 10 results). An empty body is rejected.
The organization filter is wrong or missing. A token works only in the organization where it was created. Use that organization's ID, and a workspace ID from that organization.
Your own access doesn't cover the action. A token belongs to the person who created it and to that organization.
"I need to change the permissions on my API token."
You can't. Tokens have no permission settings. Check the three causes of a 403 instead.
"I get 'records already exist with hash(s): …', but those values aren't in my file."
A hash is the slug at the end of a short URL, as in go.example.com/spring-sale. Each hash can be used once per domain. Hashes are compared without regard to capitals, so Spring-Sale clashes with an existing spring-sale, and the error can show the existing hash rather than the one in your file. Once a hash is claimed on a domain, it stays reserved, even if you remove the short URL. Choose hashes that differ by more than capitals.
"My API calls stopped working with a 401 after a day."
Access tokens expire after 24 hours. Request a new one with your client ID and secret, or refresh it. Your API token itself doesn't expire.
"I don't see API tokens in Account settings."
Only Organization Admins see the tab. Ask an Organization Admin to create the token, or to give you the Organization Admin role. If you're already an Organization Admin, contact your Flowcode CSM.
FAQs
Do API tokens expire?
No. A token works until it's deleted or its creator leaves the organization.
What happens to my tokens if I'm removed from the organization?
Your tokens for that organization stop working straight away. Tokens you created in other organizations keep working.
Can I use one token in several organizations?
No. Each token belongs to one person and one organization. Switch to the other organization and create a token there.
Can someone else see my tokens?
No. Your API tokens lists only the tokens you created in the organization you're in.
Where are the endpoints, limits, and examples?
In the developer portal at docs.conversions.flowcode.com. Click Developer portal at the top of the API tokens tab to open it. It covers authentication, rate limits, bulk operations, and every endpoint.


