Skip to main content
POST
/
api
/
v2
/
voiceai-pod
Create VoiceAIPod
curl --request POST \
  --url https://api.voiceaiwrapper.app/api/v2/voiceai-pod \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "voice_provider": "VAPI",
  "vapi_private_key": "vapi_private_abc123",
  "vapi_public_key": "vapi_public_abc123",
  "vapi_organization_id": "org_abc123",
  "vapi_organization_name": "My Org",
  "retell_api_key": "retell_key_abc123",
  "retell_organization_name": "My Retell Org",
  "elevenlabs_api_key": "xi_abc123",
  "elevenlabs_organization_name": "My ElevenLabs Org",
  "elevenlabs_webhook_id": "wh_abc123",
  "elevenlabs_webhook_secret_key": "whsec_abc123",
  "bolna_api_key": "bolna_key_abc123",
  "bolna_organization_name": "My Bolna Org",
  "concurrency_limit": 10
}
'
{
  "success": true,
  "message": "Voice Provider created successfully",
  "data": {
    "voice_provider_id": "<string>",
    "voice_provider": "VAPI",
    "concurrency_limit": 10
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Voice provider credentials and configuration

voice_provider
enum<string>
required

Voice provider type. Required.

Available options:
VAPI,
RETELL,
ELEVEN_LABS,
BOLNA
Example:

"VAPI"

vapi_private_key
string

VAPI private API key. Required for VAPI provider.

Example:

"vapi_private_abc123"

vapi_public_key
string

VAPI public API key. Optional for VAPI provider.

Example:

"vapi_public_abc123"

vapi_organization_id
string

VAPI organisation ID. Optional for VAPI provider.

Example:

"org_abc123"

vapi_organization_name
string

VAPI organisation display name. Optional for VAPI provider.

Example:

"My Org"

retell_api_key
string

Retell API key. Required for RETELL provider.

Example:

"retell_key_abc123"

retell_organization_name
string

Retell organisation display name. Optional for RETELL provider.

Example:

"My Retell Org"

elevenlabs_api_key
string

ElevenLabs API key. Required for ELEVEN_LABS provider.

Example:

"xi_abc123"

elevenlabs_organization_name
string

ElevenLabs organisation display name. Optional for ELEVEN_LABS provider.

Example:

"My ElevenLabs Org"

elevenlabs_webhook_id
string

ElevenLabs webhook ID. Optional for ELEVEN_LABS provider.

Example:

"wh_abc123"

elevenlabs_webhook_secret_key
string

ElevenLabs webhook secret key. Optional for ELEVEN_LABS provider.

Example:

"whsec_abc123"

bolna_api_key
string

Bolna API key. Required for BOLNA provider.

Example:

"bolna_key_abc123"

bolna_organization_name
string

Bolna organisation display name. Optional for BOLNA provider.

Example:

"My Bolna Org"

concurrency_limit
integer

Maximum concurrent calls for this provider. Optional. Applicable to VAPI and BOLNA.

Example:

10

Response

Voice provider created successfully. Returns voice_provider_id, provider type, and concurrency limit.

success
boolean
Example:

true

message
string
Example:

"Voice Provider created successfully"

data
object