Does ChatGPT API have the same API that Azure OpenAI Service?

I like this course. But I need to build my app on the Azure platform (integrate with existing data sources + сompliance).
Does ChatGPT API have the same API that Azure OpenAI Service?

You can connect to ChatGPT on Azure OpenAI with an API key, yes.
I’m doing all the lessons in a Google Colab and I connect to an Azure OpenAI endpoint.
And I can do the bulk of the exercises although it could be you have to alter your code here and there a bit.