Create an Image Quiz

Changed on
post/image-quizzes/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1
  • URL
    https://cf-blast.livelikecdn.com/api/v1/image-quizzes/
  • Auth
    none required

Request body

program_idstring required

The id of the program to create the Image Quiz for

questionstring required

The question or prompt asked by the Image Quiz

interactive_untilstring date

The UTC time that the widget will stop accepting interactions

playback_time_msinteger

Video playback time in milliseconds

custom_datastring
sponsor_idsstring[]

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

Response

201

client_idstring
created_atstring
custom_dataunknown
engagement_countinteger
engagement_percentstring
idstring
impression_countinteger
impression_urlstring
interaction_urlstring
interactive_untilstring
kindstring
program_date_timeunknown
program_idstring
publish_delaystring
published_atstring
questionstring
rewards_urlunknown
schedule_urlstring
scheduled_atstring
statusstring
subscribe_channelstring
timeoutstring
translatable_fieldsstring[]
translationsobject
unique_impression_countinteger
playback_time_msunknown
urlstring
widget_interactions_url_templatestring

Example response

{
  "choices": [
    {
      "answer_url": "https://blastrt-prod-us-east-1.livelikecdn.com/api/v1/widget-interactions/image-quiz/e19bd27d-d50d-4611-b97a-c49d2f8a4ecf/choices/aa779987-8002-4d5a-b8c2-5a2c4ea3e21c/answers/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbmNyeXB0ZWQiOiJnQUFBQUFCaFM0a3U1eDhpa0dmdGhBRFd1cmxfM1pldlhXUjB5akp1M3VKMWhkZVZHa0NPRHlxWm1Ja19QZ0ltWGpILVJPaXRRZjh0S0M1QTI0SWlMTVpVUW1FNGc1Nnp3dz09IiwiaXNzIjoiYmxhc3QiLCJpYXQiOjE2MzIzNDAyNzB9.P4yGVeJ9SHufo0RN0Ne6Ls-FuoHJTzCQ314G62UxIuU/",
      "description": "Seattle Seahawks",
      "id": "aa779987-8002-4d5a-b8c2-5a2c4ea3e21c",
      "image_url": "https://cf-blast-storage.livelikecdn.com/assets/a7bba33c-7dd6-4402-bf06-63fb41979601.jpg",
      "translatable_fields": [
        "description"
      ]
    }
  ],
  "client_id": "UJQCf1jWIhKmQpOYdhe6H56Uc4Xp50b1zdVaOowO",
  "created_at": "2021-09-22T19:42:51.208351Z",
  "created_by": {
    "id": "1bf5b2ff-d82b-4400-b4eb-38a8d7bf538c"
  },
  "engagement_percent": "0.000",
  "id": "e19bd27d-d50d-4611-b97a-c49d2f8a4ecf",
  "impression_count": 1,
  "impression_url": "https://blastrt-prod-us-east-1.livelikecdn.com/api/v1/widget-impressions/image-quiz/e19bd27d-d50d-4611-b97a-c49d2f8a4ecf/",
  "interaction_url": "https://cf-blast.livelikecdn.com/api/v1/image-quizzes/e19bd27d-d50d-4611-b97a-c49d2f8a4ecf/interactions/",
  "interactive_until": "2022-01-18T18:53:56.510Z",
  "kind": "image-quiz",
  "program_id": "075a1d11-1489-4dd0-b7c4-a7642f5f517f",
  "publish_delay": "P0DT00H00M00S",
  "published_at": "2021-09-22T19:42:51.544816Z",
  "question": "Which team has won a Super Bowl more recently?",
  "schedule_url": "https://cf-blast.livelikecdn.com/api/v1/image-quizzes/e19bd27d-d50d-4611-b97a-c49d2f8a4ecf/schedule/",
  "scheduled_at": "2021-09-22T19:42:51.402535Z",
  "status": "published",
  "subscribe_channel": "program.widget.e19bd27d-d50d-4611-b97a-c49d2f8a4ecf",
  "timeout": "P0DT00H00M30S",
  "translatable_fields": [
    "question"
  ],
  "unique_impression_count": 1,
  "url": "https://cf-blast.livelikecdn.com/api/v1/image-quizzes/e19bd27d-d50d-4611-b97a-c49d2f8a4ecf/",
  "widget_interactions_url_template": "https://cf-blast.livelikecdn.com/api/v1/profiles/{profile_id}/widget-interactions/?image_quiz_id=e19bd27d-d50d-4611-b97a-c49d2f8a4ecf"
}

Changes