Get fax content file or thumbnail
Method
Path
faxes/ID/file
where ID is the ID number of the fax
Request Parameters
| Name | Type | Description |
|---|---|---|
| thumbnail | enum | Either 's' (small) or 'l' (large).
If specified, a thumbnail of the requested size will be returned. See below. |
Response
A file for the fax you requested, if one exists (i.e. you didn’t disable file storage with Phaxio).
By default, returns a PDF of the fax image. But if thumbnail is specified,
a JPG-formatted thumbnail will be returned. Small (‘thumbnail=s’) thumbnails
are 129 x 167 px, and the large (‘thumbnail=l’) thumbnails are 300 x 388 px.
Sample Call
curl -u 'API_KEY:API_SECRET' https://api.phaxio.com/v2/faxes/1234/fileSample Response
A PDF file named ‘fax-1234.pdf’ containing all files sent for fax #1234.