curl --request GET \
--url http://localhost:3333/v1/attachments/{attachmentId}/download \
--header 'X-API-Key: <api-key>'{
"downloadUrl": "https://bucket.s3.amazonaws.com/path/to/file.pdf?signature=...",
"expiresIn": 900
}Generate a fresh signed URL for downloading any attachment
curl --request GET \
--url http://localhost:3333/v1/attachments/{attachmentId}/download \
--header 'X-API-Key: <api-key>'{
"downloadUrl": "https://bucket.s3.amazonaws.com/path/to/file.pdf?signature=...",
"expiresIn": 900
}API key for authentication
Organization ID (required for session auth, optional for API key auth)
Unique attachment identifier
"att_abc123def456"
Was this page helpful?