Rate limits and errors
Handle request failures, busy imports, and publishing outcomes.
On this page
Plan limits
REST and MCP are available on all plans. Free shares 100 calls per workspace per UTC day across REST and MCP, including reads and individual messages in an MCP request. Inbox, short links and Writing Assist are on paid plans. Sync flows, backfill, webhooks, cloud watches and client reports require Team or Agency.
Workspaces on the same billing account share allowances. View your plan and usage under Settings → Billing. Monthly publishing and Writing Assist allowances reset on the first day of the month in UTC.
A plan restriction returns HTTP 402. Exhausting the Free developer budget returns 429 until midnight UTC. Both set error.code to plan_limit. The error.details object includes feature, limit, used, and upgradeUrl. MCP discovery lists tools available to the caller's permission and plan.
Import capacity and provider limits
URL imports have a separate limit of two concurrent imports per workspace, four across the instance, and 250 MiB reserved across concurrent imports. The individual file limit is 100 MiB.
When imports return 429, wait and retry with backoff and jitter. The REST response for a busy import has no Retry-After header. Provider limits can also affect the background publishing attempt. Read the target's retryAt and lastError for its current outcome.
HTTP errors
REST errors contain error.code, error.message, and optional error.details. Use the stable code in your integration and show the message to the caller. For invalid request fields, the message contains the first validation issue.
{
"error": {
"code": "conflict",
"message": "This time is already reserved by the posting queue."
}
}| Status | Code | What to check |
|---|---|---|
| 400 | invalid_request | JSON syntax, missing or invalid fields, incompatible media or targets, or an invalid publish time. |
| 401 | unauthorized | The Bearer header and whether the key is still active. The response includes WWW-Authenticate. |
| 402 | plan_limit | The plan or allowance in error.details. |
| 403 | forbidden | The role required by the operation. |
| 404 | not_found | The requested ID and the workspace that issued the key. |
| 409 | conflict | The latest post revision, queue booking, or media state. Reload before retrying. |
| 413 | payload_too_large | Whether a URL import exceeds 100 MiB. |
| 415 | unsupported_media_type | The imported file's format and the source's response headers. |
| 422 | unprocessable_entity | The import URL, response, or file. |
| 422 | bulk_row_errors | The row validation results and import errors under error.details. |
| 429 | rate_limited | Available URL-import capacity. |
| 500 | internal_error | A server-side failure. Check whether a write succeeded before retrying. |
For bulk failures, error.details.results contains the rows Posthoop evaluated, including their validation issues. error.details.errors contains row numbers and messages for rows that could not be parsed or processed. error.details.importedMediaIds, when present, lists imports already saved to the library.
Retry writes carefully
Post creation has no client idempotency key. If the connection drops while submitting a post, check recent posts before sending the same request again. Use expectedRevision when editing to catch a stale write.
A successful create response means Posthoop accepted the post. Check target status for publishing failures. An unknown target can still resolve, so check the destination before creating a replacement.