Guides

Errors and rate limits

Errors are JSON with a message you can show to people. Limits are generous and per workspace.

Base URLhttps://app.brokenpost.com/api/public/v1

Status codes

CodeMeaning
200 / 201Done.
400The request or the post is not valid. The body says why.
401Missing or wrong API key. Running a channel tool on a channel that needs to be reconnected also returns 401.
402Your plan does not include this (for example more posts this month on Free), or the workspace is out of AI credits.
404Not found in your workspace.
429Too many requests. Wait and try again.

Rate limits

  • Creating posts: 90 requests per hour per workspace. One request can hold many channels, so batch them.
  • Everything else: no fixed limit, but keep it reasonable; we may slow down abusive traffic.

AI credits

AI writing and posts to X use AI credits. Each X post (and each part of an X thread) costs 15 credits. X posts drop links unless you set keep_links: true in the X settings; a post that keeps its links costs 200 credits.

Paid plans get credits every month. Free workspaces get a one-time grant. Anyone can buy credit packs in Billing.

When the workspace runs out, the request fails with 402 and "section": "ai_credits". See what used them in Billing → Usage.

Billing → Usage.

Retries

Retry 429 and 5xx with a growing wait (1s, 2s, 4s…). Never retry a 400 unchanged; fix the post first.

Ready to post everywhere?

Connect your apps and schedule your first post in minutes. The Free plan costs $0, with no time limit.