Create Text Prediction

Body Params
string
required

ID of the program to create the prediction for

string
required

The prompt or question for the prediction to be made

options
array of objects
required

List of options for this prediction, min 2 and max 4

options*
string

The message shown to someone after they vote for their prediction

date

The UTC time that the widget will stop accepting interactions

string
widget_attributes
array of objects
widget_attributes
sponsor_ids
array of strings

Links the sponsors with this Text Prediction. Note that only valid sponsor_ids will be linked to a Text Prediction.

sponsor_ids
Response

Language
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json