# NoteAttachmentUploadTicket

object type

The upload ticket: a short-TTL presigned PUT against the write-once blob key, PRE-TAGGED pending (the 7-day lifecycle reaps never-attached orphans). Bind the attachmentId via addNote before the TTL's practical window closes.

## Fields

| Field | Type | Notes |
| --- | --- | --- |
| `attachmentId` | [ID](/types/#scalars) `ID!` | The minted attachment id — pass to addNote.attachmentIds to bind. |
| `key` | [String](/types/#scalars) `String!` | The full blob key the ticket writes (notes\[-scanned]/<rootId>/…). |
| `uploadUrl` | [String](/types/#scalars) `String!` | The presigned PUT URL (short-TTL). |
| `requiredHeaders` | [NoteAttachmentUploadHeader](/types/NoteAttachmentUploadHeader/) `[NoteAttachmentUploadHeader!]!` | The headers the PUT must carry VERBATIM (signed conditions — checksum + tagging). |
| `expiresAt` | [String](/types/#scalars) `String!` | When the ticket expires (ISO-8601). |

## Used by

- [mintNoteAttachmentUpload](/reference/work-and-notes/mintNoteAttachmentUpload/)
