List faxes
const url = 'https://api.siprtc.io/v1/Accounts/AC000000000000000000/Faxes?page=1&page_size=30&to=%2B15555550123&from=%2B15555550100&status=queued&direction=outbound&sid=FX0123456789ABCDEF0123456789ABCDEF';const options = {method: 'GET', headers: {Authorization: 'Basic <credentials>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.siprtc.io/v1/Accounts/AC000000000000000000/Faxes?page=1&page_size=30&to=%2B15555550123&from=%2B15555550100&status=queued&direction=outbound&sid=FX0123456789ABCDEF0123456789ABCDEF' \ --header 'Authorization: Basic <credentials>'Lists the faxes your account sent, newest first, excluding deleted ones. to, from, title and docname match case-insensitive substrings; status, direction and sid match exactly; the value ANY or ALL (or leaving a filter out) means no filter.
Paging: page starts at 1 (default 1) and page_size defaults to 30, at most 1000 rows are returned. from_date and to_date (YYYY-MM-DD) are only checked against each other, they do not filter the list: if from_date is later than to_date, or from_date is given without to_date, the answer is 404.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Your account’s Auth ID (20 upper-case letters and digits).
Example
AC000000000000000000Query Parameters
Section titled “ Query Parameters ”Page number, 1-based.
Faxes per page.
Destination number contains this text.
Example
+15555550123Sending number contains this text.
Example
+15555550100Exact status.
Exact direction (faxes sent through the API are outbound).
Example
outboundTitle contains this text (case-insensitive).
Faxed document’s name contains this text (case-insensitive).
Exact fax sid.
Example
FX0123456789ABCDEF0123456789ABCDEFStart date, YYYY-MM-DD. Checked against to_date only; not applied as a filter.
End date, YYYY-MM-DD. Checked against from_date only; not applied as a filter.
Responses
Section titled “ Responses ”One page of faxes.
object
Faxes on this page, newest first; null when nothing matches.
object
Auth ID of the account that sent the fax.
Not filled in.
Sid of the latest call that transmitted the fax; empty until the first attempt starts.
When the fax was created (RFC 3339).
When the fax was deleted; always null in list results (deleted faxes are not listed).
When the fax record last changed (RFC 3339).
Not filled in (the zero time).
Always “outbound” for faxes sent through the API.
Not filled in (0).
Email address given when sending; stored only.
Sending number (the fax identity), as given when sending.
Not filled in (null).
object
Maximum number of retries after a failed attempt (default 5).
Number of retries made so far.
Document name (docname) of the media item that is faxed.
Id of the media item (document) that is faxed.
Storage URL of the original document. It is not directly downloadable; use Get a media item for a signed link.
Reason for the last failure, when known.
Number of pages; not filled in for outbound faxes (0).
Not filled in (0). The transmission call is billed as an outbound call.
Not filled in.
Quality label stored with the fax (default “standard”). It does not change the transmitted resolution.
When the fax was queued (RFC 3339).
When the fax was submitted (RFC 3339); set at creation time.
Unique fax identifier: “FX” followed by 32 upper-case hexadecimal characters.
Fax status: “queued” from acceptance until the outcome is known (including between retries), “delivered” once a transmission succeeds (or the fax was handed to a fax-to-email inbox), “failed” after the last attempt failed.
URL that receives a POST with the fax record (JSON) when the fax is delivered or finally fails.
HTTP method given with status_callback.
Always true.
Storage URL of the TIFF rendering that is transmitted. Not directly downloadable.
Free-text title given when the fax was sent.
Destination fax number, as given when sending (E.164 recommended).
Always 3600.
Not filled in.
Paging details.
object
Link to the first page. The page links are informational only: they use http, the request’s host and the path /v1/Accounts/{auth_id}/faxs, which is not a route.
Always “fax”.
Link to the next page (always present, even on the last page).
Page number as requested (1-based).
Page size as requested (at most 1000 rows are returned).
Link to the previous page (page 0 on the first page).
Total number of matching faxes (the field name is spelled “tottal_count”).
Link to this page.
Example
{ "faxes": [ { "account_sid": "AC000000000000000000", "api_version": "", "callsid": "CA0123456789abcdef0123456789abcdef", "date_created": "2026-11-20T10:15:00Z", "date_updated": "2026-11-20T10:16:30Z", "deliver_time": "0001-01-01T00:00:00Z", "direction": "inbound", "duration": 0, "email": "billing@example.com", "from": "+15555550100", "max_retry": 5, "max_retry_count": 0, "media_name": "contract-2026-11", "media_sid": "1042", "media_url": "https://media-bucket.s3.us-east-1.amazonaws.com/AC000000000000000000/11-2026/contract.pdf", "notes": "", "num_pages": 0, "price": 0, "price_unit": "", "quality": "standard", "queue_time": "2026-11-20T10:15:00Z", "sent_time": "2026-11-20T10:15:00Z", "sid": "FX0123456789ABCDEF0123456789ABCDEF", "status": "queued", "status_callback": "https://example.com/fax/status", "status_callback_method": "POST", "store_media": true, "tif_url": "https://media-bucket.s3.us-east-1.amazonaws.com/AC000000000000000000/11-2026/contract.tiff", "title": "Signed contract", "to": "+15555550123", "ttl": 3600, "url": "" } ], "meta": { "first_page_url": "http://api.siprtc.io/v1/Accounts/AC000000000000000000/faxs?page=1&page_size=30", "key": "fax", "next_page_url": "http://api.siprtc.io/v1/Accounts/AC000000000000000000/faxs?page=2&page_size=30", "page": 1, "page_size": 30, "previous_page_url": "http://api.siprtc.io/v1/Accounts/AC000000000000000000/faxs?page=0&page_size=30", "tottal_count": 42, "uri": "http://api.siprtc.io/v1/Accounts/AC000000000000000000/faxs?page=1&page_size=30" }}Query could not be bound.
object
Human-readable reason.
Always “failed”.
Example
{ "message": "fax not found", "status": "failed"}Missing or wrong credentials, or credentials that may not act for {auth_id}. Body: ‘Authentication failed’.
Example generated
exampleFrom_date is after to_date (or given without to_date). A storage error is also 404, with a FailureResponse body.
object
Human-readable reason.
Example
{ "error": "To date should after the from date. Please validate from & to date"}Unexpected server error.
object
Human-readable reason.
Example
{ "message": "Request Entity Too Large"}