---
title: "Attach a screenshot"
method: POST
path: "/support/tickets/{ticketId}/attachments"
tags: ["Support"]
---

# Attach a screenshot

`POST /support/tickets/{ticketId}/attachments`

## Request

- Base URL: `https://api.percher.run`
- URL: `https://api.percher.run/support/tickets/{ticketId}/attachments`
- Auth: HTTP bearer

Raw image body (PNG/JPEG/WebP, max 5 MiB, max 3 per case). Metadata (EXIF/XMP/IPTC/comments) is stripped structurally before storage. Re-uploading identical bytes is idempotent.

## Path parameters

- `ticketId` string, required

## Query parameters

- `filename` string

## Response `201`

Attachment stored

## Other responses

- `400`: Type/limit/malformed-image rejection
- `413`: Over 5 MiB

---

[API](https://skmtc.dev/percher/apis/percher-api.md) · [All operations](https://skmtc.dev/percher/apis/percher-api/llms.txt) · [OpenAPI document](https://skmtc.dev/percher/apis/percher-api/revisions/d9e7089c21e5?raw)
