API keys
Create an API key
Creates a key. The secret is in token and is shown only once.
- REST API key (default): the whole REST API, every company of the user. Never expires.
- MCP key (
is_mcp_key: true): MCP server only. Takesscopes, and optionalcompany_idsandexpires_at.
The kind must be in your plan, or in a company owner’s plan: send that company_id (owners and admins only, else 403). In neither: 402. At the plan’s key cap (api.keys in GET /subscriptions/balance): 402 with entity: api_keys.
POST
Authorizations
Body
application/json
MCP keys only (else 422). Default read, write. read is always added, publish adds write, reply adds inbox. inbox and reply need the social inbox in the plan of a company the key reaches, else 422.
What an MCP key may do. Levels, each including the one before:
read: see companies, social accounts, posts, media and results.write: create, edit and delete drafts. Nothing goes public.publish: schedule, queue, publish; edit or delete scheduled posts.
Opt-in extras:
inbox: read comments and direct messages.reply: answer them (addsinbox). Public, can't be undone.media: make images and videos with AI credits. May be withdrawn.settings: company setup (profile, brand, queues, tags, prompts, library, social accounts). Can delete.admin: team, plan, limits, invoices, profile, deleting a company.
Available options:
read, write, publish, inbox, reply, media, settings, admin Example:
