cURL
curl --request POST \ --url https://app.kapso.ai/api/v1/voice_agents \ --header 'Content-Type: application/json' \ --header 'X-API-Key: <api-key>' \ --data '{ "voice_agent": { "name": "Customer Support Voice Agent", "provider_type": "pipecat", "provider": { "public_api_key": "pk_live_abc123", "private_api_key": "sk_live_xyz789", "agent_name": "support-agent-v1", "base_url": "https://api.pipecat.ai" } } }'
{ "data": { "id": "voice-agent-123abc", "name": "Customer Support Voice Agent", "provider": { "type": "pipecat_provider", "kind": "pipecat", "agent_name": "support-agent-v1" }, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } }
Creates a new voice agent with provider configuration
API key required for all endpoints
Show child attributes
Voice agent created successfully
Was this page helpful?