How to use the assistant created in the dashboard with my api code

i’m using php/laravel, and this is my old code for using the gpt4 api, now into this code, how can i integrate an assistant(by its name) that i have already created

Capture d'écran 2023-11-20 125219


Any reply to this query would be great - I have the same query in C#. Just about completed the process but it’s not finding the assistant based on the Id. Response says not found. But the assistant id is correct.

Is there something like a publishing step that I’ve missed?