BYO Azure OpenAI provider integration how to?
Hi there I couldn't find any information or documentation on Vapi website that explains the correct structure or information needed to be provided into the URL. I have tried 2 approaches and both are not working.
Approach 1:
As my Azure OpenAI deployment is through 'Azure OpenAI services' I tried to provide the endpoint URL and the API key only, leaving the OCP-APIM-Subscription-Key-Header empty.
Approach 2:
I followed your your documentation outlink to Azure that suggested I should expose my API endpoint through an Azure API management instance - through this method I would need to provide an APIM subscription key (OCP-APIM-Subscription-Key Header).
Can you please share how the URL should be structured or what I am inputting correctly?
The endpoints and credentials are working as expected when making cURL requests.
Approach 1:
As my Azure OpenAI deployment is through 'Azure OpenAI services' I tried to provide the endpoint URL and the API key only, leaving the OCP-APIM-Subscription-Key-Header empty.
- https://vapi-east-us-llm-resource.openai.azure.com/openai/deployments/gpt-4o-2024-11-20/chat/completions?api-version=2025-01-01-preview
- See screenshot and error message. (error message is that 'resource cannot be found')
Approach 2:
I followed your your documentation outlink to Azure that suggested I should expose my API endpoint through an Azure API management instance - through this method I would need to provide an APIM subscription key (OCP-APIM-Subscription-Key Header).
- https://vapi-east-us-llm-resource.azure-api.net/azure-openai-vapi/deployments/gpt-4o-2024-11-20/chat/completions?api-version=2025-01-01-preview
- see screenshot and error message. (error message is that 'resource not found')
Can you please share how the URL should be structured or what I am inputting correctly?
The endpoints and credentials are working as expected when making cURL requests.

