Skip to main content
This guide walks you through obtaining all required credentials for the Vapi plugin.

Authentication Method

The Vapi plugin uses API key authentication.
  • api_key (default) - API key authentication

API Key Setup

Step 1: Get API Key

  1. Log in to your Vapi dashboard
  2. Click on your account name in the top-right corner
  3. Go to OrganizationAPI Keys
  4. Click Create API Key
  5. Give your key a name (e.g., “Corsair Integration”)
  6. Copy the API key immediately
  7. Important: Store the key securely — you won’t be able to see it again
Storing Credentials: The preferred method is to store the API key in the database using the keys API:
Alternatively, you can provide the key directly in the plugin configuration:
corsair.ts
Or store it with the Corsair CLI:

Webhook Secret

Vapi uses a shared secret header (x-vapi-secret) rather than an HMAC signature. You choose the secret value and configure it in both your Vapi server URL settings and Corsair.

Step 1: Configure Webhook URL in Vapi

  1. In the Vapi dashboard, go to SettingsWebhooks (or configure per-assistant via serverUrl)
  2. Set the Server URL to your webhook endpoint (e.g., https://yourapp.com/api/webhook)
  3. Set the Server URL Secret to a strong random string — this is the shared secret Vapi will send as the x-vapi-secret header on every request

Step 2: Store the Secret in Corsair

Preferred method — store in the database:
Or pass it directly in the plugin configuration:
corsair.ts
Or use the CLI:

Required Credentials Summary

For general information about how Corsair handles authentication, see Authentication.