Download a file on your ticket
curl --request GET \
--url https://my.server.express/api/v1/client/tickets/{id}/attachments/{attachmentId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/client/tickets/{id}/attachments/{attachmentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/client/tickets/{id}/attachments/{attachmentId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}Tickets
Download a file on your ticket
Streams the file. Images and PDFs are served inline with their real content type; everything else as
application/octet-stream with an attachment disposition. Always sent with X-Content-Type-Options: nosniff.
410 when the record exists but the stored file is gone.
GET
/
v1
/
client
/
tickets
/
{id}
/
attachments
/
{attachmentId}
Download a file on your ticket
curl --request GET \
--url https://my.server.express/api/v1/client/tickets/{id}/attachments/{attachmentId} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://my.server.express/api/v1/client/tickets/{id}/attachments/{attachmentId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://my.server.express/api/v1/client/tickets/{id}/attachments/{attachmentId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "<string>"
}