Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: Sendafax Ai Faxes API
version: 1.1.0
contact:
name: SendaFax.ai
url: https://sendafax.ai
description: 'Operations tagged Faxes across 2 of this provider''s published API definitions: openapi.yaml, sendafax-ai-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://sendafax.ai
description: Production
tags:
- name: Faxes
paths:
/api/faxes:
post:
operationId: sendFax
summary: Send a fax where coverage says yes; pay only if it delivers
description: Destructive. Destination required; no default. Pages optional — we count them for billing. Sends one fax (text or PDF) to an E.164 number; billed per delivered page to the signed-in account, or to receipt_email when the web form is used without sign-in. We send where coverage says yes.
security:
- SessionCookie: []
- BearerToken: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/SendFaxRequest'
responses:
'200':
description: Fax accepted by SendaFax
'409':
description: Account locked or another fax is in flight
'422':
description: Invalid destination or document
tags:
- Faxes
servers:
- url: https://sendafax.ai
description: Production
/api/faxes/{id}:
get:
operationId: getFax
summary: Get the stored status of one of your faxes. Read-only
parameters:
- $ref: '#/components/parameters/FaxId'
security:
- SessionCookie: []
- BearerToken: []
responses:
'200':
description: Fax job
tags:
- Faxes
servers:
- url: https://sendafax.ai
description: Production
/api/faxes/{id}/refresh:
post:
operationId: refreshFax
summary: Same as GET /api/faxes/{id}. Read-only; kept for older clients
parameters:
- $ref: '#/components/parameters/FaxId'
security:
- SessionCookie: []
- BearerToken: []
responses:
'200':
description: Fax job. Delivery is confirmed and invoiced server-side, never by this call.
tags:
- Faxes
servers:
- url: https://sendafax.ai
description: Production
components:
parameters:
FaxId:
name: id
in: path
required: true
schema:
type: string
schemas:
SendFaxRequest:
type: object
required:
- destination
additionalProperties: false
properties:
destination:
type: string
description: Fax number in E.164. No default. Uncovered destinations are rejected.
examples:
- '+61299990000'
- '+19165550100'
pages:
type: integer
minimum: 1
maximum: 200
description: Optional. Do not guess. We count pages from the PDF or text and bill that count.
pricingPlan:
type: string
enum:
- per_page
- pack_11
default: per_page
description: per_page is USD $1 per page. pack_11 is 11 pages for $10.
text:
type: string
description: Plain-text body. Required unless base64 is sent.
filename:
type: string
contentType:
type: string
base64:
type: string
receipt_email:
type: string
description: Web form only. Required when not signed in. Billable inbox for the invoice. The MCP connector does not accept it.
securitySchemes:
SessionCookie:
type: apiKey
in: cookie
name: authjs.session-token
BearerToken:
type: http
scheme: bearer
x-refined-from:
- openapi.yaml
- sendafax-ai-openapi.yml