PostlyBee uses conventional HTTP status codes. Always inspect both the status code and the JSON response before retrying a request.
Status codes
Validation errors
Validation errors usually include an array of field messages:
Business-rule errors may use a single string in message instead.
Retry strategy
Retry only transient failures such as 429 and 5xx. Use exponential backoff with jitter, respect Retry-After, and cap the number of attempts. Do not automatically retry 400, 401, or 403 responses.
Log a request identifier, HTTP method, endpoint, status code, and response
message. Never log the Authorization header or full API key.