Skip to main content

Get a presigned URL to download an outreach attachment

GET 

/facility-credentialing-outreaches/attachments/:attachmentId/download

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.

Request​

Responses​

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).