support
GET /v1/tickets/{ticketId}/attachments/{attachmentId}
Download a ticket attachment.
Kimlik Doğrulama
Bearer token olarak bir API anahtarı gönderin. Anahtar tickets.view iznine sahip olmalıdır; bu izne sahip olmayan bir anahtar 404 ile değil, 403 ile reddedilir.
Bu uç nokta hiçbir organizasyon kimliği almaz. Anahtarınız zaten ait olduğu organizasyonu tanımlar ve yanıt bu organizasyonla sınırlandırılır.
Dene
Köşeli parantez içindeki her şeyi kendi değerlerinizle ve anahtar yer tutucusunu panonuzdan bir anahtarla değiştirin.
curl -X GET https://api.zinndigital.com/v1/tickets/{ticketId}/attachments/{attachmentId} \
-H "Authorization: Bearer zdk_live_…"Oturum açtınız mı? Panonuzdaki API konsolu, gerçek organizasyon kimliğinizi ve kendi anahtarınızı otomatik olarak doldurur ve isteği canlı API üzerinde çalıştırarak gerçek yanıtı görmenizi sağlar. Bu uç noktayı API konsolunda açın
Ayrıntılar
The file's bytes, served `Content-Disposition: attachment` with `nosniff` and a sandboxing CSP so it cannot execute in the caller's origin. ⛔ Answers **422**, not 404, when the file exists but has not passed its malware scan — a customer whose upload is quarantined must not be told their file vanished. The error code distinguishes `pending` (wait) from `infected`/`error` (never served). Requires `tickets.view`.
Parametreler
| Ad | Tür | Zorunlu | Ne olduğu |
|---|---|---|---|
ticketId (path) | Uuid | Evet | The ticket's id. |
attachmentId (path) | Uuid | Evet | The attachment's id. |
Bu uç noktanın dönderebileceği hatalar
401 · 403 · 404 · 422 · 429