Aryan N
08/06/2024, 12:05 AMVapi
08/06/2024, 12:06 AMVapi
08/06/2024, 12:06 AMAryan N
08/06/2024, 12:11 AMVapi
08/06/2024, 12:11 AMAryan N
08/06/2024, 12:12 AMVapi
08/06/2024, 12:12 AMAryan N
08/06/2024, 12:15 AMVapi
08/06/2024, 12:15 AMbash
curl -X POST https://api.vapi.net/make_call \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_TOKEN" \
-d '{
"to": "+1234567890",
"from": "+0987654321",
"firstMessageMode": "YOUR_DESIRED_MODE"
}'
In this example, replace https://api.vapi.net/make_call with the actual endpoint URL, YOUR_API_TOKEN with your actual API token, and the phone numbers with the actual numbers you wish to use. The firstMessageMode parameter would be set to the mode you want to use for the call.
3) A "VAPI provider" refers to a company or service that offers Voice API (VAPI) services. These providers offer APIs that allow developers to integrate voice calling capabilities into their applications. Examples of VAPI providers include Twilio, Nexmo (Vonage), and Plivo. Each provider has its own set of APIs and documentation for developers to use when building voice-enabled applications.Aryan N
08/06/2024, 12:18 AMVapi
08/06/2024, 12:18 AMapplication/json.
- `Authorization`: If your VAPI requires authentication, set this to Bearer YOUR_API_TOKEN, replacing YOUR_API_TOKEN with your actual API token.
5. Go to the "Body" tab and select "raw" to enter the JSON payload for your POST request. Input the JSON data that the VAPI endpoint expects. For example:
json
{
"to": "+1234567890",
"from": "+0987654321",
"firstMessageMode": "YOUR_DESIRED_MODE"
}
Replace the placeholder values with the actual data you want to send.
6. Once you've set up the request, click the "Send" button to make the POST call to the VAPI endpoint.
7. Postman will display the response from the VAPI server in the lower section of the window. You can review the status code, response time, and the body of the response to ensure your call was successful.
Remember to replace the placeholder values with actual data relevant to your VAPI provider and the specific call you're making. If you encounter any issues, check the documentation provided by your VAPI provider for specific requirements and troubleshooting tips.Aryan N
08/06/2024, 1:33 AMVapi
08/06/2024, 1:34 AMassistant.modelOutputInMessagesEnabled parameter seems to be a setting related to the configuration of an assistant or chatbot, possibly within a Voice API (VAPI) or a similar service. While this specific parameter is not a standard or commonly recognized setting, based on its name, I can infer its possible functionality:
- `assistant`: This likely refers to the chatbot or virtual assistant instance.
- `modelOutputInMessages`: This suggests that the setting controls whether the output generated by the underlying model (such as AI or machine learning model) is included in the messages.
- `Enabled`: This indicates that the setting can be toggled on or off.
Putting it together, assistant.modelOutputInMessagesEnabled could be a configuration setting that, when enabled, allows the output from the assistant's AI model to be included in the messages sent to the user. This might be used for debugging purposes or to provide transparency about how the assistant is generating its responses.
However, without specific documentation or context, this is an educated guess. If you need precise information about this setting, it would be best to consult the documentation provided by the service you are using or reach out to their support team for clarification.Aryan N
08/06/2024, 5:20 PMVapi
08/06/2024, 5:20 PMAryan N
08/06/2024, 5:39 PMVapi
08/06/2024, 5:39 PMAryan N
08/06/2024, 5:40 PMVapi
08/06/2024, 5:40 PMAryan N
08/06/2024, 5:41 PMVapi
08/06/2024, 5:42 PMShubham Bajaj
08/06/2024, 8:18 PMassistant.model.messages at call start, call.messages at squad transfer points).
__default__ 'assistant-speaks-first'",
__enum__": ["assistant-speaks-first","assistant-speaks-first-with-model-generated-message","assistant-waits-for-user"],
"__example__": "assistant-speaks-first"Shubham Bajaj
08/06/2024, 8:19 PMAryan N
08/06/2024, 8:27 PMShubham Bajaj
08/06/2024, 9:54 PM