I have created a Custom question with my webinar which you can see in the above screen shot. Now I am going to create a registrant with that webinar and passing the values
Body:
{
“address”: “chd”,
“city”: “chd”,
“comments”: “test”,
“country”: “ind”,
“custom_questions”: [
{
“title”: “What is your role in the study?”,
“value”: “Manager”
}
],
“email”: "nip19@gmail.com",
“first_name”: “nip”,
“industry”: “it”,
“job_title”: “soft”,
“last_name”: “trip”,
“no_of_employees”: “15”,
“org”: “digi”,
“phone”: “123456”,
“purchasing_time_frame”: “123”,
“role_in_purchase_process”: “abc”,
“state”: “chd”,
“zip”: “160102”
}
But it gives me an error {“code”:300,“message”:“The parameter is required in custom_questions: What is your role in the study?”}…
But if I am deleting the custom question and not sending the values of custom questions with my api call then its working fine.
But I don’t want to delete the custom questions from there. Please let me know which value should I need to pass in the custom questions parameter.
Please make sure that the “title” in your request body exactly matches with the question that you have entered in the web portal?
If you have selected your answer type as "Single Answer", please note that the value you provide in your request should be present in your web portal. Please note that these values are case sensitive as well.
Please refer to the following screenshot:
In the above example, if my request body contains a value “sales” as the answer, it will send a '300' error. Similarly, if my value is Manager instead of ‘manager’, a ‘300’ error is expected. If you need to add any value to your answer, I would recommend selecting the type as "short answer"
Can you please let me know what is the use of providing the questions and answers in the webportal when the same can be passed via an api call of adding registrants?
If this has to be done, where should the question creations must be done?
I am unable to create custom questions for registrants through an api call unless the questions are created through the zoom web portal already. Is it a pre-requisite to have the custom questions created already in the webportal to use them in an apicall?
How do i create custom questions for registrants through an apicall without having the need of creating the same through the webportal?