Social media API and CLI
One social media API for your coding agent.
Use the OpenPMM API or CLI from Claude Code, Codex, Amp, or your terminal to create, schedule, and publish Posts for your own accounts.
Unified social media API
One contract for the accounts you already use.
The OpenPMM API gives your agent one way to work with connected social accounts. It keeps provider-specific authentication, destination state, and publishing details behind one public contract.
Social media posting API
Create a Post, attach the media, and inspect the result.
Prepare a draft or direct Post with the destination, content, media, and timing it needs. The same Post remains the source of truth as it moves through preparation and publication.
Social media scheduler API
Publish now, schedule later, or use a queue.
The API supports direct publishing, exact scheduling, and queue-aware workflows. Your agent can choose the right timing without building a calendar system for every provider.
Destinations and media
Keep platform rules behind the connection layer.
Every social platform handles accounts, media, limits, and errors differently. OpenPMM gives your workflow one Destination model and checks media against the selected channel before publishing.
Social media CLI
Run the same API workflow from a terminal.
The first-party CLI is the terminal path through the same public API. Use it from a script, cron job, CI task, or coding agent that needs stable JSON output and predictable side effects.
Credential boundary
Keep CLI and direct API credentials separate.
The CLI credential store is an internal implementation detail. A CLI-managed agent invokes openpmm and never reads or exports its key. A custom /v1 client uses its own least-privilege credential from a secret manager.
Signed webhooks
Return Post events to the workflow that started them.
Create a Workspace webhook endpoint for signed Post events. Your automation can receive publication results without polling the API after every request.
Confirmation boundary
Let the agent prepare the action without hiding it.
Publishing reaches a public account, so the final send stays explicit. Your agent can prepare the request, but a person reviews the Destination, content, media, and timing before the public side effect.
Product boundary
A publishing layer, not a white-label social suite.
OpenPMM is for individuals and small teams that want their own agent to publish to their own accounts. It is not a customer-facing API for embedding social publishing into another SaaS product.
Go deeper
Keep the workflow moving.
OpenPMM / sign up
Give your agent a publish button.
One focused workflow covers setup, scheduled posts, API and CLI access, and a clear confirmation boundary.