To safely retry a request without performing the exact same operation twice, you can add a header with an idempotent key. You can use any strings with at most 30 length. If you send another request with the same idempotent key within 24 hours we will send you the exact same response we sent for the first request.

After that the code is expired and we will consider it a new request.

curl \
   -u B31DCE74-E768-43ED-86DA-85501612548F: \
   -H "Content-Type: application/json" \
   -H "x-idempotent-key: E87DAD4D-FEA2-4FC3-8EEC-35B1C64DAFA9"