> For the complete documentation index, see [llms.txt](https://docs.alemba.com/asm-hermes/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.alemba.com/asm-hermes/integrate/apis/asm-api-quick-reference-guide/managing-attachments.md).

# Managing Attachments

## ASM API Quick Reference Guide <a href="#asmapiquickreferenceguide" id="asmapiquickreferenceguide"></a>

## Managing Attachments <a href="#managingattachments" id="managingattachments"></a>

1. **Getting a List of Attachments**:
   * **Method**: GET
   * **URL**: `{{SystemURLTest}}/alemba.api/api/v2/call/{{CallRef}}/attachment`
   * **Headers**: `Content-Type: application/json`, `Authorization: Bearer {{Login_Token}}`
2. **Downloading Attachments**:
   * **Method**: GET
   * **URL**: `{{SystemURLTest}}/alemba.api/api/v2/call/{{CallRef}}/attachment-download/<attachmentRef>`
   * **Headers**: `Authorization: Bearer {{Login_Token}}`
3. **Uploading Attachments**:
   * **Method**: POST
   * **URL**: `{{SystemURLTest}}/alemba.api/api/v2/call/{{CallRef}}/attachment`
   * **Headers**: `Content-Type: application/json`, `Authorization: Bearer {{Login_Token}}`
   * **Body**: JSON data with fields such as `Data`, `Description`, `DescriptionHtml`, `Title`, `entityRef`, `name`, and `visibleInPortal`.
