API reference
Channels API
A channel is one connected account: an Instagram profile, a LinkedIn page, a Discord channel. Brands group channels, for example one per client.
https://app.brokenpost.com/api/public/v1Endpoints
/integrationsEvery connected channel.
groupquery, optional | Only the channels of one brand (the id from /groups). |
|---|
/groupsYour brands.
Response
[ { "id": "cm4brand0001", "name": "Mango Café" } ]/integration-settings/:idWhat a channel accepts: the character limit, its settings schema and its extra tools.
Response
{
"output": {
"rules": "Instagram needs at least one image or video",
"maxLength": 2200,
"settings": { "...": "JSON schema of the settings object" },
"tools": []
}
}Read this before you build the settings object of a post for a network you have not used yet.
/find-slot/:idThe next free time on a channel’s posting schedule, in UTC.
Response
{ "date": "2026-12-01T09:00:00.000Z" }/social/:networkA sign-in link that connects a new channel of that network to your workspace.
networkpath | The network identifier, for example linkedin or youtube. |
|---|---|
refreshquery, optional | The id of a channel to reconnect instead of adding a new one. |
Response
{ "url": "https://www.linkedin.com/oauth/v2/authorization?..." }Networks that connect with your own server address (Mastodon instances, Lemmy, WordPress) are connected from the app.
/integrations/:idDisconnect a channel. Its scheduled posts are deleted first.
/integration-trigger/:idRun a channel tool, for example list a Discord server’s channels or a Pinterest account’s boards.
Request body
{ "methodName": "channels", "data": {} }The tool names a channel offers are in tools of /integration-settings/:id.
Network identifiers
| Network | identifier |
|---|---|
X | x |
LinkedIn | |
LinkedIn page | linkedin-page |
Instagram | |
Instagram (standalone) | instagram-standalone |
Facebook page | |
Threads | threads |
TikTok | tiktok |
TikTok Business | tiktok-business |
YouTube | youtube |
Pinterest | |
Bluesky | bluesky |
Mastodon | mastodon |
Telegram | telegram |
Discord | discord |
Slack | slack |
Google Business Profile | gmb |
Lemmy | lemmy |
Dribbble | dribbble |
Twitch | twitch |
Kick | kick |
Dev.to | devto |
Hashnode | hashnode |
WordPress | wordpress |
Tumblr | tumblr |
MeWe | mewe |
Whop | whop |
Listmonk | listmonk |