---
title: "Upload files for Devin"
method: POST
path: "/v1/attachments"
tags: ["Attachments"]
---

# Upload files for Devin

`POST /v1/attachments`

Upload files via multipart/form-data. This endpoint returns a URL
that can be referenced in session prompts or other requests.

## Response `200`

File successfully uploaded

## Other responses

- `400` — Bad Request
- `401` — Unauthorized - Invalid or missing API key
- `500` — Internal Server Error

---

[API](https://skmtc.dev/devin/apis/devin-external-api.md) · [All operations](https://skmtc.dev/devin/apis/devin-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/devin/devin-external-api/revisions/bb0fabac5cbe/schema)
