---
title: "Save attachment"
method: POST
path: "/api/dataentities/{acronym}/documents/{id}/{field}/attachments"
tags: ["Attachments"]
---

# Save attachment

`POST /api/dataentities/{acronym}/documents/{id}/{field}/attachments`

This API allows you to save a file in a field of type `File`.

When using in javascript, you must add the header `content-type` with value `multipart/form-data;`

You can upload more than one file. Just add a new field in the `form-data` with type `File`.

## Path parameters

- `acronym` string, required
- `id` string, required
- `field` string, required

## Response `200`

---

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