---
title: "Claim the prize(s) associated with an Activity."
method: POST
path: "/opt-ins/{opt_in_id}/claim-activity-prize"
tags: ["Quests"]
---

# Claim the prize(s) associated with an Activity.

`POST /opt-ins/{opt_in_id}/claim-activity-prize`

## Request

- Base URL: `https://loyalty.headliner.page/partner-api`
- URL: `https://loyalty.headliner.page/partner-api/opt-ins/{opt_in_id}/claim-activity-prize`
- Auth: API key in header `X-API-Key`
- TypeScript: <https://skmtc.dev/hang/apis/hang-partner-api-params-in-formdata/docs/opt-ins/:opt_in_id/claim-activity-prize/post.ts> (a function with typed inputs; its response is checked against the schema)

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

## Path parameters

- `opt_in_id` string, required

## Request body `multipart/form-data`

- object
  - `activity_id` string, required: the id of the Activity whose prize(s) you wish to claim

## Response `200`

Successful response

- object
  - `prize` object, required

---

[API](https://skmtc.dev/hang/apis/hang-partner-api-params-in-formdata.md) - [All operations](https://skmtc.dev/hang/apis/hang-partner-api-params-in-formdata/llms.txt) - [OpenAPI document](https://skmtc.dev/hang/apis/hang-partner-api-params-in-formdata/revisions/39bd91477af0?raw)
