API reference
The FaxDash REST API
https://api.faxdash.io
OpenAPI spec (openapi.json)Import it into Postman, Swagger UI or a client generator.
The FaxDash REST API sends faxes and reads your fax history, inbox, contacts, credits, numbers and audit log, and manages your webhook endpoints. It is the same API the FaxDash app and dashboard use.
API keys work on the Business plan. Create one in the dashboard under Settings → Integrations → API Keys and send it in the X-API-Key header (or as Authorization: Bearer fxk_…). Each key has permissions; every operation below names the one it needs.
Successful responses are JSON wrapped in { "data": … }. Errors are { "error": "<message>" }, often with a code and further fields.
Business includes 10,000 API-key requests a month, counted per account and reset on the 1st (UTC); an Enterprise account has its own, higher allowance. Requests over the allowance keep working and are not charged; see your count and your allowance with GET /v1/api-usage. Need more, many numbers, or something built for your systems? Enterprise is quoted per customer: email sales@faxdash.io.
Retrying safely
Sending a fax, sending a batch and adding a contact accept an Idempotency-Key header: any value you choose, 1 to 255 printable ASCII characters, such as a UUID. Send the same key when you retry, and the request runs once: a retry within 24 hours gets the first response again, with the header Idempotent-Replayed: true, and nothing is sent or charged twice. A replayed send uses no send, so it carries no X-RateLimit-* headers. Use a new key for each new request. A key reused with a different body is refused with 422 (code: idempotency_mismatch). Whatever the first request answered is what a retry gets, a server error (5xx) included, because the fax may already have gone out; only a 429 is not kept, so retrying it with the same key runs the request. A retry while the first request is still running gets 409 (code: idempotency_in_progress): wait a moment and retry. If a key keeps answering 409, the first request ended without a stored result: check GET /v1/fax to see whether the fax went out, and only if it did not, send again with a new key.
Rate limits
Each API key has its own limits, and the account the key belongs to has a ceiling shared by all of its keys and its dashboard and app sessions.
- Reads (
GET): 600 a minute per key, 3,000 a minute per account. - Writes (uploads, contacts, inbox changes): 120 a minute per key, 600 a minute per account.
- Sends (
POST /v1/fax/sendand/v1/fax/send-batch): 60 a minute per key, 10 in 5 minutes per account. - Downloads (
GET /v1/inbox/{id}andGET /v1/documents/download-url): 120 an hour per key.
Limits refill continuously (a token bucket), so a key at 600 a minute gets one more read every 100 ms. Responses carry X-RateLimit-Limit, X-RateLimit-Remaining (for whichever of the key and the account is closer to its limit) and X-RateLimit-Reset (seconds until it is full again). Over a limit the answer is 429 with code: rate_limited and a Retry-After header in seconds; wait that long before retrying. A send refused for any other reason does not use up a send, and neither does a replayed send (see Retrying safely), which is why its response has no X-RateLimit-* headers.
Connecting an AI assistant? Use the MCP connector instead: see faxdash.io/help/integrations/.
Handling health information
If your integration moves protected health information:
- Use one key per system, so revoking one does not stop the others and the audit log says which system did what.
- Give each key only the permissions it needs. Only the system that needs a fax's pages should hold
inbox:content. - Keep the key in a secrets manager, never in source code or a log, and set an expiry (rotate at least yearly).
- Do not log request or response bodies: they can contain patient details.
- Read the audit log (
GET /v1/audit) regularly to see what each key did.
Faxes
Send a fax
POST/v1/fax/sendfax:send
Sends a document uploaded with POST /v1/documents/upload-url to one number, now or at scheduledAt. A key can send documents it uploaded itself (a rotated key keeps its predecessor's), or, with documents:read, any document uploaded to the account. Never a scan from the scan library.
Sending costs one credit per page to a +1 number and two per page anywhere else, charged when the send is accepted. The pages charged are the larger of pageCount and the pages in the PDF, plus one for a cover. A fax that fails for good is refunded. Follow it with GET /v1/fax/{id}, or have a webhook tell you.
Only one fax to a number can be in progress at a time, and up to 10 single sends are accepted per 5 minutes (a batch does not count towards it).
Requires the fax:send permission.
Parameters
- Idempotency-Keystring, in header
Makes a retry safe: the same key with the same body within 24 hours returns the first response (with
Idempotent-Replayed: true) instead of running again. Any value you choose, such as a UUID; a new one per request.
Request body
- documentIdstringrequired
The
idfromPOST /v1/documents/upload-url. - destinationNumberstringrequired
Where to send it. E.164 (
+and the country code) is safest; 10 digits, or 11 starting with 1, are read as a +1 number. - scheduledAtstring (date-time)
Send later, at this time: an ISO 8601 date-time with
Zor an offset, at most one year ahead. Omit to send now. A time less than a minute away, or in the past, is sent now. - pageCountinteger
Pages in the document. Defaults to the count given at upload.
- coverboolean | string | object
Put a cover sheet in front, charged as one more page. Omitted or
false: no cover, even if a default cover is set to go on every fax."default"ortrue: the default cover chosen under Settings → Cover sheet.{ "fields": { ... } }: the default cover with these fields filled in.{ "sheet": "irs", "fields": { ... } }: a sheet from the cover sheet library, named by the last part of its address (irs for faxdash.io/fax-cover-sheets/irs); a field the sheet does not have is refused. Saved cover details fill whateverfieldsleaves out, and the page count is filled in for you. - confirmUnreachableboolean
Send even though this number has repeatedly failed to accept a fax recently. Set only after the refusal below, if you mean it.
Response 201: data
- idstring (uuid)required
The fax id.
- statusstringrequired
One of: sending, scheduled
- scheduledAtstring
On a scheduled send: when it is due, in UTC (ISO 8601).
Errors
- 400A required field is missing, the number is not a valid fax number,
scheduledAtis not a date-time with a timezone or is more than a year ahead,pageCountis not 1 to 500,coveris malformed, or a fax to this number is already in progress (wait for it to finish). Or:Idempotency-Keyis not 1 to 255 printable ASCII characters (code: idempotency_key_invalid). Or: The request is invalid.errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402Not enough credits for the pages (
Insufficient credits, which names the total for an international fax), free signup credits used for a destination they do not cover (code: purchase_required), or a team member's monthly page limit reached (code: member_cap_reached, withused,monthlyQuotaandresetsOn). Nothing is charged. Or: The account is not on the Business plan (code: business_plan_required). - 403The key may not send this document (
code: document_not_from_key), the destination is in a country FaxDash cannot fax (code: destination_sanctioned), sending is blocked on this account, or the caller's team role cannot send (code: team_role). Also the shared missing-permission refusal. Or: The key lacks the permission this operation needs (code: missing_scope, withscope). - 404
Document not found(code: document_not_found): no document with thisdocumentIdon the account, for example one that was deleted or expired; upload it again. - 409This number has not accepted a fax on recent attempts (
code: destination_unreachable,overridable: true): check it, or send again withconfirmUnreachable: true. Or every number on the account is connected to a fax machine (code: sender_on_fax_machine). Orcoverasks for the default cover but none is chosen (code: no_default_cover). Or: A request with thisIdempotency-Keyis still running, or ended without a stored result (code: idempotency_in_progress). Retry shortly; if it persists, checkGET /v1/faxbefore sending again under a new key. - 410The upload expired before it was sent (
code: document_expired). Uploads that are never sent are deleted after 24 hours; upload it again. - 422A cover cannot be added to this document (
code: cover_unsupported). Send it without a cover. Or: ThisIdempotency-Keywas already used with a different request (code: idempotency_mismatch). Use a new key. - 429More than 10 sends in 5 minutes on the account, or 60 a minute on the key. Counts sends, not pages. Or: Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 502The carrier did not take the fax; the charge was refunded.
codesays why:carrier_refused(The carrier refused this fax. Nothing was charged. Check the number, then try again.),destination_not_supported(FaxDash cannot send to that country at the moment; nothing is wrong with the number), orcarrier_error(the carrier answered with a problem on its or FaxDash's side; try again shortly). - 503The send could not be charged, the plan or purchase history could not be checked, or the document could not be read. Nothing was charged; retry shortly. Or the fax network is busy (
code: carrier_busy): the charge was refunded; try again in a few minutes. Or: The plan could not be checked right now. Retry shortly.
Send a fax to several numbers
POST/v1/fax/send-batchfax:send
Sends one document to up to 50 numbers. Each recipient becomes its own fax with its own id, charged just before it is sent, so the answer can mix outcomes: check each entry in results. If the balance runs out partway, the rest are returned as not_attempted and are not charged.
A scheduledAt less than a minute away is sent now. The same document and cost rules as POST /v1/fax/send apply, per recipient.
Requires the fax:send permission.
Parameters
- Idempotency-Keystring, in header
Makes a retry safe: the same key with the same body within 24 hours returns the first response (with
Idempotent-Replayed: true) instead of running again. Any value you choose, such as a UUID; a new one per request.
Request body
- documentIdstringrequired
The
idfromPOST /v1/documents/upload-url. - destinationNumbersstring[]required
The recipients. If any is not a valid fax number the whole batch is refused.
- scheduledAtstring (date-time)
Send later, at this time: an ISO 8601 date-time with
Zor an offset, at most one year ahead. Omit to send now. - pageCountinteger
Pages in the document. Defaults to the count given at upload.
- coverboolean | string | object
Put a cover sheet in front, charged as one more page. Omitted or
false: no cover, even if a default cover is set to go on every fax."default"ortrue: the default cover chosen under Settings → Cover sheet.{ "fields": { ... } }: the default cover with these fields filled in.{ "sheet": "irs", "fields": { ... } }: a sheet from the cover sheet library, named by the last part of its address (irs for faxdash.io/fax-cover-sheets/irs); a field the sheet does not have is refused. Saved cover details fill whateverfieldsleaves out, and the page count is filled in for you.
Response 201: data
Errors
- 400A required field is missing, more than 50 recipients, a number is not a valid fax number,
scheduledAtis not a date-time with a timezone or is more than a year ahead,pageCountis not 1 to 500, orcoveris malformed. Or:Idempotency-Keyis not 1 to 255 printable ASCII characters (code: idempotency_key_invalid). Or: The request is invalid.errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402Not enough credits for even the first recipient (
Insufficient credits. Need N for M recipients), free signup credits used for a destination they do not cover (code: purchase_required), or a team member's monthly page limit reached (code: member_cap_reached). Nothing is charged. Or: The account is not on the Business plan (code: business_plan_required). - 403The key may not send this document (
code: document_not_from_key), the destination is in a country FaxDash cannot fax (code: destination_sanctioned), sending is blocked on this account, or the caller's team role cannot send (code: team_role). Also the shared missing-permission refusal. Or: The key lacks the permission this operation needs (code: missing_scope, withscope). - 404
Document not found(code: document_not_found): no document with thisdocumentIdon the account, for example one that was deleted or expired; upload it again. - 409Every number on the account is connected to a fax machine (
code: sender_on_fax_machine). Orcoverasks for the default cover but none is chosen (code: no_default_cover). Or: A request with thisIdempotency-Keyis still running, or ended without a stored result (code: idempotency_in_progress). Retry shortly; if it persists, checkGET /v1/faxbefore sending again under a new key. - 410The upload expired before it was sent (
code: document_expired). Uploads that are never sent are deleted after 24 hours; upload it again. - 422A cover cannot be added to this document (
code: cover_unsupported). Send it without a cover. Or: ThisIdempotency-Keywas already used with a different request (code: idempotency_mismatch). Use a new key. - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The send could not be charged, the plan or purchase history could not be checked, or the document could not be read. Nothing was charged; retry shortly. Or: The plan could not be checked right now. Retry shortly.
List sent faxes
GET/v1/faxfax:read
The account's sent faxes, most recently updated first. In a team, every member's sends. Pages with cursor. The order is by last update, so a fax that changes status while you page moves: to follow a fax to its end, read GET /v1/fax/{id}.
Requires the fax:read permission.
Parameters
- limitinteger, in query
How many faxes to return, 1 to 100. Default 50. A larger number is treated as 100; anything that is not a whole number of at least 1 is a 400.
- cursorstring, in query
The
nextCursorfrom the previous page, for the faxes after it. Opaque: send it back exactly as given. Without it you get the first page. - sortstring, in query
desc(default) for most recently updated first,ascfor least recently updated first. Keep it the same while paging.
Response 200: data
Fax[]
Also beside data
- nextCursorstring
Present when more rows may remain: send it as
cursorfor the next page. Withsince, always present: send it assincenext time (it is the same value back when nothing new has arrived).
Errors
- 400
limitis not a whole number of at least 1,cursororsinceis not one this endpoint issued (or not a valid time), or bothcursorandsincewere sent. Or: The request is invalid.errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Get a sent fax
GET/v1/fax/{id}fax:read
One sent fax and where it is. status ends at delivered or failed; a failed fax carries failureDescription to show people.
Requires the fax:read permission.
Parameters
- idstring, in pathrequired
The fax id from the send.
Response 200: data
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 404
Fax not found. - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Documents
Create an upload
POST/v1/documents/upload-urlfax:send
Step one of sending: returns a document id and an uploadUrl. PUT the file to uploadUrl with the same Content-Type header and no API key. It is a presigned URL that carries its own authorization, valid for one hour; an Authorization header makes the upload fail. Then send the id with POST /v1/fax/send.
An upload that is never sent is deleted after 24 hours.
Requires the fax:send permission.
Request body
- fileNamestringrequired
The file's name.
- contentTypestringrequired
Its media type, sent again as
Content-Typeon the upload. - pageCountinteger
Pages in the document, used when a send does not give
pageCount. Default 1.
Response 201: data
- idstring (uuid)required
The document id: the
documentIdto send. - uploadUrlstring (uri)required
Where to PUT the file, for one hour.
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
List documents
GET/v1/documentsdocuments:read
Documents on the account: uploads for sending and PDFs that arrived by email-to-fax. Not the scan library, which no key permission covers. Not paginated and in no particular order.
Requires the documents:read permission.
Response 200: data
Document[]
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Get a download link
GET/v1/documents/download-urldocuments:read
A presigned link to a stored file, valid for one hour. Fetch it without your API key. key is a s3Key from this API: a document's (documents:read), a sent fax's, or a received fax's (which also needs inbox:content). Scans are not available to keys.
Requires the documents:read permission.
Parameters
- keystring, in queryrequired
The
s3Keyof a document, sent fax or received fax on this account.
Response 200: data
- downloadUrlstring (uri)required
The link, valid for one hour.
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403
Not authorized to access this object: the key does not belong to this account. Or a scan (code: scope_not_available), or a received fax withoutinbox:content(code: missing_scope). Or: The key lacks the permission this operation needs (code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The download could not be recorded in the audit log, so no link was made. Retry shortly. Or: The plan could not be checked right now. Retry shortly.
Inbox
List received faxes
GET/v1/inboxinbox:read
Faxes received on the account's numbers, newest first. With inbox:read alone each entry carries only who sent it, where and when it arrived, its pages and whether it is read. With inbox:content too, entries add the AI summary and category and the stored file's s3Key. The extracted text and a download link come only from GET /v1/inbox/{id}.
Page back through the inbox with cursor. To poll for new faxes, use since.
Requires the inbox:read permission.
Parameters
- limitinteger, in query
How many received faxes to return, 1 to 100. Default 50. A larger number is treated as 100; anything that is not a whole number of at least 1 is a 400.
- cursorstring, in query
The
nextCursorfrom the previous page, for the received faxes after it. Opaque: send it back exactly as given. Without it you get the first page. - sincestring, in query
Only received faxes after this point, oldest first: a
nextCursorfrom an earliersinceresponse, or an ISO 8601 time (exclusive) to start from. Store thenextCursorof each response and send it assincenext time: nothing is missed or repeated. Only received faxes at least two minutes old are returned, so one recorded a moment late is never skipped. Not together withcursor.
Response 200: data
Also beside data
- nextCursorstring
Present when more rows may remain: send it as
cursorfor the next page. Withsince, always present: send it assincenext time (it is the same value back when nothing new has arrived). - hasMoreboolean
With
sinceonly: true when more rows are ready now, so ask again straight away.
Errors
- 400
limitis not a whole number of at least 1,cursororsinceis not one this endpoint issued (or not a valid time), or bothcursorandsincewere sent. Or: The request is invalid.errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Count unread faxes
GET/v1/inbox/unreadinbox:read
How many received faxes are not marked read. Past 99, or on a very large inbox, the count stops and atLeast is true: show it as 99+.
Requires the inbox:read permission.
Response 200: data
- unreadintegerrequired
Unread faxes, exact when
atLeastis false. - atLeastbooleanrequired
True when
unreadis a lower bound.
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
List receiving numbers
GET/v1/inbox/numbersinbox:read
The account's numbers that are receiving faxes into this inbox, sorted. Numbers connected to a fax machine are left out. Beside data the response also has account: { email: null }; the email is never given to an API key.
Requires the inbox:read permission.
Response 200: data
An array of:
- numberstringrequired
A receiving number.
Also beside data
- accountobject
The caller's account. Its email is never given to an API key.
- emailstring | null
Always null for an API key.
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Open a received fax
GET/v1/inbox/{id}inbox:content
One received fax with its content: the AI summary, the text read off its pages, and a link to the PDF valid for one hour. Opening it is recorded in the audit log.
Requires the inbox:content permission.
Parameters
- idstring, in pathrequired
The received fax id.
Response 200: data
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 404
Received fax not found. - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The view could not be recorded in the audit log, so nothing was returned. Retry shortly. Or: The plan could not be checked right now. Retry shortly.
Delete a received fax
DELETE/v1/inbox/{id}inbox:write
Removes it from the inbox. Deleting an id that is not there also answers 204.
Requires the inbox:write permission.
Parameters
- idstring, in pathrequired
The received fax id.
Response 204: Deleted. No body.
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The delete could not be recorded in the audit log, so it was not made. Retry shortly. Or: The plan could not be checked right now. Retry shortly.
Mark a received fax read
PUT/v1/inbox/{id}/readinbox:write
Sets status to read and records readAt. No request body.
Requires the inbox:write permission.
Parameters
- idstring, in pathrequired
The received fax id.
Response 200: data
- idstringrequired
- statusstringrequired
One of: read
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 404
Received fax not found. - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The change could not be recorded in the audit log, so it was not made. Retry shortly. Or: The plan could not be checked right now. Retry shortly.
Contacts
List contacts
GET/v1/contactscontacts:read
The account's saved contacts. Not paginated and in no particular order.
Requires the contacts:read permission.
Response 200: data
Contact[]
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Add a contact
POST/v1/contactscontacts:write
Saves a contact. The number is checked as POST /v1/fax/send checks a destination and saved in E.164 form. Duplicates are not merged: adding a number the account already has saves a second contact.
Requires the contacts:write permission.
Parameters
- Idempotency-Keystring, in header
Makes a retry safe: the same key with the same body within 24 hours returns the first response (with
Idempotent-Replayed: true) instead of running again. Any value you choose, such as a UUID; a new one per request.
Request body
- namestringrequired
- faxNumberstringrequired
E.164 (
+and the country code) is safest; 10 digits, or 11 starting with 1, are read as a +1 number.
Response 201: data
- idstring (uuid)required
- namestringrequired
- faxNumberstringrequired
The number as saved, in E.164 form.
- createdAtstring (date-time)required
When it was added.
Errors
- 400
nameorfaxNumberis missing, or the number is not a valid fax number. Or:Idempotency-Keyis not 1 to 255 printable ASCII characters (code: idempotency_key_invalid). Or: The request is invalid.errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 409A request with this
Idempotency-Keyis still running, or ended without a stored result (code: idempotency_in_progress). Retry shortly; if it persists, checkGET /v1/faxbefore sending again under a new key. - 422This
Idempotency-Keywas already used with a different request (code: idempotency_mismatch). Use a new key. - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Change a contact
PUT/v1/contacts/{id}contacts:write
Changes the fields given; the others stay as they are. An empty value is ignored rather than cleared. A new faxNumber is checked and saved in E.164 form, as on POST /v1/contacts.
Requires the contacts:write permission.
Parameters
- idstring, in pathrequired
The contact id.
Request body
- namestring
- faxNumberstring
- lastUsedAtstring (date-time)
When the contact was last used.
Response 200: data
- idstringrequired
- updatedbooleanrequired
One of: true
Errors
- 400The number is not a valid fax number. Or: The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 404
Contact not found: no contact with this id. - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Delete a contact
DELETE/v1/contacts/{id}contacts:write
Deleting an id that is not there also answers 204.
Requires the contacts:write permission.
Parameters
- idstring, in pathrequired
The contact id.
Response 204: Deleted. No body.
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Credits
Get the credit balance
GET/v1/creditscredits:read
Send credits and received-page allowance for the key owner's own account. A team member's sends spend the team owner's credits, so for a member's key this is their personal balance, not the one sends draw on (unless the member has the finance role, when scope is team).
Requires the credits:read permission.
Response 200: data
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
List credit transactions
GET/v1/credits/historycredits:read
The key owner's credit ledger, newest first: sends, refunds, received pages and grants. A member with the finance role reads the team owner's. Pages with cursor. Entries with no createdAt (none are written today) come last.
Requires the credits:read permission.
Parameters
- limitinteger, in query
How many entries to return, 1 to 100. Default 50. A larger number is treated as 100; anything that is not a whole number of at least 1 is a 400.
- cursorstring, in query
The
nextCursorfrom the previous page, for the entries after it. Opaque: send it back exactly as given. Without it you get the first page.
Response 200: data
Also beside data
- nextCursorstring
Present when more rows may remain: send it as
cursorfor the next page. Withsince, always present: send it assincenext time (it is the same value back when nothing new has arrived).
Errors
- 400
limitis not a whole number of at least 1,cursororsinceis not one this endpoint issued (or not a valid time), or bothcursorandsincewere sent. Or: The request is invalid.errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Get this month's API usage
GET/v1/api-usagecredits:read
API-key requests the account has made this calendar month (UTC) against its allowance. In a team, the team owner's count, which every member's keys add to. Requests over the allowance keep working and are not charged. The request asking may not be counted yet.
Requires the credits:read permission.
Response 200: data
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Numbers
List fax numbers
GET/v1/numbersnumbers:read
The numbers the account rents that are active or in their grace period. Renting and releasing numbers need a signed-in session.
Requires the numbers:read permission.
Response 200: data
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Audit
Read the audit log
GET/v1/auditaudit:read
The account's audit log, newest first. In a team, the team owner's log: a teammate's entries carry no IP address. What a key did carries its id in actorKeyId; changes made to a key carry its id in resourceId.
Page back with cursor; export new entries in order with since. With resourceId, one request reads at most the next 2,000 entries looking for matches; when it stops short the response has truncated: true and a nextCursor to carry on from. An account deleted before 2026-10-09 and signed up again may hold one account_deleted entry whose id is not time-ordered: newest first lists it at the top or bottom, and since from a time usually returns it first, by its timestamp. Entries written before Oct 2026 by account deletion may be missing from since= results.
Requires the audit:read permission.
Parameters
- limitinteger, in query
How many entries to return, 1 to 100. Default 50. A larger number is treated as 100; anything that is not a whole number of at least 1 is a 400.
- cursorstring, in query
The
nextCursorfrom the previous page, for the entries after it. Opaque: send it back exactly as given. Without it you get the first page. - sincestring, in query
Only entries after this point, oldest first: a
nextCursorfrom an earliersinceresponse, or an ISO 8601 time (exclusive) to start from. Store thenextCursorof each response and send it assincenext time: nothing is missed or repeated. Only entries at least two minutes old are returned, so one recorded a moment late is never skipped. Not together withcursor. - resourceIdstring, in query
Only entries about this resource, such as a fax id or an API key id.
Response 200: data
Also beside data
- nextCursorstring
Present when more rows may remain: send it as
cursorfor the next page. Withsince, always present: send it assincenext time (it is the same value back when nothing new has arrived). - hasMoreboolean
With
sinceonly: true when more rows are ready now, so ask again straight away. - truncatedboolean
Present, and true, when the search stopped with older entries unread and the page not full: continue with
nextCursor.One of: true
Errors
- 400
limitis not a whole number of at least 1,cursororsinceis not one this endpoint issued (or not a valid time), or bothcursorandsincewere sent. Or: The request is invalid.errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Webhooks
List webhook endpoints
GET/v1/webhookswebhooks:manage
The account's webhook endpoints, oldest first. In a team, the team owner's, and only a team admin may read or change them.
Requires the webhooks:manage permission.
Response 200: data
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Add a webhook endpoint
POST/v1/webhookswebhooks:manage
Adds an endpoint that will receive the events it names. An account can have up to 10. The url must be https, must not contain a user name or password, and must not point to a private, loopback or link-local address (it is checked again before each delivery). Adding an endpoint from a signed-in session needs the Business plan too.
Requires the webhooks:manage permission.
Request body
- urlstring (uri)required
- eventsstring[]required
One or more of
fax.delivered,fax.failedandfax.received. Repeats are ignored. - enabledboolean
- descriptionstring
A note for yourself, such as which system receives it.
Response 201: data
Errors
- 400
urlis missing, nothttps, not a valid URL, or points to an address that is not allowed;eventsis empty or names an unknown event;enabledis not a boolean; ordescriptionis too long. Or: The request is invalid.errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 409The account already has 10 endpoints (
code: webhook_endpoint_limit). Delete one first. - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Get a webhook endpoint
GET/v1/webhooks/{id}webhooks:manage
Requires the webhooks:manage permission.
Parameters
- idstring, in pathrequired
The endpoint id.
Response 200: data
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 404
Webhook endpoint not found: no endpoint with this id. - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Change a webhook endpoint
PATCH/v1/webhooks/{id}webhooks:manage
Changes the fields given; the others stay as they are. A new url is checked as on POST /v1/webhooks. description: null (or an empty string) removes the note.
Requires the webhooks:manage permission.
Parameters
- idstring, in pathrequired
The endpoint id.
Request body
- urlstring (uri)
- eventsstring[]
- enabledboolean
- descriptionstring | null
Response 200: data
Errors
- 400Nothing to change, or a field is invalid as on
POST /v1/webhooks. Or: The request is invalid.errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 404
Webhook endpoint not found: no endpoint with this id. - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Delete a webhook endpoint
DELETE/v1/webhooks/{id}webhooks:manage
Deletes the endpoint; nothing more is sent to it.
Requires the webhooks:manage permission.
Parameters
- idstring, in pathrequired
The endpoint id.
Response 204: Deleted. No body.
Errors
- 400The request is invalid.
errorsays what is wrong. - 401The API key is missing, unknown, revoked or expired.
- 402The account is not on the Business plan (
code: business_plan_required). - 403The key lacks the permission this operation needs (
code: missing_scope, withscope). - 404
Webhook endpoint not found: no endpoint with this id. - 429Over a rate limit (
code: rate_limited, withretryAfter,limit,scope(keyoraccount) andclass). Retry after theRetry-Afterseconds. - 500Something went wrong on our side. Retry later.
- 503The plan could not be checked right now. Retry shortly.
Models
Error
- errorstringrequired
What went wrong, readable by a person.
- codestring
A stable machine-readable reason, when there is one.
Fax
A fax sent from the account. Fields that do not apply to a fax are absent.
- idstring (uuid)required
The fax id.
- documentIdstring
The document that was sent.
- destinationNumberstringrequired
Where the fax went, in E.164 form.
- fromNumberstring
The account's number the fax went out under, when it rents one. Absent when sent from the shared FaxDash number.
- statusstringrequired
Where the fax is.
scheduled: booked forscheduledAt.queued,claimed,submitting: charged and on its way to the carrier.sending: with the carrier.retrying: an attempt failed and another is booked fornextRetryAt.deliveredandfailedare final. - pageCountintegerrequired
Pages charged for, including a cover sheet.
- scheduledAtstring
When a scheduled fax is due, in UTC (ISO 8601).
- batchIdstring (uuid)
Present when the fax was one recipient of a batch send.
- sourcestring
Which kind of client sent it:
app,web,agent(an AI assistant),api(an API key) oremail(email-to-fax). Absent on batch sends made before November 2026. - clientIdstring
The AI assistant's client id, when an assistant sent it.
- sentBystring
The user id of the person who sent it. In a team this is the member; otherwise the account itself.
- sentByEmailstring | null
The sender's email when they are a current team member or the caller, else null.
- sentByNamestring | null
The sender's name when known, else null.
- s3Keystring
The stored file this fax sends. Pass it as
keytoGET /v1/documents/download-url(needsdocuments:read). - retryCountinteger
Retries made so far.
- maxRetriesinteger
Retries allowed for this fax.
- nextRetryAtstring (date-time)
When the next attempt is due, while
statusisretrying. - lastFailureReasonstring
The carrier's reason for the most recent failed attempt.
- failureReasonsstring[]
The carrier's reason for each failed attempt, oldest first.
- errorMessagestring
The carrier's reason for the final failure. Raw provider wording: show
failureDescriptionto people. - failureDescriptionstring
On a failed fax: what went wrong, in plain English.
- failureCodestring | null
On a failed fax: the known failure code inside the reason, or null when there is none.
- failedAtFarEndboolean
On a failed fax: true when the cause was on the receiving side (busy, declined, not a fax line, no such number).
- refundPendingboolean
True when a failed fax is owed a refund that has not been recorded yet.
- lastAttemptT38boolean
Whether the latest retry attempt used T.38.
- createdAtstring (date-time)required
When the send was made.
- updatedAtstring (date-time)required
When the fax last changed.
- completedAtstring (date-time)
When it reached
deliveredorfailed.
BatchResult
- batchIdstring (uuid)required
Shared by every fax in the batch (each fax carries it as
batchId). - resultsobject[]required
One entry per recipient.
An array of:
- destinationNumberstringrequired
The recipient, in E.164 form.
- faxIdstring (uuid)required
The fax id for this recipient. Follow it with
GET /v1/fax/{id}. - statusstringrequired
sendingorscheduled: on its way and charged.failed: the carrier refused it and it was refunded.not_attempted: the batch stopped before this recipient (usually the balance ran out); it was not charged.One of: sending, scheduled, failed, not_attempted
Document
A document on the account: an upload for sending, or a PDF that arrived by email-to-fax.
- idstringrequired
The document id: the
documentIdto send. - fileNamestring
The file name given at upload.
- s3Keystringrequired
Where the file is stored. Pass it as
keytoGET /v1/documents/download-url. - pageCountinteger
Pages, as declared at upload (default 1).
- fileSizeBytesinteger
Size in bytes, where recorded. 0 for an API upload.
- uploadedByKeystring
The id of the API key that uploaded it, when a key did.
- usedAtstring (date-time)
When a send first used it. Absent on an upload that has never been sent, which is deleted 24 hours after upload.
- createdAtstring (date-time)required
When it was uploaded.
InboxItem
A fax received on one of the account's numbers. A key without inbox:content gets only id, fromNumber, toNumber, pageCount, status, receivedAt and readAt.
- idstringrequired
The received fax id.
- fromNumberstringrequired
The sender's number, or
unknownwhen the caller withheld it. - toNumberstringrequired
The account's number it arrived on.
- pageCountintegerrequired
- statusstringrequired
received: unread.read: marked read.download_failed: the pages could not be fetched yet and are being retried; there is nothing to download.One of: received, read, download_failed
- receivedAtstring (date-time)required
When it arrived.
- readAtstring (date-time)
When it was marked read.
- createdAtstring (date-time)
When it was stored. Needs
inbox:content. - s3Keystring
Where the PDF is stored (empty while
download_failed). Needsinbox:content. - fileSizeBytesinteger
PDF size in bytes. Needs
inbox:content. - aiSummarystring
A short summary read off the pages, when AI analysis ran. Needs
inbox:content. - aiCategorystring
What kind of document it looks like: invoice, medical, legal, insurance, government, personal, business or other. Needs
inbox:content. - aiStatusstring
Why there is no summary, when analysis did not produce one:
timed_out,failed,disabledortoo_many_pages. Needsinbox:content.
InboxItemDetail
A received fax with its content.
Every field of InboxItem, plus:
- downloadUrlstring (uri)
A presigned link to the PDF, valid for one hour. Fetch it without your API key. Absent when the pages were never stored (
status: download_failed). - aiExtractedTextstring
The text read off the pages, when AI analysis ran.
- aiKeyFieldsobject
Fields picked out of the pages, such as an invoice number or a due date.
Contact
- idstringrequired
The contact id.
- namestringrequired
- faxNumberstringrequired
In E.164 form. Contacts saved before November 2026 keep the form they were saved in.
- lastUsedAtstring
When it was last used, as set by the client that used it.
- createdAtstring (date-time)
When it was added.
- updatedAtstring (date-time)
When it last changed.
WebhookEndpoint
- idstringrequired
The endpoint id,
whe_and 24 hex characters. - urlstring (uri)required
Where events are sent. Always
https. - eventsstring[]required
The events sent to this endpoint.
- enabledbooleanrequired
falsepauses the endpoint without deleting it. - descriptionstring | nullrequired
Your note about the endpoint, up to 200 characters.
- createdAtstring (date-time)required
When it was added.
- updatedAtstring (date-time)required
When it last changed.
CreditBalance
- creditsintegerrequired
Send credits available now. One credit is one page to a +1 number; elsewhere a page costs two.
- grantedintegerrequired
Send credits ever granted: signup credits, packs, plan periods, refunds and bonuses.
- usedintegerrequired
Send credits spent, including received pages charged past the receive allowance.
- receivePagesintegerrequired
Received pages left in this period's allowance.
- receiveGrantedintegerrequired
This period's received-page allowance (0 without a plan that includes one).
- receiveUsedintegerrequired
Received pages counted against the allowance this period.
- receivePeriodEndstring (date-time)
When the receive allowance resets. Absent when there is no period to reset.
- receiveOveragePagesintegerrequired
Received pages this period past the allowance, charged to send credits. Already inside
used. - scopestringrequired
Whose balance this is.
personal: the key owner's own account.team: the team owner's, returned to a member with the finance role.One of: personal, team
- teamIdstring
The team, when
scopeisteam. - receivePlanstring | null
The live receive plan's tier; null without one or when billing could not be read.
One of: starter, standard, business, null
- unlimitedobject | null
The unlimited sending plan's pages this month; null without one. Absent when it could not be checked. Pages to a +1 US or Canadian number count once, elsewhere twice. Past either limit, faxes use credits.
- tierstringrequired
One of: send, plus, business
- limitintegerrequired
Pages a month.
- usedintegerrequired
Pages counted this month.
- dailyLimitintegerrequired
Pages a day.
- dayUsedintegerrequired
Pages counted today (UTC).
- resetAtstring (date-time)required
When the monthly count resets.
CreditTransaction
One entry in the credit ledger.
- idstringrequired
- amountintegerrequired
Positive for credits added (refunds, grants), negative for credits spent or pages received.
- typestring
What the entry is, for example
fax_send,refund,fax_receive,receive_overageorsubscription_grant. Older entries may have none. - descriptionstring
A readable line, such as the destination and page count of a send.
- faxIdstring
The fax this entry is for, when there is one.
- createdAtstring (date-time)required
When it was recorded.
ApiUsage
- monthstringrequired
The calendar month counted, UTC, as YYYY-MM.
- usedintegerrequired
API-key requests the account has made this month.
- allowanceintegerrequired
Requests included each month for this account: 10,000 on Business, or the account's own allowance on Enterprise.
- overageintegerrequired
Requests past the allowance. They are counted, not charged.
FaxNumber
A fax number the account rents. Fields that do not apply are absent.
- phoneNumberstringrequired
The number.
- displayNamestring
Its label (the number itself unless renamed).
- numberTypestring
The kind of number, such as
localortoll_free. - statusstringrequired
active, orgrace_period: the subscription that pays for it has lapsed and it will be released atgracePeriodEndsAtunless renewed.One of: active, grace_period
- gracePeriodEndsAtstring (date-time)
When a number in its grace period is released.
- isDefaultboolean
Whether faxes go out under this number by default.
- monthlyCreditsinteger
Credits the number costs each month.
- monthlyCostany
The provider's monthly price for the number.
- provisionedAtstring (date-time)
When the account got it.
- nextBillingAtstring (date-time)
When it is next charged.
- releaseBlockedboolean
True when the number is protected from release, for example while it is being ported out.
- updatedAtstring (date-time)
When it last changed.
AuditEntry
- idstringrequired
The entry id: its timestamp followed by a short random suffix.
- actionstringrequired
What happened, such as
fax.sent,fax.received,document.viewed,document.downloaded,document.deleted,document.updated,number.provisioned,key.created,key.rotated,key.revoked,key.expired,key.scopes_changed,webhook.created,webhook.updated,webhook.deletedoruser.login. - resourceTypestringrequired
The kind of thing acted on, such as
fax,received_fax,documentorapi_key. - resourceIdstringrequired
What was acted on. For changes to an API key, the key's id.
- actorUserIdstring
The person who did it. In a team, the member; otherwise the account.
- actorKeyIdstring
The API key that did it, when a key did.
- actorClientIdstring
The AI assistant that did it, when one did.
- metadataobject
Details of the action, which vary by
action. - ipAddressstring
Where the request came from. Empty for an entry made by another team member, and where none was recorded.
- userAgentstring
The client's user agent, where recorded.
- timestampstring (date-time)required
When it happened.