- Sign up / log in at postsiva.com
- Create a workspace
- Connect accounts (Settings → Integrations)
- Create API key (Settings → API Keys) — use all REST APIs
- Post / automate via REST or MCP
API keys and Unified MCP require the Pro plan (
api_keys_enabled + mcp_enabled). See Plans.Part 1 — What to do in the Postsiva UI
Complete these in the web app at postsiva.com (or your workspace URL).1. Sign up or log in
- Go to postsiva.com — sign up or log in.
- Create a workspace (or accept an invite).
- Confirm the correct workspace in the switcher. All OAuth tokens, posts, and API keys are scoped to it.
2. Upgrade if you need API / MCP
- Go to Settings → Billing (or Pricing).
- Subscribe to Pro (or higher) so API Keys and MCP are unlocked.
- After upgrade, refresh Settings — API Keys and MCP should no longer show a plan gate.
3. Connect social accounts (Integrations)
- Open Settings → Integrations (or Connect accounts).
- Click each network you need: LinkedIn, Facebook, Instagram, TikTok, YouTube, Threads, Pinterest, Bluesky.
- Finish the OAuth popup (grant all requested permissions).
- For Facebook: pick the Pages you want to manage.
- For LinkedIn: enable company / org pages if you will post as pages (not only personal).
- For Pinterest: note which boards exist (you need board IDs when posting).
- For Bluesky: enter handle + app password (no OAuth redirect).
- Confirm each site shows Connected.
4. Create a workspace API key (use REST APIs)
- Open Settings → API Keys (under Integrations / developer settings in the app).
- Click Create API Key.
- Set:
- Name — e.g.
n8n production - Scope — see IDs and scopes:
full— all platforms (best for most integrations)linkedin,instagram— only those platforms for connect/postlinkedin_only— LinkedIn only (default in some setups)linkedin_posts— read-onlyGET /unified/posts(LinkedIn)
- Name — e.g.
- Copy the secret once:
psk_live_…— it is not shown again. - Store it in your password manager / secrets store (never in git).
X-API-Key: psk_live_… on every REST request to https://backend.postsiva.com. See API Overview.
5. (Optional) Copy MCP URL for Cursor / Claude
- Open Settings → MCP (or Integrations → MCP).
- CLI (Cursor / Claude Code):
https://mcp.postsiva.com/mcpwith headerX-API-Key: psk_live_YOUR_KEY - Claude.ai:
https://mcp.postsiva.com/web/mcpwith OAuth only (no API key) - ChatGPT MCP:
https://mcp.postsiva.com/web/mcp?api-key=psk_live_YOUR_KEY - Follow Connect MCP and Cursor.
6. Smoke-test in the UI (recommended)
Before scripting:- Use the Composer to publish a small test post to one connected account.
- Open Inbox / Comments and Analytics once so data exists in the DB for API reads.
Part 2 — Connect accounts programmatically
Use these when building onboarding into your product (users never touch Postsiva UI for linking).Auth for OAuth routes
Key scope restricts which platforms you may connect (e.g.
linkedin_only cannot start Instagram OAuth).
A) Start OAuth / get connect URL
POST /unified/oauth/url
Response (OAuth platforms)
auth_url in the browser (or redirect the end user). After callback, Postsiva stores tokens on the workspace.
B) Bluesky connect (no redirect)
auth_url is null on success — connect completes in this call.
C) Check connection status
GET /unified/oauth/token
"connected": true per platform. Token payloads may include platform user/page ids — treat access tokens as secrets.
D) Disconnect
DELETE /unified/oauth/token?platform=linkedin&platform=instagram
E) Same flow via MCP
Tool:manage_platform_connection
Tool:
get_accounts — list connections / profile metadata.
Part 3 — After connect: automate with the API key
Always send:X-Workspace-Id is optional (must match if sent).
Typical automation sequence
1
Confirm accounts
GET /unified/oauth/token or MCP get_accounts.2
Upload media (if needed)
POST /media/upload → save media_id / public_url. See Media.3
Optional AI draft
POST /unified/content/generate or MCP idea_to_content. See AI Content.4
Publish, draft, or schedule
POST /unified/post/text|image|carousel|video — see Posting and the full Posting parameters reference.5
Read back
GET /unified/posts, GET /unified/analytics, GET /unified/comments.Minimal first post (LinkedIn personal)
Facebook Page (required facebook_page_ids)
LinkedIn company page + optional personal
Image post using media_id
Part 4 — Checklist
Next pages
Posting parameters
Every unified + per-platform field for text, image, carousel, video.
OAuth API
Full request/response for connect, status, disconnect.
Authentication
Headers, scopes, plan gates.
MCP tools
Agent tools including manage_platform_connection and publish.