sam_attachment_url
Creates a public download URL for an attachment using its resource ID, returning a 303 redirect to a signed S3 URL for file retrieval.
Instructions
Build the public download URL for an attachment resourceId. The URL returns a 303 redirect to a signed S3 URL — fetch with redirect:'follow' to get the file bytes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resourceId | Yes | Resource id from sam_get_opportunity → resourceLinks (URL-tail hex) |