On OpenAI's website, they say that the ChatGPT API is coming soon and you can join the waitlist. So until now, there is no API for ChatGPT. Many people who claim to be using ChatGPT in their product are actually just using GPT3.