Updates the configuration parameters of an existing assistant. Profile photo cannot be updated via this endpoint.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Body
Weekly time limit for the assistant in hours
Maximum number of parallel tasks the assistant can handle
URL to the assistant’s profile photo
URL to the assistant’s profile video
Brief description about the assistant
Contact phone number of the user
Contact phone number for the assistant
Email address for the assistant
WhatsApp number of the user
Id of the voice (Cartesia ID) to use for the assistant
Country code for phone number provisioning (e.g., US, GB)
create_infra
boolean | null
default:"true"
Whether to create infrastructure for the assistant during update (e.g., phone, email). Set to false for testing.
curl --request PATCH \
--url 'https://api.unify.ai/v0/assistant/<assistant_id>/config' \
--header "Authorization: Bearer $UNIFY_KEY"
--header 'Content-Type: application/json' \
--data '{
"weekly_limit": 20.5,
"max_parallel": 3,
"profile_photo": "https://example.com/photos/ada.jpg",
"profile_video": "https://example.com/videos/ada_new.mp4",
"about": "Award-winning mathematician specializing in algorithm development",
"user_phone": "+15551234567",
"phone": "+15559876543",
"email": "ada.lovelace@newdomain.com",
"user_whatsapp_number": "+15559876543",
"voice_id": "bf0a246a-8642-498a-9950-80c35e9276b5",
"country": "GB"
}'
{
"info": {
"agent_id": "123",
"first_name": "Alice",
"surname": "Smith",
"age": 25,
"weekly_limit": 45.0,
"max_parallel": 4,
"about": "Award-winning mathematician specializing in algorithm development",
"phone": "+1-555-987-6543",
"email": "alice.smith@example.com",
"region": "North America",
"profile_photo": "https://example.com/photos/alice.jpg",
"profile_video": "https://example.com/videos/alice.mp4",
"voice_id": "bf0a246a-8642-498a-9950-80c35e9276b5",
"country": "US",
"created_at": "2025-04-25T12:00:00Z",
"updated_at": "2025-04-25T14:30:00Z"
}
}