Skip to main content
Module 11 of 12 · The AI assistant and settings · Lesson 7 of 12

Create an API token for another system

Create a token with only the permissions it needs, limit it to your domains and store it safely.

4 minAdvancedFor: Agency owner or managerLast checked
Video tutorial coming soon

The written steps below are complete. The Video script tab shows exactly what the video will cover.

An API token lets another system talk to ItzSEO: a WordPress site sending email through it, or a script exporting contacts. A token is a key to your data, so give each one the smallest set of permissions that does the job.

By the end you can

  • Create a token with limited permissions
  • Restrict it to allowed domains
  • Revoke a token you no longer use

Steps

  1. 1

    Open API tokens

    On: /settings/api-tokens

    Open Settings and choose API tokens. Only the workspace owner can open this page.

    You should see: Active tokens, or "No tokens yet".

  2. 2

    Create a token

    On: /settings/api-tokens

    Press Create token and name it after the system that will use it.

    You should see: A form listing what the token may do.

  3. 3

    Tick only what it needs

    On: /settings/api-tokens

    Tick the permissions required, for example list and export contacts, create or update contacts, or send transactional email. Leave the rest unticked.

    You should see: Only the needed permissions are ticked.

  4. 4

    Limit the domains

    On: /settings/api-tokens

    Add the domains allowed to use the token. A token with no allowed domains does not work yet.

    You should see: The token shows "Allowed on:" with your domains.

  5. 5

    Copy it once

    On: /settings/api-tokens

    Copy the token and paste it straight into the other system's settings. Do not send it by email or chat.

    You should see: The other system connects.

  6. 6

    Revoke unused tokens

    On: /settings/api-tokens

    Press Revoke token as soon as the system that used it is retired.

    You should see: The token no longer works.

Tips

  • Use one token per system, so removing one does not break the others.
  • If a token may have leaked, revoke it and create a new one.

Troubleshooting

"No allowed domains — token won't work yet"
Add the domain of the website or system that will use the token.
You lost the token.
A token is shown only once. Revoke it and create a new one.

Reference articles on this topic

Finished this lesson?

Mark it complete to keep your place in the course.