Claim quest prize

Claim the prize(s) associated with a Quest.

post

Prizes can exist on both the Quest and Activity levels. Invoke this endpoint to claim the prizes at the Quest level.

Authorizations
Path parameters
opt_in_idstringRequired

the id of the OptIn whose Quest's prize(s) is ready to be claimed.

Responses
200
Successful response
application/json
post
POST /partner-api/opt-ins/{opt_in_id}/claim-quest-prize HTTP/1.1
Host: 
X-API-Key: YOUR_API_KEY
Accept: */*
200

Successful response

{
  "prize": {
    "point_reward_value": 1,
    "sponsor_name": "text",
    "lootbox": {
      "id": "text",
      "name": "text",
      "description": "text",
      "background_gradient_start_color": "text",
      "background_gradient_stop_color": "text",
      "container_images": {
        "box_together": "text",
        "box_top": "text",
        "box_bottom": "text"
      },
      "lootbox_reward_choices": [
        {
          "id": "text",
          "title": "text",
          "subtitle": "text",
          "category": "text",
          "point_reward_value": 1,
          "reward_uuid": "text",
          "image": "text",
          "probability": 1,
          "reward": {
            "uuid": "text",
            "name": "text",
            "description": "text",
            "image_url": "text",
            "terms_and_conditions": "text",
            "metadata": {
              "ANY_ADDITIONAL_PROPERTY": "anything"
            }
          }
        }
      ],
      "metadata": {
        "ANY_ADDITIONAL_PROPERTY": "anything"
      }
    },
    "reward": {
      "uuid": "text",
      "name": "text",
      "description": "text",
      "image_url": "text",
      "terms_and_conditions": "text"
    }
  }
}