---
title: "How do I create an overads API key?"
description: "Open Settings > API in overads, press Create new key, name it, choose its scopes and expiry, then copy the secret. The secret is shown only once."
canonical_url: https://overads.io/help/create-api-key
md_url: https://overads.io/help/create-api-key.md
updated: 2026-11-27
---

# How do I create an overads API key?

Included in Growth, the one overads plan. API keys, webhooks and the MCP server are part of the plan.

Open Settings > API in overads, press Create new key, name the key, choose its scopes and when it expires, then press Create key and copy the secret. overads shows the secret once, so store it before you close the dialog.

## Before you start

- You need to be an owner or an admin of the workspace. Other roles open the page and read: Only workspace owners and admins can connect apps and manage keys.
- The workspace needs an active plan. Growth includes API keys. A paused workspace cannot create a key.
- A key belongs to the workspace you create it in. It only ever sees that workspace, and no request parameter moves it to another one. If you run two workspaces, make one key in each.

## Create the key

1. Open Settings > API. The page is titled API keys and MCP.
2. Press Create new key at the top of the page. A dialog titled Create API key opens.
3. Type a Name between 2 and 60 characters that says where the key will live, for example Production server.
4. Under Scopes, every permission is ticked to start with. Untick what this key should not do. Clear all and Select all switch the whole list. A key needs at least one scope: with none ticked the dialog says Pick at least one scope.
5. Under Expires, choose Never, 30 days, 90 days or 1 year. Never is selected to start with.
6. Press Create key. The dialog changes to Save your key now and shows the secret.
7. Press Copy secret, paste it into your secret manager or your server's environment, then press Done.

The secret starts with `sk_live_`. overads does not store it in plain text, so nobody can read it back to you later, support included. If you lose it, create a new key and revoke the old one.

## What scopes are

A scope is one permission. Each API route and each MCP tool names the scope it needs, and a key without that scope is refused with `SCOPE_MISSING` and status `403`. On the MCP server the scopes also decide which tools an assistant is offered at all: a tool outside the key's scopes is not listed.

| Permission in the dialog | Scope | What it allows |
| --- | --- | --- |
| Read posts | `posts:read` | Posts and their per-account delivery log |
| Write posts | `posts:write` | Create, edit, schedule, cancel and publish posts |
| Read connections | `connections:read` | Connected social accounts and their token health |
| Upload media | `media:write` | Upload media and ingest media by URL |
| Read analytics | `analytics:read` | Ad accounts, metrics and the landing-page crawl |
| Run workflows | `workflows:run` | Trigger workflows and read their runs |
| Manage webhooks | `webhooks:manage` | Register and manage outbound webhooks |
| Manage workspaces | `workspaces:manage` | Create client workspaces, mint their keys and hosted connect links, and ask for any change a member can make (each waits for a member to confirm it in the app) |

## Which scopes to tick

| The key is for | Tick |
| --- | --- |
| A script that schedules posts | Read connections, Write posts, and Upload media if the posts carry files |
| A dashboard or spreadsheet that only reads | Read posts, Read connections and Read analytics |
| An assistant that reads and drafts | Read connections, Read posts, Read analytics, then Write posts and Upload media once it should schedule |
| A tool that starts your automations | Run workflows |
| A server that registers its own webhook endpoints | Manage webhooks |
| An agency integration that creates client workspaces | Manage workspaces |

Give each integration its own key with the fewest scopes it needs. When one integration is retired or leaks its key, you revoke that key and nothing else stops.

## Use the key

Send the key as a bearer token on every request. There is no other way to authenticate on the public API.

curl:

```bash
curl https://api.overads.io/public/v1/connections \
  -H "Authorization: Bearer sk_live_YOUR_KEY"
```

The same key works on the MCP server at `https://api.overads.io/public/v1/mcp`, in the same header.

## A worked example

Brew & Bloom, a coffee shop, has a small website that queues a post each time the menu changes, and a weekly report in a spreadsheet. The owner makes two keys:

| Name | Scopes | Expires |
| --- | --- | --- |
| Website scheduler | Read connections, Write posts, Upload media | 90 days |
| Weekly report sheet | Read posts, Read analytics | 1 year |

If the spreadsheet is ever shared by mistake, the key inside it cannot create or cancel a post, and revoking it leaves the website working.

## Where the key shows up afterwards

The Connected list on the same page has one row per key and per signed-in app. A key's row shows its name, the last four characters of the secret, what it may do (Full access, or the permissions by name), who added it, how many calls it made in the last 30 days and when it was last used. A key that is no longer active is marked Revoked or Expired.

## When a key is refused

| Status | What the response says | What to do |
| --- | --- | --- |
| `401` | Missing API key | Send the `Authorization: Bearer` header. |
| `401` | Invalid API key | The key is unknown, revoked or past its expiry. Create a new one. |
| `402` | `workspace_locked` | The workspace is paused. Choose a plan in Settings > Billing and the same call works again. |
| `403` | `SCOPE_MISSING` | Create a key that has the scope the route needs. |
| `429` | A rate-limit body with `retryAfterSeconds` | Wait that long, then retry. See [the rate limits](https://overads.io/docs/rate-limits). |

> There is no refresh flow. A key past its expiry date answers like a key that never existed, and the fix is a new key.

## Common questions

### Can I see an overads API key again after I close the dialog?

No. The secret is shown once and is not stored in plain text. Create a new key and revoke the old one.

### Can I change the scopes of an existing key?

The page offers Revoke and Delete on a key, not an edit. To change what an integration may do, create a new key with the scopes you want and revoke the old one.

### Who can create API keys in overads?

Owners and admins of the workspace. Other roles see a note that says so and cannot read the key list.

### Does one key work for the REST API and the MCP server?

Yes. The same key authenticates both, and its scopes decide which routes answer and which tools are offered.

### What happens when a key expires?

Calls with the key answer 401 with Invalid API key, and the key's row is marked Expired. Nothing renews a key; make a new one.

## Related

- [Does overads have an API and an MCP server?](https://overads.io/help/api-and-mcp)
- [How do I revoke an overads API key or app?](https://overads.io/help/revoke-api-key)
- [What can each role do in overads?](https://overads.io/help/roles-and-permissions)
- [Authentication (developer docs)](https://overads.io/docs/authentication)
- [Getting started (developer docs)](https://overads.io/docs/getting-started)

Updated 2026-11-27. Source: https://overads.io/help/create-api-key
