@@ -34,6 +34,14 @@ URL to the assistant's profile photo
3434URL to the assistant's profile video
3535</ParamField >
3636
37+ <ParamField body = " desktop_url" type = " string | null" >
38+ URL to the assistant's desktop profile/page
39+ </ParamField >
40+
41+ <ParamField body = " user_local_desktop" type = " string | null" >
42+ User's local desktop operating system
43+ </ParamField >
44+
3745<ParamField body = " about" type = " string | null" >
3846Brief description about the assistant
3947</ParamField >
@@ -58,6 +66,10 @@ WhatsApp number of the user
5866Id of the voice (Cartesia ID) to use for the assistant
5967</ParamField >
6068
69+ <ParamField body = " voice_provider" type = " string | null" >
70+ Provider of the selected voice (e.g., 'elevenlabs', 'openai')
71+ </ParamField >
72+
6173<ParamField body = " country" type = " string | null" >
6274Country code for phone number provisioning (e.g., US, GB)
6375</ParamField >
@@ -78,12 +90,15 @@ curl --request PATCH \
7890 "max_parallel": 3,
7991 "profile_photo": "https://example.com/photos/ada.jpg",
8092 "profile_video": "https://example.com/videos/ada_new.mp4",
93+ "desktop_url": "https://app.example.com/assistants/ada",
94+ "user_local_desktop": "macos",
8195 "about": "Award-winning mathematician specializing in algorithm development",
8296 "user_phone": "+15551234567",
8397 "phone": "+15559876543",
8498 "email": "ada.lovelace@newdomain.com",
8599 "user_whatsapp_number": "+15559876543",
86100 "voice_id": "bf0a246a-8642-498a-9950-80c35e9276b5",
101+ "voice_provider": "elevenlabs",
87102 "country": "GB"
88103}'
89104```
@@ -95,7 +110,7 @@ url = "https://api.unify.ai/v0/assistant/<assistant_id>/config"
95110
96111headers = {" Authorization" : " Bearer <token>" }
97112
98- json_input = {" 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" }
113+ json_input = {" weekly_limit" : 20.5 , " max_parallel" : 3 , " profile_photo" : " https://example.com/photos/ada.jpg" , " profile_video" : " https://example.com/videos/ada_new.mp4" , " desktop_url " : " https://app.example.com/assistants/ada " , " user_local_desktop " : " macos " , " 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" , " voice_provider " : " elevenlabs " , " country" : " GB" }
99114
100115response = requests.request(" PATCH" , url, json = json_input, headers = headers)
101116
@@ -121,6 +136,7 @@ print(response.text)
121136 "profile_photo" : " https://example.com/photos/alice.jpg" ,
122137 "profile_video" : " https://example.com/videos/alice.mp4" ,
123138 "voice_id" : " bf0a246a-8642-498a-9950-80c35e9276b5" ,
139+ "voice_provider" : " cartesia" ,
124140 "country" : " US" ,
125141 "created_at" : " 2025-04-25T12:00:00Z" ,
126142 "updated_at" : " 2025-04-25T14:30:00Z"
0 commit comments