POST
/
v1
/
convai
/
agents
/
create
from elevenlabs import ConversationalConfig, ElevenLabs

client = ElevenLabs(
    api_key="YOUR_API_KEY",
)
client.conversational_ai.create_agent(
    conversation_config=ConversationalConfig(),
)
{
  "agent_id": "<string>"
}

Headers

xi-api-key
string

Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Body

application/json

Response

200
application/json

Successful Response

The response is of type object.