Submitting multiple custom questions

Description
I am trying to register users for a Webinar using API. I am able to successfully register the user.
I want to add custom questions in the registration process as well.
I want to to have multiple “Required” custom questions".

I started with adding 1 custom question, made it “Required” and it worked.
As soon as I try to make 2nd question “Required” my API fails.

Error

{
“code”: 300,
“message”: “The parameter is required in custom_questions: Ques2 to answer?.”
}

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Which Endpoint/s?
Knowing the API endpoint/s can help us to identify your issue faster. Please link the ones you need help/have a question with.

How To Reproduce (If applicable)
Create a webinar with 2 or more “Required” custom questions. Try to register a user via API. I am using following url to make API hit :

Screenshots (If applicable)

When only 1 custom question is marked as “Required”

When both question are marked as “Required”

Additional context
Add any other context about the problem here.

Hi @mohit.punj,

Can you please ensure that you’re using this endpoint to update custom questions for your registration?

The endpoint you’re referencing is intended for adding a webinar registrant, not updating the webinar’s custom questions.

Let me know if this helps!
Will