# Message template attachments

Section: Team settings. Part of the [API reference](https://developer.yoprint.com/reference.md). Web page: https://developer.yoprint.com/reference/message-template-attachments/

This page and all 6 operation pages, in one file: https://developer.yoprint.com/llms/message-template-attachments.txt

The files a message template attaches when it is sent: document PDFs, job sheets, invoices or an uploaded file.

## Operations (6)

- [Add an attachment to a template](https://developer.yoprint.com/reference/message-template-attachments/v2-message-template-internal-attachment-store.md): `POST /v2/api/store/{team_slug}/setting/message_template/{hash_id}/internal_attachment`. Adds an attachment to a message template.
- [List a template's attachments](https://developer.yoprint.com/reference/message-template-attachments/v2-message-template-internal-attachment-index.md): `GET /v2/api/store/{team_slug}/setting/message_template/{hash_id}/internal_attachment`. Returns the attachments a message template adds when it is sent.
- [Get a template attachment](https://developer.yoprint.com/reference/message-template-attachments/v2-message-template-internal-attachment-show.md): `GET /v2/api/store/{team_slug}/setting/message_template/{hash_id}/internal_attachment/{id}`. Returns one attachment of a message template.
- [Update a template attachment](https://developer.yoprint.com/reference/message-template-attachments/v2-message-template-internal-attachment-update-put.md): `PUT /v2/api/store/{team_slug}/setting/message_template/{hash_id}/internal_attachment/{id}`. Changes an attachment's `name`, `detail` or `options`.
- [Change a template attachment with PATCH](https://developer.yoprint.com/reference/message-template-attachments/v2-message-template-internal-attachment-update-patch.md): `PATCH /v2/api/store/{team_slug}/setting/message_template/{hash_id}/internal_attachment/{id}`. Use PUT to change a template attachment.
- [Remove a template attachment](https://developer.yoprint.com/reference/message-template-attachments/v2-message-template-internal-attachment-destroy.md): `DELETE /v2/api/store/{team_slug}/setting/message_template/{hash_id}/internal_attachment/{id}`. Removes an attachment from a message template; later messages from it are sent without it.
