Trainees
POST /api/public/trainees/pending
Changed onApprove 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.
Request
- Base URLhttps://api.coach-platform.com
- AuthHTTP bearer
Headers
Idempotency-Keystring
Optional. Send a unique key (e.g. a UUID) to make this POST safe to retry. The same key within 24h returns the original result instead of creating a duplicate.
Request body
Response
Successful response
Changes
- info
endpoint added
- info