Event Management
Create Survey Questions and Answers
Creates one or several survey questions and their answers for a particular webinar.
- A Take Survey widget must already exist in the webinar. If a Take Survey widget does not exist, a 404 response will be returned.
post/client/{clientId}/event/{eventId}/surveyquestions
Request
- Base URL: https://api.on24.com/wcc/api/v2
- URL: https://api.on24.com/wcc/api/v2/client/{clientId}/event/{eventId}/surveyquestions
- Auth: one of:
- API key in header AccessTokenKey
- API key in header AccessTokenSecret
Path parameters
clientIdnumber required
The client id
eventIdnumber required
The event id
Headers
accessTokenKeystring required
client access token key
accessTokenSecretstring required
client access token secret
content-typestring required
It must be either "application/x-www-form-urlencoded" or "application/json" depending on the preferred way to send the metadata object: as a formData parameter or as the request body using Content-Type = "application/json".
Request body
Example request
{
"metadata": "{\"surveyquestions\":[{\"questiontype\":\"multioption\",\"required\":\"Y\",\"question\":\"What industry are you in?\",\"surveyanswers\":[\"Technology\",\"HealthCare\",\"Finance\",\"Retail\",\"Food & Beverage\"]},{\"questiontype\":\"singleoption\",\"required\":\"N\",\"question\":\"Would you like a 1:1 session with an expert?\",\"surveyanswers\":[\"Yes\",\"No\"]},{\"questiontype\":\"singletext\",\"required\":\"N\",\"question\":\"Describe yourself\"}]}"
}Response
Questions created.
Changes
No recorded changes to this operation across all 1 revision of this API.