Retries without duplicate faxes
Every send can carry a stable idempotency key, so tool retries return the original fax object instead of paying for a second transmission.
Fax API for AI agents
One endpoint for regulated document delivery. Idempotent sends, dry-run validation, signed delivery webhooks, and docs your agent can actually read.
Quickstart
Agents can prove the number, the document URL, and the request shape are valid before spending money or
transmitting a regulated document. Flip dry_run off and the same request sends for real.
curl https://agentfax-api.scshome.workers.dev/v1/faxes \
-H "Authorization: Bearer afx_live_..." \
-H "Content-Type: application/json" \
-H "Idempotency-Key: contract-8921-v1" \
-d '{
"to": "+13125550123",
"media_url": "https://example.com/contracts/8921.pdf",
"client_reference": "contract-8921",
"dry_run": true
}'
{
"fax": {
"id": "fax_9b2f4e81c6d34a08b2ee71c3a90d55f2",
"object": "fax",
"status": "validated",
"to": "+13125550123",
"client_reference": "contract-8921",
"idempotency_key": "contract-8921-v1",
"created_at": "2026-07-03T14:02:09Z"
},
"dry_run": true
}
Every send can carry a stable idempotency key, so tool retries return the original fax object instead of paying for a second transmission.
Agents can prove request validity before sending regulated, expensive, or irreversible documents.
Fax state is normalized into queued, sending, delivered, failed, and canceled — polled or pushed over signed webhooks.
Machines get small, explicit docs. Humans get a direct quickstart, error model, and webhook guide.
Built for machine readers
The entire API fits in a prompt. Hand your agent llms.txt for the rules, or the OpenAPI
schema for the full contract — no scraping, no guessing.
Get started
Onboard through Stripe, get an API key, and send your first dry run in minutes.
Developer plan · $49/month · billed through Stripe