You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm run setup creates one .env.<org> file per org. These files are
gitignored: never commit them.
Variable
Required
Description
VAPI_PRIVATE_API_KEY
✅
The org's private API key, from Private API Keys. The older name VAPI_TOKEN is also accepted.
VAPI_BASE_URL
API base URL. Defaults to https://api.vapi.ai; EU orgs use https://api.eu.vapi.ai (npm run setup -- <org> --region eu sets it).
VAPI_CREDENTIAL_<NAME>, VAPI_PHONE_NUMBER_<NAME>
Generated by setup and pull inside a marked block: the org's credential and phone-number IDs, by name. Values you set outside the block are kept and take precedence.
A variable already set in your shell or CI environment takes precedence over
the file. .env.<org>.local and .env.local are also read, after
.env.<org>, and only fill in variables that are still unset.
CI and workflow settings
Set these in GitHub under Settings → Secrets and variables → Actions.