---
title: "Upload a file attachment for use in a message"
method: POST
path: "/v0/messages/attachments"
tags: ["Messages", "Messages"]
---

# Upload a file attachment for use in a message

`POST /v0/messages/attachments`

Upload a file to be attached to a subsequent POST /messages call. Returns attachment metadata including the gs_url to reference in the message attachments array.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/unify/apis/unifyai-http-api-reference.md) · [All operations](https://skmtc.net/unify/apis/unifyai-http-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unify/unifyai-http-api-reference/revisions/900377f918b6/schema)
