Passing multiple values to chatGPT API

Hello everyone,
I am a super beginner and trying to setup my first API.
What I would like to do is to pass 2 parameters to the chatGPT chat_completion API.
Unfortunately I cannot initialize the call and I think the problem is around the " " in the parameters setting.

This is my error message:

If I take out the " " from the body parameters, I can initialize the call.
The problem then is that I would like to choose this parameters based on inputs (e.g., dropdown), and if I try to make the API call via a button, I cannot define the parameters anymore:

What am I doing wrong? and is there a way to pass both parameters to the API?
Thanks in advance for all your help!

Ok, I solved it myself - such a simple mistake.
I needed to uncheck “private” on the body parameters of the call.

1 Like