API

Errors & limits

Stable error codes, 60 requests a minute per key, Retry-After on 429.

Every error has the same shape. Branch on code, not on message, which may change.

response
{
  "error": {
    "code": "insufficient_credits",
    "message": "This needs 30 credits. You have 12.",
    "balance": 12,
    "needed": 30
  }
}
StatusCodeMeaning
400invalid_requestA field is missing or the wrong type. The message names it.
401unauthorizedNo key, or the key was rotated or revoked.
402insufficient_creditsNot enough credits for this make call.
403read_onlyThe key has read scope and this is a write.
403plan_requiredYour plan doesn’t include this type or look.
404not_foundThe id doesn’t exist or this key can’t reach that brand.
409conflictSame Idempotency-Key with a different body within 24 hours.
409duplicate_postSame ordered asset set is already queued or live on that platform.
409min_gapToo soon after another post of the same kind on that platform (feed 2h, Story 30m).
409already_publishedThe post is live. Change it on the platform.
502publisher_errorCould not cancel or reach the connected-account publisher; the local row was left unchanged.
422connection_expiredReconnect the account in the app, then try again.
429rate_limitedSlow down. Wait for Retry-After seconds.

Limits

  • 60 requests a minute per API key.
  • 10 make calls a minute per brand.
  • 2 concurrent video generation starts per key.
  • Over the limit you get 429 with a Retry-After header in seconds.