/api/v1), the MCP server and OAuth delegation. The PostSyncer app’s own routes answer it 403, with "error": "api_key_not_allowed".
Make a key
Only a workspace owner can make keys: Settings → API isn’t shown to other roles. It works on every plan, Free included.- Open Settings → API and click New key.
- Name it. Under Start from, pick what the key may do (see Presets). Everything is picked to begin with.
- Optionally set an expiry date. After it, the key answers
401. - Create the key and copy it. It’s shown once.
401 from then on.
An AI agent in a terminal can also get a key for a person, with a code emailed to them: see Sign up from an AI agent. Its two routes, POST /agent-signup/code and POST /agent-signup/verify, are the only ones that need no key. The key has every permission, is named after the agent, and shows in Settings → API like any other.
Send the key
Send the key on every request asAuthorization: Bearer YOUR_API_KEY. The base URL is https://postsyncer.com/api/v1. Upload a file is the one exception: it uses https://upload.postsyncer.com/api/v1, with the same key.
Who a key acts as
A key acts as the owner who made it. It reaches every workspace that person owns or joined, and in each one it can do only what their role there allows. A request needs both: the key’s permission and the person’s role. When the role doesn’t allow it, the answer is403:
403
Permissions
Every permission is aresource:action pair, and every endpoint needs one. An MCP tool needs the permission of the endpoint it mirrors: list-posts needs posts:read, create-post needs posts:create. Without it, the answer is 403 and nothing is done:
403
https://postsyncer.com/api/v1.
Google reviews use the comments permissions.
Two
read permissions can spend AI credits on paid plans: POST /posts/analyze-twitter (posts:read) and POST /media/analyze-video (media:read). On Free, both answer 403 with "limit": "ai".
Presets
Start from ticks permissions for you. You can change them on the next step.Older keys
Keys keep the permissions they were made with.- A key made with Everything has
*: every permission, including ones added later. - Keys made before permissions were split into actions hold one permission per resource. Each still works as before:
No older permission covers
brand, snippets or webhooks. To use those, edit the key and pick them.
Connect an AI client with OAuth
Claude, ChatGPT and other MCP clients can connect tohttps://postsyncer.com/mcp as a connector instead of using a key: you sign in to PostSyncer and approve it once. Client setup has the steps.
PostSyncer has no setting that ends a connector’s access. Removing the connector in your client stops that client using it, but the tokens it was given stay valid until they run out: the access token after 15 days, the refresh token after 30. Each time the client renews, it gets new ones. To end a connector’s access sooner, write to support@postsyncer.com.
When a request is refused
Error handling lists every other answer.
Related
Quickstart
Make a key and schedule your first post.
Test safely
A draft-only key, and what can’t be undone.