New Introducing the Light partner portalPartner portal Join the movement

Get attachment document

GET
https://api.light.inc/v1/attachments/{attachmentId}/document

Redirects to a temporary download link for the attachment's file, archived attachments included. The link is valid for 2 hours and can be opened by anyone who holds it, so don't store it: the attachment id is the permanent reference, and a new link can be requested with it at any time. Files are kept indefinitely.

Authorization

Send one of these on every request. See Authentication for how to get credentials.

  • API key

    Basic authentication header of the form Basic <api_key>, where <api_key> is your api key.

  • Bearer token

Path parameters

  • attachmentId string · uuidrequired

Response

application/json;charset=UTF-8This endpoint returns no content.