How to call chatGPT API?

As a technical novice, I don’t know anything about how to call the API. Can anyone help me answer this question?I would like to ask how to link my API key to the application or program I need to link.