Safely repeat API requests without side effects
Idempotency-Key
header with a unique value for that specific request. Posta’s system saves the result of the first request made with a given idempotency key. Subsequent requests with the same key return the identical result, including error responses.
Idempotency-Key
header in your POST, PUT, or DELETE requests.4xx
errors, check the error message before deciding whether to repeat the request. Some errors, such as validation errors, will persist even with repeated attempts.