Skip to main content
The public API uses standard HTTP status codes plus the JSON Authorization header described in the API overview. Most errors return a body with a msg field; plan and validation errors carry more structured fields.

Status codes

Plan-limit (402) bodies

Limit responses include the affected section so clients can map them to friendly messages:
sections: posts_per_month, channel, team_members, webhooks, ai. A missing public_api entitlement also returns 402 at the auth boundary.

Validation (400) bodies

Channel-level validation failures include which provider and channel failed:

Idempotency (409)

Replaying an Idempotency-Key with a different body for the same organization returns 409. Replaying with the same key and body returns the original result.

Rate limits (429)

Wait retryAfter seconds before retrying. See Rate limits for the window semantics.

SDK behavior

The @postsider/node SDK throws PostsiderApiError for every non-2xx response, with status, method, path, and the parsed response details.