Create Image Number Prediction Follow-up

Changed on
post/image-number-prediction-follow-ups/

Request

  • Base URL
    https://cf-blast.livelikecdn.com/api/v1
  • URL
    https://cf-blast.livelikecdn.com/api/v1/image-number-prediction-follow-ups/
  • Auth
    none required

Request body

image_number_prediction_idstring required

The ID of the Number prediction to create this follow-up for

sponsor_idsstring[]

Links the sponsors with this Follow-up. Note that only valid sponsor_ids will be linked to a Follow-up.

Response

201

idstring
pubnub_enabledboolean
urlstring
program_idstring
client_idstring
image_number_prediction_idstring
image_number_prediction_urlstring
timeoutstring
published_atunknown
scheduled_atunknown
interactive_untilunknown
created_atstring
subscribe_channelstring
kindstring
questionstring
required_correctstring
program_date_timeunknown
publish_delaystring
interaction_urlstring
impression_urlstring
impression_countinteger
unique_impression_countinteger
engagement_countunknown
engagement_percentunknown
statusstring
schedule_urlstring
rewards_urlunknown
translationsobject
custom_dataunknown
claim_urlstring
widget_interactions_url_templatestring
playback_time_msunknown

Example response

{
  "id": "08de21ac-1ec8-4f00-a76d-97617dca1a5f",
  "pubnub_enabled": true,
  "url": "https://cf-blast.livelikecdn.com/api/v1/image-number-prediction-follow-ups/08de21ac-1ec8-4f00-a76d-97617dca1a5f/",
  "program_id": "09d93835-ee52-4757-976c-ea09d6a5798c",
  "client_id": "8PqSNDgIVHnXuJuGte1HdvOjOqhCFE1ZCR3qhqaS",
  "image_number_prediction_id": "bbc832e1-496e-403f-804e-4305e997b646",
  "image_number_prediction_url": "https://cf-blast.livelikecdn.com/api/v1/image-number-predictions/bbc832e1-496e-403f-804e-4305e997b646/",
  "timeout": "P0DT00H00M30S",
  "created_at": "2023-12-01T09:15:59.444956Z",
  "subscribe_channel": "program.widget.09d93835-ee52-4757-976c-ea09d6a5798c",
  "kind": "image-number-prediction-follow-up",
  "options": [
    {
      "id": "c005e7c1-932e-40de-9e8b-a38bfb4a67bd",
      "url": "https://cf-blast.livelikecdn.com/api/v1/image-number-prediction-options/c005e7c1-932e-40de-9e8b-a38bfb4a67bd/",
      "description": "test1",
      "correct_number": 2,
      "image_url": "http://www.google.com/",
      "translatable_fields": [
        "description"
      ]
    }
  ],
  "question": "test",
  "required_correct": "all",
  "publish_delay": "P0DT00H00M00S",
  "interaction_url": "https://cf-blast.livelikecdn.com/api/v1/image-number-prediction-follow-ups/08de21ac-1ec8-4f00-a76d-97617dca1a5f/interactions/",
  "impression_url": "https://blast-prod-us-east-1.livelikeblast.com/api/v1/widget-impressions/image-number-prediction-follow-up/08de21ac-1ec8-4f00-a76d-97617dca1a5f/",
  "status": "pending",
  "created_by": {
    "id": "fccbb60d-c8b0-49fd-958c-87dc8f059bf8"
  },
  "schedule_url": "https://cf-blast.livelikecdn.com/api/v1/image-number-prediction-follow-ups/08de21ac-1ec8-4f00-a76d-97617dca1a5f/schedule/",
  "claim_url": "https://blast-prod-us-east-1.livelikeblast.com/api/v1/widget-interaction-claims/image-number-prediction/bbc832e1-496e-403f-804e-4305e997b646/claims/",
  "widget_interactions_url_template": "https://cf-blast.livelikecdn.com/api/v1/profiles/{profile_id}/widget-interactions/?image_number_prediction_id=bbc832e1-496e-403f-804e-4305e997b646"
}

Changes