List received faxes
const url = 'https://api.siprtc.io/v1/Accounts/AC000000000000000000/Faxes/recive?page=1&page_size=30&to=%2B15555550100&from=%2B15555550123&status=delivered';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/recive?page=1&page_size=30&to=%2B15555550100&from=%2B15555550123&status=delivered' \ --header 'Authorization: Basic <credentials>'Lists the faxes received on your account’s numbers, newest first. to and from match case-insensitive substrings; status matches exactly (ALL means no filter). Paging works as in List faxes (page default 1, page_size default 30, at most 1000).
Note the field names of each received fax are capitalised (CallSid, From, To, Status, …). Use CallSid with Get a received fax document to download it. from_date/to_date are only checked against each other (404 if from_date is later, or given alone); they do not filter.
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.
Receiving number contains this text.
Example
+15555550100Sender’s number contains this text.
Example
+15555550123Exact status; ALL for any.
Start 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 received faxes.
object
Received faxes on this page, newest first; null when nothing matches.
object
Auth ID of the account that owns the receiving number.
Sid of the inbound call that carried the fax; use it with Get a received fax document.
When the record was created (RFC 3339).
When the record last changed (RFC 3339).
Direction of the call that carried the fax (“inbound”).
Total pages announced by the sender, as text.
Pages actually received, as text.
When the fax call ended (RFC 3339; the media server’s clock, no zone offset applied).
Number of the sender.
Location of the received TIFF as recorded by the media server (only its file name is meaningful). Not downloadable; use Get a received fax document.
“delivered” when the fax was received successfully, “failed” otherwise.
Number the fax was sent to (your number).
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": [ { "AccountSid": "AC000000000000000000", "CallSid": "CA0123456789abcdef0123456789abcdef", "DateCreated": "2026-11-20T10:15:00Z", "DateUpdated": "2026-11-20T10:15:05Z", "Direction": "inbound", "FaxDocumentTotalPages": "2", "FaxDocumentTransferredPages": "2", "FaxReciveDate": "2026-11-20T10:15:00Z", "From": "+15555550123", "MediaUrl": "/var/spool/fax/CA0123456789abcdef0123456789abcdef.tif", "Status": "delivered", "To": "+15555550100" } ], "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"}