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.
Note that I have validated the endpoint and API key via cURL request and it was successful.

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).
Note that I have validated the endpoint and OCP-APIM-Subscription-Key Header key via cURL request and it was successful.


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.
image.png
image.png
Was this page helpful?