X-Auth-Token header.
Getting your API key
Using the API key
Include the key in theX-Auth-Token header of every request:
Your store’s API key. Starts with
fm_api_key_.Error responses
If authentication fails, the API returns a401 Unauthorized response:
- Missing key
- Invalid key
X-Auth-Token header.Resetting your API key
If your API key is compromised, you can reset it from the same Settings > Other > API section:- Click Reset next to the API key field.
- Confirm the reset in the modal dialog.
- Copy the new key and update all your integrations.
Security best practices
- Store your API key in environment variables or a secrets manager — never hard-code it.
- Do not expose the key in client-side code, browser requests, or public repositories.
- Use HTTPS for all API requests (the API only accepts HTTPS).
- Reset the key promptly if you suspect it has been exposed.