> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SupportAttachmentUpload

> A place to PUT one file for a help desk reply, note or macro, so its bytes never pass through the API request.

**Required scopes:** [`support_macros_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_macros_write), [`support_messages_send`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-support_messages_send)

**expiresAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When `url` stops accepting the file.

**uploadId** `String!` *required*

Once the file is uploaded, pass it in a reply's or note's `attachments`, to supportMacroAttachmentAdd, or in a macro body's `inlineImages`. Each upload can be used once.

**url** `String!` *required*

Where to PUT the file's raw bytes, e.g. `curl --fail -X PUT --upload-file ./receipt.pdf "<url>"`.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.