Authentication
Send the key
Every call sends the key as a Bearer token:
Header
Authorization: Bearer pst_…Create and manage keys in Settings → API keys. A key is shown once, when you create it.
What a key may do
A key can do what you ticked when you made it: read your data, save drafts, publish and schedule, import. A call outside them answers 403 with the code scope_required.
| Scope | Permission on the key | Endpoints |
|---|---|---|
postory:readpostory:drafts | Postory drafts | 38 |
postory:publish | Publish & schedule posts to your connected accounts | 7 |
postory:data | Read your account data | 14 |
postory:import | Account data imports | 4 |
Each endpoint in the reference names the scope it needs.
Rotate and revoke
Revoking a key stops it at once and cancels the posts it scheduled. Rotating gives a new key; the old one works for 24 more hours.
The same key in MCP clients
The same key works at the MCP server URL, for n8n and scripts. Calls share the rate limits and credit prices of AI apps.