Working with the API
Idempotency
The API supports idempotency for safely retrying requests without accidentally performing the same operation twice. When creating or updating an object, use an idempotency key. Then, if a connection error occurs, you can safely repeat the request without risk of creating a second object or performing the update twice.
To perform an idempotent request, provide an additional Idempotency-Key: <key>
header to the request
for the endpoint that supports it. The <key>
can be any string that uniquely identifies your request.
Results of successful requests with Idempotency-Key
will be saved and returned on every subsequent
request with the same Idempotency-Key
.
Was this page helpful?