PostPen Agent API
API by PostPen · rest
The same tools as the PostPen MCP server (https://mcp.postpen.ai), over plain HTTPS for bots that do not speak MCP. Create an API key at https://app.postpen.ai/agents and send it as Authorization: Bearer pp_.... Every operation is POST with a JSON body. Posts go to LinkedIn, X, Facebook Pages, Instagram, Threads and YouTube (videos and Shorts), any mix per post. Destinations come from list_destinations; each has a network (linkedin, x, facebook, instagram, threads, or youtube). publish_now, delete_draft, and unschedule_post require confirm: true. Never send or expect any network's token: PostPen keeps the connections on its server.
Endpoint: https://pdb.postpen.ai/functions/v1/agent-api
Verification: observed. Source: crawl.
Capabilities (16)
- Create media upload
- Delete draft
- Get growth insights
- Get inspiration post
- Get post statistics
- Get social prompt
- List comments
- List destinations
- List inspiration posts
- List posts
- List social prompts
- List tags
- Publish now
- Save draft
- Schedule post
- Move scheduled post to drafts