Simli Auto
Face ID Creation
WebRTC API
Update Agent
Update an existing agent
PUT
/
agent
/
{id}
curl --request PUT \
--url https://api.simli.ai/agent/{id} \
--header 'Content-Type: application/json' \
--header 'x-simli-api-key: <api-key>' \
--data '{
"face_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"first_message": "<string>",
"prompt": "<string>",
"voice_provider": "elevenlabs",
"voice_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voice_model": "sonic-english",
"llm_model": "gpt-4o-mini",
"llm_endpoint": "https://api.example.com/v1/chat/completions",
"language": "<string>",
"max_idle_time": 123,
"max_session_length": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}'
Authorizations
API key for authentication
Path Parameters
Body
application/json
Response
200
Agent updated successfully
curl --request PUT \
--url https://api.simli.ai/agent/{id} \
--header 'Content-Type: application/json' \
--header 'x-simli-api-key: <api-key>' \
--data '{
"face_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"first_message": "<string>",
"prompt": "<string>",
"voice_provider": "elevenlabs",
"voice_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"voice_model": "sonic-english",
"llm_model": "gpt-4o-mini",
"llm_endpoint": "https://api.example.com/v1/chat/completions",
"language": "<string>",
"max_idle_time": 123,
"max_session_length": 123,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}'