---
title: "POST /note_attachments"
method: POST
path: "/note_attachments"
tags: ["note_attachments"]
---

# POST /note_attachments

`POST /note_attachments`

Returns list of groups

## Request body

- PostNoteAttachments — Returns list of groups
  - `file` string, required — Base64 encoded file data
  - `filename` string, required — File name with extension
  - `note_id` integer — ID of a note to link the attachment to, after file was uploaded

## Response `201`

Returns list of groups

- NoteAttachmentEntity — NoteAttachmentEntity model
  - `id` integer
  - `name` string
  - `url` string

## Other responses

- `400` — validation_error
- `401` — authentication_error
- `403` — authorization_error
- `404` — not_found_error
- `422` — validation_error
- `500` — internal_server_error

---

[API](https://skmtc.net/propstack/apis/propstack-api-v2-beta.md) · [All operations](https://skmtc.net/propstack/apis/propstack-api-v2-beta/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/propstack/propstack-api-v2-beta/revisions/ae1e0fe6da1a/schema)
