Skip to main content

Agent fax lines

Agent fax lines are in limited rollout. Interchange provisions each line with the customer and enables the account before the fax API becomes available. There is not yet a self-service number picker.
An agent fax line gives a storefront agent a real telephone number for inbound and outbound PDF fax delivery. It is useful for partners whose existing workflows still produce paper or fax documents.

How inbound fax works

When the assigned number receives a fax, Interchange:
  1. verifies the carrier-signed event and copies the PDF into private storage;
  2. verifies the stored file and extracts bounded document text;
  3. treats that text as untrusted external input to the assigned storefront agent; and
  4. renders the agent’s response as a PDF and sends it back to the verified originating fax number.
Interchange does not store the carrier’s temporary media URL or expose it to the agent. Fax files are isolated by customer and expire under the fax storage retention policy. Delivery metadata and content digests remain available for idempotency and audit without retaining telephone numbers in the command ledger.

Provision a line

Contact Interchange to request a line during the limited rollout. Choose the customer account, storefront agent, country or region, and preferred area code. Interchange assigns the carrier number, verifies that it belongs to the fax application, and activates its route to the selected agent. Provisioning is currently an operator action. API keys cannot create or move a line, and entering an arbitrary existing number does not claim it. Bring-your- own-number porting and a self-service distribution card are planned separately.

Send a fax

Send an outbound PDF with POST /api/v2/communications/faxes. The caller needs interchange:write, access to the endpoint’s customer, and enrollment in the limited rollout.
The URL must remain reachable long enough for carrier ingestion. Use a short expiry and do not require cookies, interactive login, or request headers that the carrier cannot provide. An accepted request returns HTTP 202:
queued confirms carrier acceptance, not final delivery to the remote fax machine. duplicate is true when Interchange returns the result of an earlier completed request with the same requestId.

Retry and error behavior

Interchange binds requestId to the endpoint, destination, and PDF digest. Repeating that exact command is safe. Reusing the UUID with different input returns 409. Interchange never automatically repeats an ambiguous carrier submission. This prevents a network timeout from producing two physical faxes.