Skip to content

List faxes

GET
/v1/Accounts/{auth_id}/Faxes
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.

auth_id
required
string

Your account’s Auth ID (20 upper-case letters and digits).

Example

AC000000000000000000
page
integer
default: 1 >= 1

Page number, 1-based.

page_size
integer
default: 30 >= 1 <= 1000

Faxes per page.

to
string

Destination number contains this text.

Example

+15555550123
from
string

Sending number contains this text.

Example

+15555550100
status
string
Allowed values: queued delivered failed

Exact status.

direction
string

Exact direction (faxes sent through the API are outbound).

Example

outbound
title
string

Title contains this text (case-insensitive).

docname
string

Faxed document’s name contains this text (case-insensitive).

sid
string

Exact fax sid.

Example

FX0123456789ABCDEF0123456789ABCDEF
from_date
string format: date

Start date, YYYY-MM-DD. Checked against to_date only; not applied as a filter.

to_date
string format: date

End date, YYYY-MM-DD. Checked against from_date only; not applied as a filter.

One page of faxes.

Media type application/json
object
faxes

Faxes on this page, newest first; null when nothing matches.

Array<object>
object
account_sid

Auth ID of the account that sent the fax.

string
api_version

Not filled in.

string
callsid

Sid of the latest call that transmitted the fax; empty until the first attempt starts.

string
date_created

When the fax was created (RFC 3339).

string
date_deleted

When the fax was deleted; always null in list results (deleted faxes are not listed).

string
date_updated

When the fax record last changed (RFC 3339).

string
deliver_time

Not filled in (the zero time).

string
direction

Always “outbound” for faxes sent through the API.

string
Allowed values: inbound outbound local
duration

Not filled in (0).

integer
email

Email address given when sending; stored only.

string
from

Sending number (the fax identity), as given when sending.

string
links

Not filled in (null).

object
max_retry

Maximum number of retries after a failed attempt (default 5).

integer
max_retry_count

Number of retries made so far.

integer
media_name

Document name (docname) of the media item that is faxed.

string
media_sid

Id of the media item (document) that is faxed.

string
media_url
required

Storage URL of the original document. It is not directly downloadable; use Get a media item for a signed link.

string
notes

Reason for the last failure, when known.

string
num_pages

Number of pages; not filled in for outbound faxes (0).

integer
price

Not filled in (0). The transmission call is billed as an outbound call.

number
price_unit

Not filled in.

string
quality

Quality label stored with the fax (default “standard”). It does not change the transmitted resolution.

string
Allowed values: standard fine superfine
queue_time

When the fax was queued (RFC 3339).

string
sent_time

When the fax was submitted (RFC 3339); set at creation time.

string
sid

Unique fax identifier: “FX” followed by 32 upper-case hexadecimal characters.

string
>= 34 characters <= 34 characters
status

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.

string
Allowed values: queued processing sending delivered received no-answer busy failed
status_callback

URL that receives a POST with the fax record (JSON) when the fax is delivered or finally fails.

string
status_callback_method

HTTP method given with status_callback.

string
store_media

Always true.

boolean
tif_url

Storage URL of the TIFF rendering that is transmitted. Not directly downloadable.

string
title

Free-text title given when the fax was sent.

string
to
required

Destination fax number, as given when sending (E.164 recommended).

string
ttl

Always 3600.

integer
url

Not filled in.

string
meta

Paging details.

object
first_page_url

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.

string
key

Always “fax”.

string
next_page_url

Link to the next page (always present, even on the last page).

string
page

Page number as requested (1-based).

integer
page_size

Page size as requested (at most 1000 rows are returned).

integer
previous_page_url

Link to the previous page (page 0 on the first page).

string
tottal_count

Total number of matching faxes (the field name is spelled “tottal_count”).

integer
uri

Link to this page.

string

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.

Media type application/json
object
message

Human-readable reason.

string
status

Always “failed”.

string

Example

{
"message": "fax not found",
"status": "failed"
}

Missing or wrong credentials, or credentials that may not act for {auth_id}. Body: ‘Authentication failed’.

Media type application/json
string

Example generated

example

From_date is after to_date (or given without to_date). A storage error is also 404, with a FailureResponse body.

Media type application/json
object
error

Human-readable reason.

string

Example

{
"error": "To date should after the from date. Please validate from & to date"
}

Unexpected server error.

Media type application/json
object
message

Human-readable reason.

string

Example

{
"message": "Request Entity Too Large"
}