Browse the Help Centre
Overview

Help Centre / API and MCP

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 dialogScopeWhat it allows
Read postsposts:readPosts and their per-account delivery log
Write postsposts:writeCreate, edit, schedule, cancel and publish posts
Read connectionsconnections:readConnected social accounts and their token health
Upload mediamedia:writeUpload media and ingest media by URL
Read analyticsanalytics:readAd accounts, metrics and the landing-page crawl
Run workflowsworkflows:runTrigger workflows and read their runs
Manage webhookswebhooks:manageRegister and manage outbound webhooks
Manage workspacesworkspaces:manageCreate 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 forTick
A script that schedules postsRead connections, Write posts, and Upload media if the posts carry files
A dashboard or spreadsheet that only readsRead posts, Read connections and Read analytics
An assistant that reads and draftsRead connections, Read posts, Read analytics, then Write posts and Upload media once it should schedule
A tool that starts your automationsRun workflows
A server that registers its own webhook endpointsManage webhooks
An agency integration that creates client workspacesManage 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.

curlbash
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:

NameScopesExpires
Website schedulerRead connections, Write posts, Upload media90 days
Weekly report sheetRead posts, Read analytics1 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

StatusWhat the response saysWhat to do
401Missing API keySend the Authorization: Bearer header.
401Invalid API keyThe key is unknown, revoked or past its expiry. Create a new one.
402workspace_lockedThe workspace is paused. Choose a plan in Settings > Billing and the same call works again.
403SCOPE_MISSINGCreate a key that has the scope the route needs.
429A rate-limit body with retryAfterSecondsWait that long, then retry. See the 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.