Download a ticket attachment
GET
Ownership is checked before file access. Attachments on internal staff notes are never exposed, including for administrator-owned personal tokens. Attachment errors may be plain text.
apiToken tickets:readheader
AuthorizationBearer <token>A personal API token: Authorization: Bearer dh_live_…. See Authentication for scopes.
Scope: tickets:read
id*numberattId*numberCompleted
response?fileapplication/octet-streamFormat
binarycurl -X GET 'https://api.deluxhost.net/v1/tickets/0/attachments/0' \ -H "Authorization: Bearer $DELUXHOST_TOKEN"Example Response
"string"Upload a ticket attachment POST
Ownership is checked before file access. Send raw file bytes with their actual Content-Type. File size limit 10 MiB, subject to per-ticket and per-account quotas and file validation. messageId must be a public message written by this customer. Without it a customer message is created. Administrative tokens retain customer visibility.
List tickets GET