REST API
Create, schedule, and list posts with plain JSON over HTTPS. Authenticate with a Bearer API key and schedule with ISO 8601 timestamps.
Explore the APISocial media scheduling API
PostPiper provides a REST API to schedule and publish posts to X, LinkedIn, and Pinterest, plus an MCP server for AI agents and a terminal workflow with cURL.
30 free post credits. Pro from $10/mo for 1,000 posts.
curl -X POST \
"https://api.postpiper.ai/v1/posts/$POST_ID/schedule" \
-H "Authorization: Bearer $POSTPIPER_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"scheduled_at": "2030-11-10T15:00:00Z"
}'Set POSTPIPER_API_KEY and POST_ID to your API key and draft ID. Replace the example date with a future UTC time.
Create a draft first →Integrate your way
Create, schedule, and list posts with plain JSON over HTTPS. Authenticate with a Bearer API key and schedule with ISO 8601 timestamps.
Explore the APIConnect Claude, ChatGPT, Cursor, or another compatible MCP client with OAuth. Draft with your AI, then confirm before it goes out.
Connect your agentUse cURL to draft and schedule from your terminal or a CI job. The same REST endpoints fit into your existing scripts and workflows.
Try the quickstartAPI features
Publish posts to X, LinkedIn, and Pinterest through one REST API.
Choose the best posting time for your audience and schedule posts with precise time zone control.
Upload images directly or import media from a public URL, ready to attach to your posts.
Retrieve your connected social accounts and choose where each post gets published.
Fetch upcoming posts, filter by account or platform, and keep your publishing queue in sync.
How it works
01
Link a social account in your dashboard, create an API key, and get your connected account ID.
List connected accounts02
Send your content and account_id to POST /posts. Review the draft and save the returned post.id.
Create a draft03
Send a future scheduled_at to the draft’s schedule endpoint. Track its status through the API or your calendar.
Schedule a postFAQ
Yes. PostPiper provides a REST API at https://api.postpiper.ai/v1. Create a draft with POST /posts, then schedule it with POST /posts/{postId}/schedule. You can also list posts, check their status, and publish a draft immediately.
The REST API supports publishing and scheduling to X (Twitter), LinkedIn, and Pinterest. Each post targets one connected account. Pinterest posts require an image, a title, and a public Board. Instagram and TikTok scheduling are not currently available.
Yes. Connect PostPiper’s hosted MCP server at https://mcp.postpiper.ai/mcp using OAuth in a compatible AI client. The assistant can create drafts and request your confirmation before publishing or scheduling. ChatGPT requires an account or workspace that supports custom MCP servers. See the MCP setup guide for client-specific instructions.
New accounts receive 30 one-time free post credits, including API and MCP access. Pro starts at $10 per month for 1,000 successful posts, or $25 per month for 3,000. Both Pro tiers include unlimited connected accounts. Only successfully published posts count toward the allowance.
Authenticate REST requests with your API key in the Authorization: Bearer header. Connect a social account in the dashboard first. The scheduling endpoint accepts scheduled_at as a future ISO 8601 timestamp with Z for UTC or an explicit time zone offset. Responses normalize the scheduled time to UTC.
Yes. POST /posts creates an unpublished draft. Review or edit it before calling the publish or schedule endpoint. MCP publishing and scheduling require confirmation. You can track draft, scheduled, published, and failed posts through the API and review your posts in the dashboard.
Explore the REST API reference or follow the MCP setup guide.
Create a free account, grab an API key, and schedule your first post.
Start for free