The Twilio Fax API enables you to list, retrieve, and delete fax records as well as their associated media files, with optional filtering by sender, recipient, and creation date.
From(query) — Retrieve only those faxes sent from this phone number, specified in [E.164](https://www.twilio.com/docs/glossary/what-e164) format.
To(query) — Retrieve only those faxes sent to this phone number, specified in [E.164](https://www.twilio.com/docs/glossary/what-e164) format.
DateCreatedOnOrBefore(query) — Retrieve only those faxes with a `date_created` that is before or equal to this value, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
DateCreatedAfter(query) — Retrieve only those faxes with a `date_created` that is later than this value, specified in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
GET
/v1/Faxes/{FaxSid}/Media
Retrieve a list of all fax media instances for the specified fax.
FaxSid(path, required) — The SID of the fax with the FaxMedia resources to read.
PageSize(query, limit) — How many resources to return in each list page. The default is 50, and the maximum is 1000.
DELETE
/v1/Faxes/{FaxSid}/Media/{Sid}
Delete a specific fax media instance.
FaxSid(path, required) — The SID of the fax with the FaxMedia resource to delete.
Sid(path, required) — The Twilio-provided string that uniquely identifies the FaxMedia resource to delete.
GET
/v1/Faxes/{FaxSid}/Media/{Sid}
Fetch a specific fax media instance.
FaxSid(path, required) — The SID of the fax with the FaxMedia resource to fetch.
Sid(path, required) — The Twilio-provided string that uniquely identifies the FaxMedia resource to fetch.
DELETE
/v1/Faxes/{Sid}
Delete a specific fax and its associated media.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Fax resource to delete.
GET
/v1/Faxes/{Sid}
Fetch a specific fax.
Sid(path, required) — The Twilio-provided string that uniquely identifies the Fax resource to fetch.
6 endpoints auto-detected
Authentication
This API uses Basic authentication (a username and password).