Skip to main content

Three values, three different jobs

Idempotency-Key is not an API key. It grants no access. A checksum is not an API key either.

Generate an Idempotency-Key

Use a fresh UUID for each new change. Save it with that change and reuse it if you retry the exact same request.
In your request’s Scripts → Pre-request tab:
Add the header:
Before starting a different operation, clear the collection variable operation_key or replace it with a new UUID. Do not clear it when retrying the same operation.Do not put {{$guid}} directly in the header for retries: it generates a new value on each send.
For example, creating a folder and creating a Playlist are two operations, so use two different keys. GET requests do not need this header. Changing the body while reusing a key produces a conflict; use a new key for the new change.

Generate checksumSha256

Calculate it from the exact file you will upload. The result is 64 lowercase hexadecimal characters. If you edit the file, calculate it again.
Copy the result into checksumSha256.
Use the Library upload guide for the complete upload steps. Postman sends your chosen file as Body → binary; do not send JSON or form-data to the returned upload URL.