Contacts
Redirect to a signed download URL for a document
Returns an HTTP 302 redirect to a short-lived signed R2 URL with Content-Disposition: attachment, forcing browsers to download the file rather than render it inline.
Authorization
bearerAuth AuthorizationBearer <token>
In: header
Path Parameters
contactId*string
Query Parameters
key*string
R2 storage key of the document.
fileName?string
Filename to suggest to the browser.
Response Body
application/json
application/json
curl -X GET "https://example.com/api/contacts/string/documents/download?key=string"Empty