wise-white
wise-white6d ago

Private API Key secret not shown at creation

Problem: Private API Key secret not shown at creation; only Key ID appears. This blocks API auth (Authorization: Bearer <secret>) and returns 401 Unauthorized. Repro steps: Dashboard → API Keys → Add Key → Private Allowed Origins: empty | Allowed Assistants: empty | Transient Assistant: OFF Click Create Private Token → redirected to keys list → no modal / no secret shown List shows: top row with asterisks (hidden), bottom row with Key ID (UUID). Eye/copy on the top row doesn’t reveal/copy the secret; copying the lower row gives only the Key ID. What I tried: Delete & recreate multiple times Browsers: Chrome / Edge; Incognito; cleared cache; disabled extensions; hard reload Plan: Starter Expected: One-time reveal of the private key secret (long token) right after creation. Actual: Only Key ID visible; cannot obtain the secret. Request: Confirm if this is a dashboard/UI issue. Help me obtain the secret (or generate a private key for my workspace) so I can use: Authorization: Bearer <private_api_key_secret> GET https://api.vapi.ai/assistant?limit=1 Any workaround to retrieve the secret on creation. Workspace/email: dazhiying01@gmail.com Timezone: Europe/Madrid When observed: 21/8/2025
3 Replies
Shubham Bajaj
Shubham Bajaj6d ago
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
wise-white
wise-whiteOP4d ago
URGENT
Shubham Bajaj
Shubham Bajaj3d ago
Hey Dazhi, could you please send your request payload that you are sending? Typically, the API only needs the private key since our API does not require a secret. You can also check the API documentation for the correct formatting for the authentication. There is a tool on there that uses the private key which you can use to test your request as well. https://docs.vapi.ai/api-reference/assistants/get?explorer=true

Did you find this page helpful?