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
| HTTP | Code | Description |
|---|---|---|
| 401 | API_KEY_INVALID | Missing or unknown API key |
| 401 | API_KEY_REVOKED | The key was revoked |
| 402 | API_INSUFFICIENT_BALANCE | Not enough API balance for this configuration |
| 400 | API_CALL_TYPE_INVALID | type must be audio or video |
| 400 | API_CALL_MODE_INVALID | callMode must be 1x1 or group |
| 400 | VOICE_MASK_START_REQUIRES_VOICE_MASK | VoiceMask cannot start enabled unless the feature is purchased |
| 429 | PAPACALL_API_RATE_LIMITED | Too 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