# Download a Support-Ticket File

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

Downloads a GitHub Release file referenced by the ticket. Requires ticket read permission.

## 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

### 200 — Attachment bytes

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.fours.com/settings/oauth-app/)._

### Request

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

### Response — 200

No response body.

---

API reference: https://doc.fours.com/api/
