Attachments V4

Get Download Token

Use this API to obtain a short-lived download token for an attachment. The token must be presented to the document-gateway to download the file content.

get/api/document/v4/attachments/token/{attachmentId}

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/document/v4/attachments/token/{attachmentId}
  • Auth
    OAuth 2
    Client credentials
    Token URL: https://{hostname}/api/access/v1/oauth/token scopes: ATTACHMENT, ATTACHMENT_READ

Path parameters

attachmentIdstring uuid required

ID of the attachment. This corresponds to the attachmentId returned by the V4 upload flow.

Response

Download token generated successfully

attachmentIdstring uuid
tokenstring

Changes

No recorded changes to this operation across all 1 revision of this API.