i am getting error while trying to get API I went ...
# support
v
Try making the API call directly using curl as a workaround:
Copy code
bash
curl -X POST https://api.vapi.ai/call \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "assistantId": "your-assistant-id",
    "phoneNumberId": "your-phone-number-id",
    "customer": { "number": "+1234567890" }
  }'
Replace the placeholders with your actual values. This lets you create a call without using the web UI. For more details, see the [official API reference](https://docs.vapi.ai/api-reference/calls/create). Source: - [Vapi API Reference: Create Call](https://docs.vapi.ai/api-reference/calls/create)
v
i need schema
c
Hi Vrajesh, It seems there are issues with the call endpoint in Vapi. Here are the general steps you can take to troubleshoot and resolve the problem: 1. **Check Request Details**: Verify the request you are sending to the API endpoint matches the required parameters and format. Use the [API reference](https://docs.vapi.ai/api-reference/calls/create) for guidance. 2. Review
EndedReason
**Codes**: If calls are ending unexpectedly, review the
endedReason
codes available in your [call logs](https://docs.vapi.ai/calls/call-ended-reason) to understand the specific reasons for termination. 3. **Rate Limits and Quotas**: Ensure that you are not hitting any rate limits or quotas that can cause calls to fail. Codes like
call.in-progress.error-vapifault-xai-429-exceeded-quota
can indicate such issues. 4. **Connection Issues**: Check that there is no connectivity issue, like the
phone-call-provider-closed-websocket
or issues related to Twilio or Vonage if using external call management services. 5. **API Key and Authentication**: Verify that your API keys and authentication credentials are valid. Errors like
call.in-progress.error-vapifault-xai-401-unauthorized
may suggest issues here. 6. **Browser/Network Troubleshooting**: Since it appears that the API interface crashes in the browser, ensure your browser is up to date, and try using an alternative method to access the API (e.g., API clients or Postman). Let me know if you need more targeted solutions based on the error you are encountering, or if a specific error message arises.
v
i cannot open CALL section thats the issue once it is open i can do whatever i have to do
here are the steps
i search CALL and find POST under it
I clickit and the spinning curce cines ad then throw the error , these happen for lastcouple of days and infect on all my PCS, PHONE and differenrt browser
c
Thank you for providing this information. We’ll be looking into it further to better understand the situation and determine the next steps. Our team will update you as soon as we have more details, and we truly appreciate your patience and cooperation in the meantime.
12 Views