Attachments V4

Download Document

Use this API to download a document or attachment.

🗒 Things to Know

  • A download token from the Attachments V4 Get Download Token API (GET /api/document/v4/attachments/token/{attachmentId}) response must be provided in the Authorization header as a Bearer token.
get/api/document-gateway/{id}

Request

  • Base URL
    https://hostname
  • URL
    https://hostname/api/document-gateway/{id}
  • Auth
    none declared. Required headers: Authorization

Path parameters

idstring uuid required
Example:550e8400-e29b-41d4-a716-446655440000

Document ID that must match the document ID in the JWT token

Headers

Authorizationstring required
Example:Bearer eyJhbGciOiJkaXIiLCJlbmMiOiJBMjU2R0NNIn0...

Bearer token obtained from Attachments V4 Get Download Token API (GET /api/document/v4/attachments/token/{attachmentId})

Response

Document downloaded successfully

Changes

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