---
updatedAt: 2025-06-16T20:58:09.000Z
agentTools:
  projectIndex: https://docs.livelike.com/llms.txt
---

# Get Unclaimed Widget Interactions

The `claim_token` is used to claim rewards from Prediction widgets. To claim the reward, make a `post` request to the Prediction Follow Up widget's `claim_url` field. The response will include the `rewards` array.

The Prediction Follow Up resource can be fetched directly by making a `get` request to the prediction Follow Up widget's `url` field.

Using the `Unclaimed Widget Interaction` response above, you can make a get request to Prediction widget, and access the Prediction Follow Up `claim_url` from within the Prediction resource.

```python
import requests

prediction_response = requests.get('https://cf-blast.livelikecdn.com/api/v1/text-predictions/509677e0-b40a-4d29-8c8b-e29f017f7e0c/')
prediction = prediction_response.json()
follow_up = prediction['follow_ups'][0]

claim_response = requests.post(follow_up['claim_url'])
claim = claim_response.json()
rewards = claim['rewards']
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "profiles",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://cf-blast.livelikecdn.com/api/v1/profiles"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/{profile_id}/unclaimed-widget-interactions/": {
      "get": {
        "summary": "Get Unclaimed Widget Interactions",
        "description": "",
        "operationId": "get-unclaimed-widget-interactions",
        "parameters": [
          {
            "name": "profile_id",
            "in": "path",
            "description": "Profile Id",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"previous\": null,\n  \"count\": 1,\n  \"next\": null,\n  \"results\": [\n    {\n      \"claim_token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.\",\n      \"created_at\": \"2021-12-27T08:02:57.000Z\",\n      \"id\": \"b9917148-baba-4100-a573-eaa2d9261cfd\",\n      \"is_correct\": false,\n      \"option_id\": \"cc0396be-163c-4f46-a562-6c1501a95375\",\n      \"profile_id\": \"e4c9772d-fc5d-4cd2-8cff-ee41a7fdeb0e\",\n      \"rewards\": [],\n      \"url\": \"https://cf-blast.livelikecdn.com/api/v1/profiles/e4c9772d-fc5d-4cd2-8cff-ee41a7fdeb0e/widget-interactions/text-prediction/509677e0-b40a-4d29-8c8b-e29f017f7e0c/b9917148-baba-4100-a573-eaa2d9261cfd/\",\n      \"widget_id\": \"509677e0-b40a-4d29-8c8b-e29f017f7e0c\",\n      \"widget_kind\": \"text-prediction\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "previous": {},
                    "count": {
                      "type": "integer",
                      "example": 1,
                      "default": 0
                    },
                    "next": {},
                    "results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "claim_token": {
                            "type": "string",
                            "example": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9."
                          },
                          "created_at": {
                            "type": "string",
                            "example": "2021-12-27T08:02:57.000Z"
                          },
                          "id": {
                            "type": "string",
                            "example": "b9917148-baba-4100-a573-eaa2d9261cfd"
                          },
                          "is_correct": {
                            "type": "boolean",
                            "example": false,
                            "default": true
                          },
                          "option_id": {
                            "type": "string",
                            "example": "cc0396be-163c-4f46-a562-6c1501a95375"
                          },
                          "profile_id": {
                            "type": "string",
                            "example": "e4c9772d-fc5d-4cd2-8cff-ee41a7fdeb0e"
                          },
                          "rewards": {
                            "type": "array"
                          },
                          "url": {
                            "type": "string",
                            "example": "https://cf-blast.livelikecdn.com/api/v1/profiles/e4c9772d-fc5d-4cd2-8cff-ee41a7fdeb0e/widget-interactions/text-prediction/509677e0-b40a-4d29-8c8b-e29f017f7e0c/b9917148-baba-4100-a573-eaa2d9261cfd/"
                          },
                          "widget_id": {
                            "type": "string",
                            "example": "509677e0-b40a-4d29-8c8b-e29f017f7e0c"
                          },
                          "widget_kind": {
                            "type": "string",
                            "example": "text-prediction"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false,
        "security": []
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```