Skip to main content

media/get/{token}

Many methods in the API that download or generate files, do not send back the file immediately. Instead they return a "token". The present method permits to fetch the actual file for the token.

NOTE: The HTTP response is configured so that a browser would download the file with a file name. See also: media/get/{token}/stream

URL

(GET) /api/media/get/{token}


PARAMETERS

token

The reference token of file.


RESULTS

The file as an attachment, see below.

The HTTP response header includes:

  • The Content-Type (such as "text/xml")
  • The Content-Disposition set to "attachment" and including the file name


ALTERNATIVE METHOD

If you want to have a browser show the file inline, use this method instead: media/get/{token}/stream




JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.