Skip to main content
Paperjoy uses standard HTTP status codes. Every error has a JSON body with a message. Validation errors also have an errors object keyed by field. Error messages are always in English.

Status codes

Paperjoy replays only successful responses. For 7 days, retrying POST /api/postcards with a key that already created a postcard returns the original 201. Error responses are not stored, so after a 402, 422, or 429 you can retry with the same key once you fix the cause. A 409 means the key already created a postcard with a different body; use a new key for the changed postcard.

Validation errors

Use the keys in errors to highlight fields in your UI. Don’t match on the message text; it may change. Errors specific to Paperjoy:

Rate limits

Limits are counted per account and separately for test and live mode. When you hit one, wait before you try again, and back off exponentially with some random jitter in automated jobs. Need to send more than 100 cards a day? Contact us before your campaign.