@@ -105,7 +105,7 @@ vapi assistant create
105105 model: ' gpt-4o' ,
106106 messages: [{ role: ' system' , content: ' You are Alex, a customer service voice assistant for TechSolutions.' }]
107107 },
108- voice: { provider: ' 11labs' , voice_id : ' cgSgspJ2msm6clMCkdW9' },
108+ voice: { provider: ' 11labs' , voiceId : ' cgSgspJ2msm6clMCkdW9' },
109109 firstMessage: ' Hi there, this is Alex from TechSolutions customer support. How can I help you today?'
110110 });
111111
@@ -137,7 +137,7 @@ vapi assistant create
137137 " model" : " gpt-4o" ,
138138 " messages" : [{" role" : " system" , " content" : " You are Alex, a customer service voice assistant for TechSolutions." }],
139139 },
140- voice = {" provider" : " 11labs" , " voice_id " : " cgSgspJ2msm6clMCkdW9" },
140+ voice = {" provider" : " 11labs" , " voiceId " : " cgSgspJ2msm6clMCkdW9" },
141141 first_message = " Hi there, this is Alex from TechSolutions customer support. How can I help you today?" ,
142142 )
143143
@@ -161,7 +161,7 @@ vapi assistant create
161161 "model": "gpt-4o",
162162 "messages": [{ "role": "system", "content": "You are Alex, a customer service voice assistant for TechSolutions." }]
163163 },
164- "voice": { "provider": "11labs", "voice_id ": "cgSgspJ2msm6clMCkdW9" },
164+ "voice": { "provider": "11labs", "voiceId ": "cgSgspJ2msm6clMCkdW9" },
165165 "firstMessage": "Hi there, this is Alex from TechSolutions customer support. How can I help you today?"
166166 }'
167167 ```
@@ -273,21 +273,19 @@ vapi assistant create
273273 Call the phone number you just created. Your assistant will pick up and start the conversation with your configured first message.
274274 </Step >
275275
276- <Step title = " Try outbound calling" >
277- ** Using the Dashboard:**
278-
279- In the dashboard, go to the outbound calls section:
280- 1. Enter your own phone number as the target
281- 2. Select your assistant
282- 3. Click "Make Call"
283-
284- <Frame caption = " Making an outbound call" >
285- <img src = " ../static/gifs/outbound-call.gif" />
286- </Frame >
287-
288- ** Using the SDK:**
289-
276+ <Step title = " Place an outbound call" >
290277 <Tabs >
278+ <Tab title = " Dashboard" >
279+ In the dashboard, go to the outbound calls section:
280+ 1. Enter your own phone number as the target
281+ 2. Select your assistant
282+ 3. Click "Make Call"
283+
284+ <Frame caption = " Making an outbound call" >
285+ <img src = " ../static/gifs/outbound-call.gif" />
286+ </Frame >
287+ </Tab >
288+
291289 <Tab title = " TypeScript (Server SDK)" >
292290 ``` typescript
293291 const call = await vapi .calls .create ({
@@ -316,13 +314,9 @@ vapi assistant create
316314 -H " Authorization: Bearer $VAPI_API_KEY " \
317315 -H " Content-Type: application/json" \
318316 -d ' {
319- "assistant": {
320- "assistantId": "your-assistant-id"
321- },
317+ "assistant": { "assistantId": "your-assistant-id" },
322318 "phoneNumberId": "your-phone-number-id",
323- "customer": {
324- "number": "+1234567890"
325- }
319+ "customer": { "number": "+1234567890" }
326320 }'
327321 ```
328322 </Tab >
0 commit comments