Hi jas7i.,
Currently, Vapi supports several authentication methods for custom authentication, such as OAuth2, secret tokens, and custom headers ([see details](
https://docs.vapi.ai/server-url/server-authentication)). For automations or scripting, Vapi also supports API Key authentication as outlined in the CLI documentation and environment variables ([more info here](
https://docs.vapi.ai/cli/auth)). However, Basic Auth is not listed as a directly supported method in these documents.
If you need Basic Auth support, you might consider using custom headers to manually implement it. Here's an example of how custom headers can be configured:
json
{
"server": {
"url": "https://your-server.com/webhook",
"headers": {
"Authorization": "Basic your_basic_auth_value"
}
}
}
For further feature requests like adding Basic Auth as a direct option, it would be helpful to submit a feature request on Vapi's public roadmap. This way, the team can consider it for future updates.