Create, Copy and Revoke an SEOmatic API Key
Updated
You need an API key for Cursor, Claude Code, Make, n8n and your own scripts. Claude, ChatGPT, Zapier and the command line tool can sign in instead, so you do not need a key for them. For the command line tool, run seomatic login and approve the sign-in in your browser. See the command line guide and connect any AI assistant to SEOmatic.
Create a Key#
- In SEOmatic, switch to the workspace of the site you want to automate.
- Open Settings and click the AI Agents tab. Find Use SEOmatic From Your Own Tools.
- On the tile for your tool (Cursor, Claude Code, Zapier, n8n or Your own script), click Create key. Use Your own script for Make, the command line tool and any other code.
- Check the name in What will use this key?, for example Make.
- Tick Can make changes only if the tool needs to stage or approve changes. Leave it off for reading data.
- Leave Expires in one year ticked unless a server uses the key unattended. A key that expires is safer if it ever leaks.
- If you ticked Can make changes, choose what the key May act without asking you each time, for example Send messages to my customers or Publish to my site. Leave them off and those actions wait for you: you get an email with Approve and Decline links.
- Click Create key, then copy the key from the yellow box. It starts with
smk_live_. Store it somewhere safe, like a password manager.
The full key is shown only once
After that, the list shows only the start of the key and its last 4 characters. If you lose a key, create a new one and revoke the old one.
Keys expire after one year unless you untick it
Expires in one year is ticked when you create a key. A year later the key stops working and the tool that uses it gets an error. Create a new key before then, or untick the box for a key a server uses unattended.
Only Admins and the Owner see this section. When a key is created, the account owner gets a security email.
What a Key Can Do#
| Label on the key | What it allows | Plan needed |
|---|---|---|
| Reads only | Read your data, such as Search Console, and ask SEO questions over it | Any plan, including Free. The Free plan gets 5 questions a month |
| Can make changes | Also stage changes for your approval, and approve or dismiss tasks | A paid plan or trial. Through Make, n8n, Zapier or the REST API it also needs Infrastructure |
Make, n8n and Zapier are different: they need the Infrastructure plan for everything, reading included. See Zapier, Make and n8n.
Changes made with a key are staged for approval, never published silently. If you create a key without an active plan or trial, SEOmatic makes a key that can only read and ask, and says so. If you cancel or downgrade later, your keys lose the right to make changes, and get it back when you subscribe again. See pricing for plans.
When a key asks for something it may not do on its own, the request waits for you and the Owner gets an email with Approve and Decline. See approve tasks from email or Slack. To let a key do one kind of action every time, tick it under May act without asking you each time on the key's row in Your Keys.
Check That Your Key Works#
Right after you create a key, the yellow box shows a command under Try it right now in your terminal. Run it to confirm the key works. Setup guides for each tool are on the REST API, Make and n8n pages.
Revoke a Key#
- Open Settings > AI Agents and find Your Keys.
- Find the key by its name. Each row shows who made it and when it was last used, or never used.
- Click Revoke, then Revoke again to confirm. The key stops working right away and you see Revoked. This cannot be undone.
Connected assistants are not in this list. They are under Connected to This Workspace, each with a Disconnect button. See connect any AI assistant to SEOmatic.
Good to Know#
- 10 keys per workspace. If you see Workspace already has 10 active API keys. Revoke one first., revoke the keys you no longer use.
- Keys work for the workspace they were made in. On an agency team, a key can reach your other client workspaces by adding
?site=and the site address to the request. See the REST API guide. - Keys follow the person who created them. If that person is removed from your team, their keys stop working. If their role changes to Viewer, their keys can no longer make changes or ask questions.
- Never share a key in a public place. Anyone with the key can read that workspace's data. If a key leaks, revoke it and create a new one.
- I don't see Use SEOmatic From Your Own Tools.
- It is for Admins and the Owner only. Ask your account owner to change your role, or to create the key for you. See invite teammates and choose their roles.
- Can I see a key again after I closed the page?
- No. Create a new key, update the tool that uses it, then revoke the old one.
- Can I create a key on the Free plan?
- Yes. Free keys can read your data and ask questions. They cannot make changes.
Was This Article Helpful?
Still need help?Email contact@seomatic.ai with your site address and a screenshot. A person replies, usually within one business day.

