Start
BrokenPost API: getting started
The BrokenPost API is the same engine the calendar uses. Anything you can do in the app, you can script: list channels, upload media, schedule posts and read analytics.
Base URL
https://app.brokenpost.com/api/public/v1Base URL
Every endpoint lives under one base URL. All requests and responses are JSON, except file uploads.
https://app.brokenpost.com/api/public/v1Get your API key
- Open the BrokenPost app and click AI agents & API in the menu.
- Copy the API key from the API Key box. It belongs to your workspace, not to one person.
- Keep it on your server. Anyone with the key can post as your workspace.
Your first request
Check the key works and see which channels you can post to.
curl -X GET "https://app.brokenpost.com/api/public/v1/integrations" \
-H "Authorization: $BROKENPOST_API_KEY"What you get back
Use the channel id when you create posts. identifier tells you which network it is.
[
{
"id": "cm4a1b2c3d4e5f6g7h8i9j0k",
"name": "Mango Café",
"identifier": "instagram",
"picture": "https://media.brokenpost.com/avatar.jpg",
"disabled": false,
"profile": "mangocafe",
"customer": { "id": "cm4brand0001", "name": "Mango Café" }
}
]Next steps
- Schedule your first post: see Posts.
- Attach images or video: see Media.
- Let an AI agent do it for you: see MCP.