563848e0ecc0
Get a presigned URL to download an outreach attachment
Returns a time-limited presigned Google Cloud Storage URL for downloading a single email attachment; it does not stream the file bytes directly. Call it after retrieving a facility outreach's detail via GET /facility-credentialing-outreaches/{outreachId}/details - the attachmentId to supply is found in that response's emails[].attachments[].id (or emails[].replies[].attachments[].id for reply attachments). tenant-id scopes the lookup; attachmentId must belong to an outreach visible to that tenant. The returned URL is valid for 1 hour from generation.
Path parameters
Attachment ID, found in the outreach detail response's emails[].attachments[].id (or emails[].replies[].attachments[].id).
Headers
Tenant ID used to scope the attachment lookup to the caller's organization.
Response
The presigned download URL and its metadata: url (the presigned GCS URL), expiresIn (validity in hours, currently always 1), expiresAt (Unix millisecond expiry timestamp), and fileName (the original attachment file name).