rubber-blueR

API call question

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 <key>
Authorization: api-key <key>
Authorization: X-API-Key: <key>
or another header name or format?

Just want to confirm the correct header and prefix for the new Vapi key system.
Was this page helpful?