dan
11/03/2025, 6:30 PMVapi Support Bot
11/03/2025, 6:31 PMjson
{
"server": {
"url": "https://your-api-endpoint.com/webhook",
"credentialId": "cred_your_oauth2_id"
}
}
In the Vapi dashboard, create an OAuth 2.0 credential with your Entra ID token URL, client ID, and client secret, then reference its credentialId as above. Make sure your Entra ID token endpoint and credentials are correct—an "empty token" 401 error usually means the token request failed or returned nothing.
See more: [Vapi Server Authentication Guide](https://docs.vapi.ai/server-url/server-authentication#reference-in-server-configuration)
Source:
- [Server authentication](https://docs.vapi.ai/server-url/server-authentication#reference-in-server-configuration)dan
11/03/2025, 7:26 PM