v2

latestOpenAPI 3.1.02026-07-2664759910.6 KB
external
external-v2

Get Note Attachment Download Url

Generate a temporary signed download URL for a note attachment. Use this when note content references an attachment, but the underlying file URL is not directly downloadable. The caller must be able to access the requested attachment.

get/v2/note-attachments/{attachment_id}/download-url

Path parameters

attachment_idstring uuid required

UUID of the note attachment to download. The caller must be able to access this attachment.

UUID of the note attachment to download. The caller must be able to access this attachment.

Response

OK

download_urlstring required

A signed URL that can be used to download the attachment.

idstring uuid required

UUID of the requested note attachment.

request_idstring required

Identifier for this API request. Useful for tracing and support.

Example response

{
  "download_url": "https://storage.googleapis.com/mem-private-uploads/files/doc.pdf?X-Goog-Algorithm=GOOG4-RSA-SHA256&X-Goog-Signature=...",
  "id": "5e29c8a2-c73b-476b-9311-e2579712d4b1",
  "request_id": "api-request-036ed6c7-de00-459f-a89b-43d26aafe522"
}