---
title: "Sets your reward share"
method: POST
path: "/set-reward-share"
tags: ["POST"]
---

# Sets your reward share

`POST /set-reward-share`

## Request

- Base URL: `https://mainnet-api.tig.foundation`
- URL: `https://mainnet-api.tig.foundation/set-reward-share`
- Auth: none declared
- TypeScript: <https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/docs/set-reward-share/post.ts> (a function with typed inputs; its response is checked against the schema)

# Notes
* Can only be updated once every `block.config.deposits.reward_share_update_period` blocks
* Must be between 0 to `block.config.deposits.max_reward_share`

* Header `X-Api-Key` is required. Use `/request-api-key` endpoint. 
  
  * If `<api_key>` is invalid, a `401` error will be returned

## Headers

- `X-Api-Key` string

## Request body

- SetRewardShareRequest
  - `reward_share` number, double

## Response `200`

Success

- SetRewardShareResponse
  - `ok` boolean

## Changes

- **2024-11-27** `f857f902a23c`: 1 info
  - endpoint added
- **2024-05-31** `5523952546dd`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/changes/set-reward-share/post.md)

---

[API](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api.md) - [All operations](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tig-foundation/apis/the-innovation-game-api/revisions/2af9c398c1d4?raw)
