Skip to main content
GET
Get PDF
Downloads a PDF. The response body is the raw file, not a JSON object. This is useful for viewing the original scanned mail that a check arrived with — for example, to see the EOB or correspondence that accompanied a payment.

Path parameters

string
required
The ID of the file, prefixed with file_. You can find file IDs in responses from the List entity mail endpoint.

Response

Returns the file as application/pdf, streamed inline with a Content-Disposition: inline header. The response is cacheable for 5 minutes (Cache-Control: private, max-age=300).