Endpoint
POST https://video.apifycloud.io/api/calls
Authentication
Widget key required. ProvideappId and widgetKey via one of:
- Headers:
X-App-IdandX-Widget-Key - Query params:
?appId=...&widgetKey=... - Body:
{ "appId": "...", "widgetKey": "..." }
Request body
All fields are optional. Sending an empty body (or no body at all) creates a call with default settings.| Field | Type | Description |
|---|---|---|
presetId | string | Preset configuration to use. Falls back to the app’s active preset. |
title | string | Human-readable title for the call. |
description | string | Description or notes for the call. |
metadata | object | Free-form JSON metadata attached to the call record. |
hostName | string | Default display name for the host. Overrides the preset default. |
guestName | string | Default display name for the guest. Overrides the preset default. |
recordOnStart | boolean | When true, recording starts automatically when the meeting begins. Overrides the preset setting. |
genesys | object | Genesys Cloud context (see below). Also accepted via query params. |
Genesys fields
| Field | Type | Description |
|---|---|---|
conversationId | string | Genesys conversation ID |
gcHostOrigin | string | Genesys Cloud host origin |
gcTargetEnv | string | Genesys target environment |
gcLangTag | string | Language tag (e.g. en-us) |
gcUsePopupAuth | boolean | Use popup-based authentication |
Response
| Field | Description |
|---|---|
callId | Unique identifier for the created call. |
hostJoinUrl | URL for the host/agent to join the call. Includes authentication params. |
guestJoinUrl | URL for the guest/participant to join the call. |
joinUrl | Alias for guestJoinUrl (backward compatibility). |
agentJoinUrl | Alias for hostJoinUrl (backward compatibility). |
title | Echoed back when provided in the request. |
description | Echoed back when provided in the request. |
metadata | Echoed back when provided in the request. |
Errors
401missing or invalidappId/widgetKey500internal server error