Skip to main content
An API key lets your own scripts, or an AI assistant like Claude or Cursor, work with your PublishBuddy workspaces. Each key acts as you, inside the limits you set for it.
API keys need Pro or Business, or the 14-day trial. A key follows the plan of each workspace’s owner. So if you’re on Free but belong to a Pro or Business workspace, your key works there. If no plan gives you API access, you’ll see “API access is not included in your current plan. Please upgrade to continue.”

Create a key

1

Open your settings

Click your avatar at the top right and choose Settings.
2

Go to Login & Security

Open the Login & Security tab and scroll down to API Keys.
3

Click Generate API Key

Give the key a Name you’ll recognize later, like “Marketing automation”. Tick the Scopes it needs (see below). Click Generate.
4

Copy the key now

The key appears once, under Your new API Key. Click the copy icon and store it somewhere safe, like a password manager. Then click Done.
You can’t see the key again after you close that window. If you lose it, revoke it and make a new one. Treat it like a password. Anyone who has it can act on your account within its scopes.

Pick the right scopes

Scopes decide what a key can do. Tick only what the job needs. Most jobs need Workspaces and Profiles as well, so the key can find where to post. You can’t add scopes to a key later. Make a new key instead. Some API features need more than API access. The media library and analytics need Pro or Business. Best times to post and demographics need Business. The Authentication page has the details.

Revoke a key

On Login & Security, find the key under API Keys and click the trash icon (tooltip “Revoke API key”). Click Revoke to confirm. Anything using that key loses access straight away, and you can’t undo it. The Last used column helps you spot keys nobody uses anymore.
Keys made in the app don’t expire. Revoke any you no longer need. If you move to the Free plan and aren’t in a Pro or Business workspace, your keys stop working until you upgrade again.

What next

API quickstart

Make your first request and publish a post.

Connect an AI assistant

Use your key with Claude, Cursor and other MCP clients.