---
title: "Upload an attachment"
method: POST
path: "/v1/attachments"
---

# Upload an attachment

`POST /v1/attachments`

Upload a file attachment that can be used in Devin sessions. Returns the URL of the uploaded attachment as a string.

## Response `200`

Successful Response

- string

## Other responses

- `422` — Validation Error

---

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