PapaCall

API Documentation

Get API Key
Developer API · v1

Build PapaCall into your product.

Create paid audio or video call links over a simple HTTP API. Enable only the features you need and pay once for each successfully created link.

Quick start

PapaCall Pro is required to create new API keys and add API balance. Once a key exists, it continues working with the existing balance even if Pro later expires. Create a key, add balance, then send a server-side request to v1.

curl -X POST https://api.papacall.me/v1/calls \
  -H "Authorization: Bearer pc_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: order-239923" \
  -d '{
    "type": "video",
    "callMode": "group",
    "features": {
      "voiceMask": true,
      "faceLight": false,
      "liveTranslate": true,
      "meetingReport": false,
      "chat": true
    },
    "voiceMaskEnabledAtStart": true,
    "AfterCallPage": "https://api.ppcall.me/api/after-call"
  }'

Authentication

Use your secret key as a Bearer token. You can have up to five active keys. Secrets are shown only once and should never be exposed in browser code.

Authorization: Bearer pc_live_YOUR_KEY

# Alternative
X-API-Key: pc_live_YOUR_KEY

Create a call link

Choose audio or video, choose a 1x1 or group room with callMode, and optionally enable VoiceMask, FaceLight, LiveTranslate, Meeting Report, and one-time chat.

POST /v1/calls

{
  "type": "audio | video",
  "callMode": "1x1 | group",
  "features": {
    "voiceMask": false,
    "faceLight": false,
    "liveTranslate": false,
    "meetingReport": false,
    "chat": false
  },
  "voiceMaskEnabledAtStart": false,
  "AfterCallPage": "https://api.ppcall.me/api/after-call"
}

VoiceMask at start

voiceMaskEnabledAtStart may only be true when VoiceMask is enabled for the call.

AfterCallPage

Set AfterCallPage to an absolute http(s) URL to send participants to your own page after the API call ends. Omit it to use the built-in PapaCall after-call page.

Successful response

{
  "ok": true,
  "idempotentReplay": false,
  "call": {
    "id": "3bb0…",
    "url": "https://papacall.me/call/A…",
    "type": "video",
    "callMode": "group",
    "status": "active",
    "AfterCallPage": "https://api.ppcall.me/api/after-call",
    "priceUsd": 0.35,
    "features": {
      "voiceMask": true,
      "liveTranslate": true,
      "chat": true
    }
  },
  "balance": { "balanceUsd": 74.65, "currency": "USD" }
}

Errors

HTTPCodeDescription
401API_KEY_INVALIDMissing or unknown API key
401API_KEY_REVOKEDThe key was revoked
402API_INSUFFICIENT_BALANCENot enough API balance for this configuration
400API_CALL_TYPE_INVALIDtype must be audio or video
400API_CALL_MODE_INVALIDcallMode must be 1x1 or group
400VOICE_MASK_START_REQUIRES_VOICE_MASKVoiceMask cannot start enabled unless the feature is purchased
429PAPACALL_API_RATE_LIMITEDToo many API requests

Pricing

Billing happens when the link is successfully created. Participant count, joins and call duration do not trigger another API charge.

Audio

$0.04

Video

$0.06

VoiceMask

+$0.03

FaceLight

+$0.01

LiveTranslate

+$0.22

Meeting Report

+$0.10

One-time chat

+$0.04

Cost calculator

The calculator uses the same price model as the production API.

VoiceMask

FaceLight

LiveTranslate

Meeting Report

One-time chat

1 links

$0.28

100 links

$28.00

1,000 links

$280.00

Link lifecycle

A new link waits up to 15 minutes for its first participant. After the first join, an empty room is removed after 10 minutes. A continuously occupied API room has a maximum life of 12 hours.

API balance

API funds are stored separately from your subscription. Pro is required to create new keys and add funds; existing keys keep working with the remaining API balance if Pro expires. Top up from $5 with a one-time Paddle payment. The low-balance warning appears after at least one API key has been created and balance is below $5.

Get API Key