NEWOur agents now make the SEO fixes on your site and check what worked →

Create, Copy and Revoke an SEOmatic API Key

Updated

Open Settings > AI Agents. Under Use SEOmatic From Your Own Tools, click Create key on the tile for your tool, name the key, choose whether it may make changes and click Create key. Copy it right away: SEOmatic shows the full key only once.

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#

  1. In SEOmatic, switch to the workspace of the site you want to automate.
  2. Open Settings and click the AI Agents tab. Find Use SEOmatic From Your Own Tools.
  3. 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.
  4. Check the name in What will use this key?, for example Make.
  5. Tick Can make changes only if the tool needs to stage or approve changes. Leave it off for reading data.
  6. Leave Expires in one year ticked unless a server uses the key unattended. A key that expires is safer if it ever leaks.
  7. 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.
  8. 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 keyWhat it allowsPlan needed
Reads onlyRead your data, such as Search Console, and ask SEO questions over itAny plan, including Free. The Free plan gets 5 questions a month
Can make changesAlso stage changes for your approval, and approve or dismiss tasksA 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#

  1. Open Settings > AI Agents and find Your Keys.
  2. Find the key by its name. Each row shows who made it and when it was last used, or never used.
  3. 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.

digi-business-uk

Each local area page used to take us half a day to create and optimize.


With SEOmatic, we can create hundreds of pages in the same time, which helps our clients make the best use of their budget.


It's transformed how we deliver scalable SEO solutions.

will-hawkins

Will Hawkins

Marketing Director, Digi-Business UK

Give Your Site an SEO Team

Agents read your Search Console data, do the work, and prove what actually moved. You decide what ships.

  • You decide what ships
  • Verified live
  • One-click rollback

14-Day Trial for $1, credited to your first payment.