vapiai/skills · Official

setup-api-key

Guide users through obtaining and configuring a Vapi API key. Use when the user needs to set up Vapi, when API calls fail due to missing keys, or when the user mentions needing access to Vapi's voice AI platform.

Hot #1358 First seen Feb 19, 2026

Installation

$ npx skills add vapiai/skills --skill setup-api-key

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from vapiai/skills · top by installs.

npx skills add vapiai/skills

Browse all from vapiai/skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 64
License MIT
Default branch main
Open issues 0
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0
LicenseMIT
CompatibilityRequires internet access to vapi.ai and api.vapi.ai.
More metadata
author
vapi
version
1.0

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 3,248 B
  • docs SUMMARY.md 233 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 848 installs

SKILL.md

Vapi API Key Setup

Guide the user through obtaining and configuring a Vapi API key for the voice AI platform.

Workflow

Step 1: Request the API key

Tell the user:

To set up Vapi, open the API keys page in the Vapi Dashboard: https://dashboard.vapi.ai/org/api-keys

(Need an account? Create one at https://dashboard.vapi.ai/signup first)

If you don't have an API key yet:
1. Click "Create Key"
2. Name your key (e.g., "development")
3. Copy the key immediately — it is only shown once

Do not paste a private API key into this chat. Save it locally using the steps below, then tell me when the file is ready.

Then wait for the user to confirm that the local environment file is ready. Do not ask them to send or display the key.

Step 2: Validate and configure

Once the user confirms the key is stored locally:

  1. Confirm the key is available without printing it. Prefer an existing environment variable. Otherwise, ask the user to save it as VAPIAPIKEY in a local .env.local file using their editor. Never display the file contents.
  1. Validate the key by making a request from the environment where it is loaded:

``bash curl -s -o /dev/null -w "%{httpcode}" https://api.vapi.ai/assistant \ -H "Authorization: Bearer $VAPIAPI_KEY" ``

  1. If validation fails (non-200 response):

- Tell the user the API key appears to be invalid - Ask them to double-check and try again - Remind them of the URL: https://dashboard.vapi.ai/org/api-keys

  1. If validation succeeds, confirm that the local environment file contains this variable without showing its value:

`` VAPIAPIKEY=<the-api-key> ``

  1. Confirm success:

> Your Vapi API key is configured locally as VAPIAPIKEY. > > You can now use Vapi's API to create assistants, make calls, and build voice AI agents. > > Keep this key safe — do not commit it to version control.

Step 3: Verify .gitignore

Check whether .gitignore protects local environment files. If not, add:

.env*
!.env.example

Environment Variable

All Vapi skills expect the API key in the VAPIAPIKEY environment variable. The base URL for all API requests is:

https://api.vapi.ai

Authentication is via Bearer token:

Authorization: Bearer $VAPI_API_KEY

Additional Resources

Vapi provides a documentation MCP server that gives compatible AI agents access to the Vapi knowledge base. Use its documentation search for advanced configuration, troubleshooting, SDK details, and anything beyond this skill.

Manual setup: If your agent doesn't auto-detect the config, run:

claude mcp add vapi-docs -- npx -y mcp-remote https://docs.vapi.ai/_mcp/server

See the Vapi MCP integration guide for setup instructions across supported agents.