---
title: "POST /api/public/trainees/pending"
method: POST
path: "/api/public/trainees/pending"
tags: ["Trainees"]
---

# POST /api/public/trainees/pending

`POST /api/public/trainees/pending`

## Request

- Base URL: `https://api.coach-platform.com`
- URL: `https://api.coach-platform.com/api/public/trainees/pending`
- Auth: HTTP bearer

Approve or reject trainees from the coach's approval queue, which GET /trainees?status=pending lists. Approving counts them against the coach's trainee limit and returns 422 if that limit would be exceeded.

## Headers

- `Idempotency-Key` string

## Request body

- object
  - `traineeIds` string[], required: Ids of trainees currently in the pending queue. Ids that are not pending make the whole request fail with 422.
  - `approve` boolean, required: true to approve the trainees, false to reject them.

## Response `200`

Successful response

- object: Successful response
  - `data` object
    - `success` boolean

## Other responses

- `400`: Default Response
- `401`: Default Response
- `403`: Default Response
- `404`: Default Response
- `409`: Default Response
- `429`: Default Response
- `500`: Default Response

## Changes

- **2026-09-07** `3415f727fede`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/coach-platform/apis/coach-platform-api/changes/api/public/trainees/pending/post.md)

---

[API](https://skmtc.dev/coach-platform/apis/coach-platform-api.md) - [All operations](https://skmtc.dev/coach-platform/apis/coach-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/coach-platform/apis/coach-platform-api/revisions/c75a8bd18dee?raw)
