Oh Fax Faxes API

The Faxes API from Oh Fax — 4 operation(s) for faxes.

GitHub OpenAPI

Operations 4

POST /api/v1/faxes Send a quoted fax using prepaid balance #
GET /api/v1/faxes/{id} Read fax status #
POST /api/v1/faxes/{id}/requote New quote to resend a failed fax from its stored PDF (new checkout and card… #
GET /api/v1/faxes/{id}/receipt Read receipt for a delivered or failed fax #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ohfax-com:ohfax-com-faxes-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

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.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ohfax-com-faxes-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oh Fax Faxes API
  version: 0.2.0
  description: Outbound fax to US and Canada numbers. Faxes are sent over Telnyx's carrier-grade network; payments are processed by Stripe.
servers:
- url: https://app.ohfax.com
tags:
- name: Faxes
paths:
  /api/v1/faxes:
    post:
      summary: Send a quoted fax using prepaid balance
      security:
      - bearerApiKey: []
      parameters:
      - name: Idempotency-Key
        in: header
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                quote_id:
                  type: string
              required:
              - quote_id
      responses:
        '200':
          description: Idempotent replay
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                  refund_status:
                    type: string
                  payment_status:
                    type: string
                    enum:
                    - unpaid
                    - authorized
                    - captured
                    - released
                    - refunded
                    - refund_pending
                  to:
                    type: string
                  pages:
                    type: integer
                  amount:
                    type: string
                  amount_cents:
                    type: integer
                  amount_charged:
                    type: string
                  attempts:
                    type: integer
                  attempt:
                    type: integer
                  max_attempts:
                    type:
                    - integer
                    - 'null'
                    description: Delivery attempts allowed, including the first. 3 on jobs created after auto-retry; null or 1 on legacy jobs, which are not retried.
                  state:
                    type: string
                    enum:
                    - sending
                    - retry_wait
                    - delivered
                    - failed
                    description: UI-facing delivery state. sending covers queued and in-flight attempts; retry_wait is a scheduled automatic retry.
                  next_retry_at:
                    type:
                    - integer
                    - 'null'
                  next_attempt_at:
                    type:
                    - integer
                    - 'null'
                  retry_reason:
                    type:
                    - string
                    - 'null'
                  failure_code:
                    type:
                    - string
                    - 'null'
                  failure_reason:
                    type:
                    - string
                    - 'null'
                  failure_action:
                    type:
                    - string
                    - 'null'
                    enum:
                    - retry
                    - fix_number
                    - fix_document
                    - null
                    description: Next step for a failed fax. Only for the sender (Checkout resend cookie or the sending account's API key); null otherwise.
                  document_available:
                    type:
                    - boolean
                    - 'null'
                    description: Whether the PDF is still stored for a resend. Same gate as failure_action; null otherwise.
                  created_at:
                    type: integer
                  submitted_at:
                    type:
                    - integer
                    - 'null'
                  completed_at:
                    type:
                    - integer
                    - 'null'
                required:
                - id
                - status
                - refund_status
                - payment_status
                - to
                - pages
                - amount
                - amount_cents
                - amount_charged
                - attempts
                - attempt
                - max_attempts
                - state
                - next_retry_at
                - next_attempt_at
                - retry_reason
                - failure_code
                - failure_reason
                - failure_action
                - document_available
                - created_at
                - submitted_at
                - completed_at
        '201':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                  refund_status:
                    type: string
                  payment_status:
                    type: string
                    enum:
                    - unpaid
                    - authorized
                    - captured
                    - released
                    - refunded
                    - refund_pending
                  to:
                    type: string
                  pages:
                    type: integer
                  amount:
                    type: string
                  amount_cents:
                    type: integer
                  amount_charged:
                    type: string
                  attempts:
                    type: integer
                  attempt:
                    type: integer
                  max_attempts:
                    type:
                    - integer
                    - 'null'
                    description: Delivery attempts allowed, including the first. 3 on jobs created after auto-retry; null or 1 on legacy jobs, which are not retried.
                  state:
                    type: string
                    enum:
                    - sending
                    - retry_wait
                    - delivered
                    - failed
                    description: UI-facing delivery state. sending covers queued and in-flight attempts; retry_wait is a scheduled automatic retry.
                  next_retry_at:
                    type:
                    - integer
                    - 'null'
                  next_attempt_at:
                    type:
                    - integer
                    - 'null'
                  retry_reason:
                    type:
                    - string
                    - 'null'
                  failure_code:
                    type:
                    - string
                    - 'null'
                  failure_reason:
                    type:
                    - string
                    - 'null'
                  failure_action:
                    type:
                    - string
                    - 'null'
                    enum:
                    - retry
                    - fix_number
                    - fix_document
                    - null
                    description: Next step for a failed fax. Only for the sender (Checkout resend cookie or the sending account's API key); null otherwise.
                  document_available:
                    type:
                    - boolean
                    - 'null'
                    description: Whether the PDF is still stored for a resend. Same gate as failure_action; null otherwise.
                  created_at:
                    type: integer
                  submitted_at:
                    type:
                    - integer
                    - 'null'
                  completed_at:
                    type:
                    - integer
                    - 'null'
                required:
                - id
                - status
                - refund_status
                - payment_status
                - to
                - pages
                - amount
                - amount_cents
                - amount_charged
                - attempts
                - attempt
                - max_attempts
                - state
                - next_retry_at
                - next_attempt_at
                - retry_reason
                - failure_code
                - failure_reason
                - failure_action
                - document_available
                - created_at
                - submitted_at
                - completed_at
        '400':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
        '401':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
        '402':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
        '409':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
      tags:
      - Faxes
      operationId: postApiV1Faxes
      x-operation-id-source: derived
  /api/v1/faxes/{id}:
    get:
      summary: Read fax status
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                  refund_status:
                    type: string
                  payment_status:
                    type: string
                    enum:
                    - unpaid
                    - authorized
                    - captured
                    - released
                    - refunded
                    - refund_pending
                  to:
                    type: string
                  pages:
                    type: integer
                  amount:
                    type: string
                  amount_cents:
                    type: integer
                  amount_charged:
                    type: string
                  attempts:
                    type: integer
                  attempt:
                    type: integer
                  max_attempts:
                    type:
                    - integer
                    - 'null'
                    description: Delivery attempts allowed, including the first. 3 on jobs created after auto-retry; null or 1 on legacy jobs, which are not retried.
                  state:
                    type: string
                    enum:
                    - sending
                    - retry_wait
                    - delivered
                    - failed
                    description: UI-facing delivery state. sending covers queued and in-flight attempts; retry_wait is a scheduled automatic retry.
                  next_retry_at:
                    type:
                    - integer
                    - 'null'
                  next_attempt_at:
                    type:
                    - integer
                    - 'null'
                  retry_reason:
                    type:
                    - string
                    - 'null'
                  failure_code:
                    type:
                    - string
                    - 'null'
                  failure_reason:
                    type:
                    - string
                    - 'null'
                  failure_action:
                    type:
                    - string
                    - 'null'
                    enum:
                    - retry
                    - fix_number
                    - fix_document
                    - null
                    description: Next step for a failed fax. Only for the sender (Checkout resend cookie or the sending account's API key); null otherwise.
                  document_available:
                    type:
                    - boolean
                    - 'null'
                    description: Whether the PDF is still stored for a resend. Same gate as failure_action; null otherwise.
                  created_at:
                    type: integer
                  submitted_at:
                    type:
                    - integer
                    - 'null'
                  completed_at:
                    type:
                    - integer
                    - 'null'
                required:
                - id
                - status
                - refund_status
                - payment_status
                - to
                - pages
                - amount
                - amount_cents
                - amount_charged
                - attempts
                - attempt
                - max_attempts
                - state
                - next_retry_at
                - next_attempt_at
                - retry_reason
                - failure_code
                - failure_reason
                - failure_action
                - document_available
                - created_at
                - submitted_at
                - completed_at
        '404':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
      tags:
      - Faxes
      operationId: getApiV1FaxesById
      x-operation-id-source: derived
  /api/v1/faxes/{id}/requote:
    post:
      summary: New quote to resend a failed fax from its stored PDF (new checkout and card…
      security:
      - resendCookie: []
      - bearerApiKey: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                to:
                  type: string
              required: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  quote_id:
                    type: string
                  pages:
                    type: integer
                  amount:
                    type: string
                  checkout_url:
                    type: string
                required:
                - quote_id
                - pages
                - amount
                - checkout_url
        '400':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
        '403':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
      tags:
      - Faxes
      operationId: postApiV1FaxesByIdRequote
      x-operation-id-source: derived
  /api/v1/faxes/{id}/receipt:
    get:
      summary: Read receipt for a delivered or failed fax
      security: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  status:
                    type: string
                  refund_status:
                    type: string
                  payment_status:
                    type: string
                    enum:
                    - unpaid
                    - authorized
                    - captured
                    - released
                    - refunded
                    - refund_pending
                  to:
                    type: string
                  pages:
                    type: integer
                  amount:
                    type: string
                  amount_cents:
                    type: integer
                  amount_charged:
                    type: string
                  attempts:
                    type: integer
                  attempt:
                    type: integer
                  max_attempts:
                    type:
                    - integer
                    - 'null'
                    description: Delivery attempts allowed, including the first. 3 on jobs created after auto-retry; null or 1 on legacy jobs, which are not retried.
                  state:
                    type: string
                    enum:
                    - sending
                    - retry_wait
                    - delivered
                    - failed
                    description: UI-facing delivery state. sending covers queued and in-flight attempts; retry_wait is a scheduled automatic retry.
                  next_retry_at:
                    type:
                    - integer
                    - 'null'
                  next_attempt_at:
                    type:
                    - integer
                    - 'null'
                  retry_reason:
                    type:
                    - string
                    - 'null'
                  failure_code:
                    type:
                    - string
                    - 'null'
                  failure_reason:
                    type:
                    - string
                    - 'null'
                  failure_action:
                    type:
                    - string
                    - 'null'
                    enum:
                    - retry
                    - fix_number
                    - fix_document
                    - null
                    description: Next step for a failed fax. Only for the sender (Checkout resend cookie or the sending account's API key); null otherwise.
                  document_available:
                    type:
                    - boolean
                    - 'null'
                    description: Whether the PDF is still stored for a resend. Same gate as failure_action; null otherwise.
                  created_at:
                    type: integer
                  submitted_at:
                    type:
                    - integer
                    - 'null'
                  completed_at:
                    type:
                    - integer
                    - 'null'
                  receipt:
                    type: object
                    properties:
                      delivered:
                        type: boolean
                      provider_fax_id:
                        type:
                        - string
                        - 'null'
                      from:
                        type:
                        - string
                        - 'null'
                      issued_at:
                        type: integer
                    required:
                    - delivered
                    - provider_fax_id
                    - from
                    - issued_at
                required:
                - id
                - status
                - refund_status
                - payment_status
                - to
                - pages
                - amount
                - amount_cents
                - amount_charged
                - attempts
                - attempt
                - max_attempts
                - state
                - next_retry_at
                - next_attempt_at
                - retry_reason
                - failure_code
                - failure_reason
                - failure_action
                - document_available
                - created_at
                - submitted_at
                - completed_at
                - receipt
        '302':
          description: 'Accept: text/html redirects to /r/{id}'
          headers:
            Location:
              schema:
                type: string
        '404':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
        '409':
          description: Request failed
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                    - code
                required:
                - error
      tags:
      - Faxes
      operationId: getApiV1FaxesByIdReceipt
      x-operation-id-source: derived
components:
  securitySchemes:
    bearerApiKey:
      type: http
      scheme: bearer
      description: Oh Fax prepaid API key
    sessionCookie:
      type: apiKey
      in: cookie
      name: afx_session
      description: Google-login session issued by /auth/google/callback
    resendCookie:
      type: apiKey
      in: cookie
      name: ofx_resend
      description: Per-fax resend secret, set when the payer lands on the Checkout success page
x-service-info:
  docs:
    homepage: https://ohfax.com
    apiReference: https://ohfax.com/docs/api
    llms: https://ohfax.com/llms.txt