worthy-roseW
VAPI6mo ago
worthy-rose

Vapi AI 401 Unauthorized Error - All Credentials Correct, Need Support Escalation

Summary
I'm trying to use Vapi AI but keep getting "401 Unauthorized" errors even though I'm doing everything right.
What I have:
Private API key: 1ccbaa08-5fa8-44d9-a0fa-5d179674bcde
Phone number ID: 9188c463-d168-40cf-b5aa-a7bc1e9fe6a8
Account email: ashah6@chewy.com
Account has credits (not in trial mode)
What happens:
Every time I make an API call, I get:
401 Unauthorized
"Invalid Key. Hot tip, you may be using the private key instead of the public key, or vice versa."
What I've tried:
Using the private key as Bearer token (as docs say)
Regenerating new private keys
Different phone number formats
Was this page helpful?