Download attachment public URL
GET
/api/v1/attachments/{attachmentId}/download
const url = 'https://localhost:10001/api/v1/attachments/1/download';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://localhost:10001/api/v1/attachments/1/download \ --header 'Authorization: <Authorization>'Permanent endpoint that redirects to a freshly generated short-lived signed URL
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” attachmentId
required
integer
Attachment ID
Responses
Section titled “ Responses ”Redirect to short-lived signed URL
Bad request - Invalid attachment ID
object
key
additional properties
string
Internal server error
object
key
additional properties
string