Create Text Prediction Follow-up

Changed on
post/text-prediction-follow-ups/

Request

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

Request body

text_prediction_idstring required

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

correct_option_idstring required

The ID of the option to mark as correct

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
text_prediction_idstring
text_prediction_urlstring
correct_option_idunknown
timeoutstring
published_atunknown
scheduled_atunknown
interactive_untilunknown
created_atstring
subscribe_channelstring
kindstring
questionstring
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": "f2324ce8-e489-44f9-94fb-cf856a98fc93",
  "pubnub_enabled": true,
  "url": "https://cf-blast.livelikecdn.com/api/v1/text-prediction-follow-ups/f2324ce8-e489-44f9-94fb-cf856a98fc93/",
  "program_id": "94762042-f447-42e8-aea8-07ad65edd910",
  "client_id": "8PqSNDgIVHnXuJuGte1HdvOjOqhCFE1ZCR3qhqaS",
  "text_prediction_id": "5f1a5c3f-a17c-4f97-b88f-59a3e72ef013",
  "text_prediction_url": "https://cf-blast.livelikecdn.com/api/v1/text-predictions/5f1a5c3f-a17c-4f97-b88f-59a3e72ef013/",
  "timeout": "P0DT00H00M30S",
  "created_at": "2023-12-13T06:35:28.059748Z",
  "subscribe_channel": "program.widget.94762042-f447-42e8-aea8-07ad65edd910",
  "kind": "text-prediction-follow-up",
  "options": [
    {
      "id": "48b9a173-a100-4751-9d30-cc33bef035e0",
      "url": "https://cf-blast.livelikecdn.com/api/v1/text-prediction-options/48b9a173-a100-4751-9d30-cc33bef035e0/",
      "description": "1",
      "vote_url": "https://blast-prod-us-east-1.livelikeblast.com/api/v1/widget-interactions/text-prediction/5f1a5c3f-a17c-4f97-b88f-59a3e72ef013/options/48b9a173-a100-4751-9d30-cc33bef035e0/votes/eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbmNyeXB0ZWQiOiJnQUFBQUFCbGVWQ3dpendjOFFQX3RqVWZXZ0xLZ2pSdVF3a2l6bUsyeWNUVEVHXzZfU0F0eW1PT2FGZXNsY1c3WkJJbVdNbkhRa2Vkcnl3VGcteHhKZkx4QmR4cWxhNkVkUT09IiwiaXNzIjoiYmxhc3QiLCJpYXQiOjE3MDI0NDkzMjh9.LQBrAc55k1k-FA-l_qcifRrs8DMxxqUm3_Vn-GhvZ9E/",
      "translatable_fields": [
        "description"
      ]
    }
  ],
  "question": "new",
  "publish_delay": "P0DT00H00M00S",
  "interaction_url": "https://cf-blast.livelikecdn.com/api/v1/text-prediction-follow-ups/f2324ce8-e489-44f9-94fb-cf856a98fc93/interactions/",
  "impression_url": "https://blast-prod-us-east-1.livelikeblast.com/api/v1/widget-impressions/text-prediction-follow-up/f2324ce8-e489-44f9-94fb-cf856a98fc93/",
  "status": "pending",
  "created_by": {
    "id": "fccbb60d-c8b0-49fd-958c-87dc8f059bf8"
  },
  "schedule_url": "https://cf-blast.livelikecdn.com/api/v1/text-prediction-follow-ups/f2324ce8-e489-44f9-94fb-cf856a98fc93/schedule/",
  "claim_url": "https://blast-prod-us-east-1.livelikeblast.com/api/v1/widget-interaction-claims/text-prediction/5f1a5c3f-a17c-4f97-b88f-59a3e72ef013/claims/",
  "widget_interactions_url_template": "https://cf-blast.livelikecdn.com/api/v1/profiles/{profile_id}/widget-interactions/?text_prediction_id=5f1a5c3f-a17c-4f97-b88f-59a3e72ef013"
}

Changes