OpenPhn docs

API overview

REST API rooted at api.openphn.com. Bearer auth, JSON in/out.

The OpenPhn REST API is a single origin:

https://api.openphn.com

All requests require a Bearer token (sk_live_*) in the Authorization header. Requests and responses are JSON unless explicitly noted (the DNC CSV upload and call-export endpoints use multipart/form-data and text/csv, respectively).

Surfaces

PathPurpose
/v1/callsCreate, list, get, export outbound calls. Batch create.
/v1/numbersList + configure numbers you own (greeting, flow, transfers, SMS).
/v1/flowsList, draft, preview, publish flow graphs.
/v1/dncUpload, list, delete tenant DNC entries.
/v1/voicesRead-only voice catalog.
/v1/providersVerify Twilio creds, select active number.
/v1/webhooksRegister, list, retry, delete outbound webhook endpoints.
/authSignup, login, API-key CRUD, me.

What's documented here

  • Authentication — Bearer keys, scopes, number_ids.
  • API keys — create, list, rotate, revoke, whoami.
  • Webhooks — signing, retries, delivery history API.
  • Rate limits & idempotency — 429 headers + safe retry recipe via Idempotency-Key.
  • Errors — status codes, response shape, common failure codes.
  • Reference — auto-generated per-route pages with schemas, examples, and a "try it" console. Grouped by tag (auth, calls, numbers, dnc, flows, webhooks, …).

The machine-readable spec is always live at api.openphn.com/openapi.json and Swagger UI at /docs.

On this page