---
title: "Create an attachment"
method: POST
path: "/attachments"
tags: ["attachments"]
---

# Create an attachment

`POST /attachments`

Uploads a file as an attachment. The returned URL can be used when creating issues or messages.

**Rate limit:** 10 requests per minute

## Response `200`

- CreateAttachmentResponseBody
  - `data` Attachment
    - `description` string — The description of the attachment.
    - `id` string — The ID of the attachment.
    - `name` string — The name of the attachment.
    - `url` string — The URL of the attachment.
  - `request_id` string — The request ID for tracking.

## Other responses

- `400` — The request was invalid or could not be completed.
- `500` — An unexpected internal error occurred.

---

[API](https://skmtc.net/usepylon/apis/pylon-api.md) · [All operations](https://skmtc.net/usepylon/apis/pylon-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/usepylon/pylon-api/versions/999c51740b4e/schema)
