API call question
# support
c
Hey team, I'm trying to trigger an outbound call using the new POST https://api.vapi.ai/call endpoint. I have my assistantId, phoneNumberId, and request body correct. The only issue I'm getting is authentication. When I use my Private Key (UUID format) in the Authorization header, I get: "failed to extract key" Can you provide the exact required Authorization header format for the new API? Do I need: Authorization: Bearer Authorization: api-key Authorization: X-API-Key: or another header name or format? Just want to confirm the correct header and prefix for the new Vapi key system.
c
Hi there, Thank you for your message. Our team is currently out of the office. We operate Monday through Friday, from 9:00 AM to 8:00 PM Pacific Standard Time (PST). We’ll get back to you as soon as possible during our normal business hours. If your message is urgent, please mark it accordingly or include “URGENT” in the subject line, and we’ll do our best to respond promptly. Warm regards, Vapi Customer Support Team
v
The exact Authorization header format you need for the Vapi API is:
Copy code
http
Authorization: Bearer <your-api-key>
Replace
<your-api-key>
with your actual API key (not a UUID private key). This format is shown in the official documentation and is required for authentication with the
POST https://api.vapi.ai/call
endpoint. For reference, see the [Vapi API documentation](https://docs.vapi.ai/api-reference/calls/call-controller-find-all-paginated). Source: - [Vapi API Reference: Call Controller Find All Paginated](https://docs.vapi.ai/api-reference/calls/call-controller-find-all-paginated)
s
Hello! I'm trying to do an outbound call from an american number(twilio) to an italian one, the error that occur is the following : An error occurred in this call: call.start.error-get-transport. I setup the n8n flow with the correct value of vapiApiUrl, vapiPhoneNumberId, vapiAssistantId and I make an HTTP request with a twilio number correctly registered inside VAPI. here the following output from the HTTP node that underliyng the the call to the customer(italian number) is queued: but unfortunately I did not receive any calls, Do you have suggestion for possible solution? https://cdn.discordapp.com/attachments/1441894731272425674/1441953651664093274/image.png?ex=6923ab7c&is=692259fc&hm=238bfb7323807e930e9b6aaf31944b6a8c088c60ffa9051ce2babd2a617477bd&
2 Views