Oh Fax Dev API

The Dev API from Oh Fax — 3 operation(s) for dev.

GitHub OpenAPI

Operations 3

GET /dev/profile Read signed-in account email and prepaid balance #
POST /dev/topup Create hosted checkout to add prepaid account credit #
GET /dev/ledger Read the latest 20 account ledger entries, newest first #

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-dev-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-dev-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Oh Fax Dev 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: Dev
paths:
  /dev/profile:
    get:
      summary: Read signed-in account email and prepaid balance
      security:
      - sessionCookie: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  email:
                    type: string
                  balance_cents:
                    type: integer
                  balance:
                    type: string
                required:
                - email
                - balance_cents
                - balance
        '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
      tags:
      - Dev
      operationId: getDevProfile
      x-operation-id-source: derived
  /dev/topup:
    post:
      summary: Create hosted checkout to add prepaid account credit
      security:
      - sessionCookie: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                amount_cents:
                  type: integer
                  enum:
                  - 500
                  - 1000
                  - 2500
                  - 5000
              required:
              - amount_cents
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  checkout_url:
                    type:
                    - string
                    - 'null'
                  amount:
                    type: string
                required:
                - checkout_url
                - amount
        '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
        '503':
          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:
      - Dev
      operationId: postDevTopup
      x-operation-id-source: derived
  /dev/ledger:
    get:
      summary: Read the latest 20 account ledger entries, newest first
      security:
      - sessionCookie: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  entries:
                    type: array
                    maxItems: 20
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        delta_cents:
                          type: integer
                        delta:
                          type: string
                        kind:
                          type: string
                        created_at:
                          type: integer
                      required:
                      - id
                      - delta_cents
                      - delta
                      - kind
                      - created_at
                required:
                - entries
        '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
      tags:
      - Dev
      operationId: getDevLedger
      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