Skip to content

List faxes

GET
/faxes
import MoreVoice from "@morevoice/sdk";
const mv = new MoreVoice(); // MOREVOICE_API_KEY from the environment
for await (const fax of mv.faxes.list()) {
console.log(fax);
}

Faxes received on and sent from your numbers, newest first. Filter by direction, status, your number (phone_number_id), any number (number) and creation time. Needs a live key.

Try it in the API playground with a test-mode key.

limit
integer
default: 20 >= 1 <= 100

How many objects to return, 1–100 (default 20).

starting_after
string
>= 1 characters <= 512 characters

A cursor (next_cursor) or object ID: return the objects after it (older).

ending_before
string
>= 1 characters <= 512 characters

A cursor or object ID: return the objects before it (newer).

direction
string
Allowed values: inbound outbound

Only received (inbound) or sent (outbound) faxes.

status
string
Allowed values: queued sending receiving received delivered failed cancelled

Only faxes in this status.

phone_number_id
string
<= 200 characters /^pn_[0-9A-Za-z]+$/

Only faxes received on, or sent from, this number of yours.

number
string
>= 3 characters <= 40 characters

Only faxes to or from this number (any common form): yours or the other party’s.

created

Filter on the creation time: created[gte], created[gt], created[lte], created[lt] (ISO-8601).

object
gt
string format: date-time
gte
string format: date-time
lt
string format: date-time
lte
string format: date-time
MoreVoice-Version
string
/^\d{4}-\d{2}-\d{2}$/

The API version to use for this request. Defaults to the version the API key is pinned to.

Example
2026-11-01

OK

Media typeapplication/json

A page of faxes, newest first.

object
data
required
Array<object>

A fax received on, or sent from, one of your numbers.

object
attempts
required

Sent faxes: tries made so far.

integer
>= -9007199254740991 <= 9007199254740991
call_id
required
Any of:

A call ID (prefix call_).

string
/^call_[0-9A-Za-z]+$/
completed_at
required
Any of:

An ISO-8601 timestamp in UTC.

string format: date-time
created
required

An ISO-8601 timestamp in UTC.

string format: date-time
direction
required

inbound: received on one of your fax numbers. outbound: sent from one.

string
Allowed values: inbound outbound
error_code
required
Any of:
string
Allowed values: busy no_answer rejected not_a_fax line_failed transmission no_line converter_unavailable flag_off cancelled timeout number_gone
file_name
required

Sent faxes: the uploaded file’s name.

string
has_document
required

The PDF can be downloaded (GET /v1/faxes/{id}/document).

boolean
id
required

A fax ID (prefix fax_).

string
/^fax_[0-9A-Za-z]+$/
livemode
required

true in live mode, false in test mode.

boolean
local_number
required

Your number (E.164) at the time of the fax.

string
max_attempts
required

Sent faxes: the most tries it gets.

integer
>= -9007199254740991 <= 9007199254740991
next_attempt_at
required
Any of:

An ISO-8601 timestamp in UTC.

string format: date-time
object
required
string
Allowed value: fax
pages
required

Pages received, or pages of the document sent.

integer
>= -9007199254740991 <= 9007199254740991
phone_number_id
required
Any of:

A phone number ID (prefix pn_).

string
/^pn_[0-9A-Za-z]+$/
remote_number
required

The other party: the sender of a received fax, the destination of a sent one.

string
remote_station_id
required

The station id (TSI / CSID) the far fax machine announced.

string | null
size_bytes
required

Size of the PDF in bytes.

integer
>= -9007199254740991 <= 9007199254740991
status
required

Received faxes: receiving → received | failed. Sent faxes: queued → sending → delivered | failed (a busy or dropped line is tried again, up to max_attempts); queued → cancelled.

string
Allowed values: queued sending receiving received delivered failed cancelled
has_more
required

Whether more objects follow in the requested direction.

boolean
next_cursor
required

Pass as starting_after (or ending_before, when paging backwards) to continue; null on the last page.

string | null
object
required
string
Allowed value: list
url
required

The list’s path.

string
Example
{
"data": [
{
"attempts": 1,
"call_id": null,
"completed_at": "2026-11-06T09:16:05.000Z",
"created": "2026-11-06T09:14:22.000Z",
"direction": "outbound",
"error_code": null,
"file_name": "referral.pdf",
"has_document": true,
"id": "fax_5kQp2mZr8YtVx1Lb3",
"livemode": true,
"local_number": "+97235550100",
"max_attempts": 3,
"next_attempt_at": null,
"object": "fax",
"pages": 3,
"phone_number_id": "pn_7H2kLm9QxR4tYb",
"remote_number": "+97235550199",
"remote_station_id": "ACME CLINIC",
"size_bytes": 184320,
"status": "delivered"
}
],
"has_more": false,
"next_cursor": null,
"object": "list",
"url": "/v1/faxes"
}

The request is invalid: a parameter is missing, malformed or unknown, or the version header is unknown.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "parameter_missing",
"doc_url": "https://docs.morevoice.ai/api/errors#parameter-missing",
"message": "Missing required parameter: to.",
"param": "to",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "invalid_request_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

No valid API key was sent.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "invalid_api_key",
"doc_url": "https://docs.morevoice.ai/api/errors#invalid-api-key",
"message": "Invalid API key.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "authentication_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

The key may not do this (a missing scope, a plan limit, or a compliance block).

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "missing_scope",
"doc_url": "https://docs.morevoice.ai/api/errors#missing-scope",
"message": "This API key lacks the calls:write scope.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "permission_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

No object with this ID (in the path or the body) exists in this organisation and mode.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "resource_missing",
"doc_url": "https://docs.morevoice.ai/api/errors#resource-missing",
"message": "No such object: 'call_4Gk2'.",
"param": "id",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "not_found"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

Too many requests, or no call capacity right now. Retry after the Retry-After delay.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "rate_limited",
"doc_url": "https://docs.morevoice.ai/api/errors#rate-limited",
"message": "Too many requests. Retry after 1 second.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "rate_limit_error"
}
}
Retry-After
integer

Seconds to wait before retrying.

X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.

Something went wrong on MoreVoice’s side. Retry with the same Idempotency-Key.

Media typeapplication/json

Every /v1 error.

object
error
required
object
code
required

A stable, machine-readable code from the error-code catalogue.

string
details

Structured context, e.g. required_scope or the compliance verdict.

object
key
additional properties
doc_url
required

A link to the documentation of this code.

string
message
required

A human-readable explanation. Do not parse it.

string
param

The request parameter the error relates to, e.g. to or metadata[order_id].

string
request_id
required

The X-Request-Id of this request. Quote it when you contact support.

string
type
required

The category of the error.

string
Allowed values: invalid_request_error authentication_error permission_error not_found conflict rate_limit_error compliance_error idempotency_error api_error
Example
{
"error": {
"code": "internal_error",
"doc_url": "https://docs.morevoice.ai/api/errors#internal-error",
"message": "Something went wrong on MoreVoice's side.",
"request_id": "req_7Hk2LmN9pQ4rS6tV8wX0yZ",
"type": "api_error"
}
}
X-Request-Id
string

The request’s ID (req_…). Quote it when you contact support.