Create an API key in the Supercycle admin and send it as a bearer token on every request
Every Admin API request is authenticated with an API key. You create keys in the Supercycle admin under Integrations and send one as a bearer token in the Authorization header.
Supercycle shows a new key once, on the page where you create it. Copy it into your secrets store straight away. If you lose it, create a new key and retire the old one.
Go to Integrations. The API keys card lists the keys your store already has.
2
Select Create API key
On the API keys card, select Create API key. The Create API key page opens.
3
Name the key
Enter a Title that says what the key is for, such as ACME integration, then select Create API key.
4
Copy the key
Supercycle returns you to Integrations with the new key shown once. Select Copy and store it somewhere safe. The key then appears in the table by its title.
Select Create API key, name the key, then Copy it from the card that appears once.
A request without a valid key returns 401 Unauthorized. Keep keys out of client-side code and version control, and give each integration its own key so you can retire one without breaking the others.
Was this page helpful?
Assistant
Responses are generated using AI and may contain mistakes.