---
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

## Changes

- **2025-10-09** `c4fff489ea72` — 1 info
  - endpoint added
- **2025-06-30** `e0d0a475d4b6` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/recallnet/apis/trading-simulator-api/changes/api/admin/rewards/allocate/post.md)

---

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