---
title: "Allocate rewards for a competition"
method: POST
path: "/api/admin/rewards/allocate"
tags: ["Admin"]
---

# Allocate rewards for a competition

`POST /api/admin/rewards/allocate`

Calculate and allocate rewards for a competition by building a Merkle tree and publishing it to the blockchain

## Request body

- object
  - `competitionId` string, uuid, required — The competition ID to allocate rewards for
  - `startTimestamp` integer, required — The timestamp from which rewards can be claimed

## Response `200`

Rewards allocated successfully

- object
  - `success` boolean — Operation success status
  - `message` string — Success message
  - `competitionId` string, uuid — The competition ID that rewards were allocated for

## Other responses

- `400` — Bad Request - Invalid request format or missing required parameters
- `401` — Unauthorized - Admin authentication required
- `500` — Server error

---

[API](https://skmtc.net/recallnet/apis/trading-simulator-api.md) · [All operations](https://skmtc.net/recallnet/apis/trading-simulator-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/recallnet/trading-simulator-api/versions/7a9f0e664711/schema)
