Openai - Moving from assistant to chat prompt?

This thread - How to use a prompt ID from OpenAI in your model responses? - suggests I need to use the HTTP module and make direct API calls, can someone outline exactly how I would do that?