# Download Support Ticket Attachment

`GET https://api.suger.cloud/org/{orgId}/support/ticket/{ticketId}/attachment/{attachmentId}`

Authenticated download of a support-ticket attachment (GitHub-Issues backend). Verifies the caller owns the org and the object lives under the org's key prefix, then redirects to a short-lived signed URL.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `orgId` | path | string | yes | Organization ID |
| `ticketId` | path | string | yes | Ticket ID |
| `attachmentId` | path | string | yes | Attachment ID |

## Responses

### 302 — Redirect to a short-lived download URL

Content-Type: `application/octet-stream`

### 404 — Not found

Content-Type: `application/octet-stream`

### 500 — Internal server error

Content-Type: `application/octet-stream`

## Example

_Generated from this operation's schema. Values are placeholders — substitute your own ids, and set `SUGER_TOKEN` to a bearer token from the [OAuth client-credentials exchange](https://doc.suger.io/get-started/oauth-app/)._

### Request

```bash
curl -X GET 'https://api.suger.cloud/org/{orgId}/support/ticket/{ticketId}/attachment/{attachmentId}' \
  -H 'Authorization: Bearer $SUGER_TOKEN'
```

### Error — 404

```json
"string"
```

---

Interactive API reference: https://doc.suger.io/api/
