---
title: "Get all participants of a challenge"
method: GET
path: "/api/v5/challenges/coaching/participants/"
tags: ["Challenges Coaching"]
---

# Get all participants of a challenge

`GET /api/v5/challenges/coaching/participants/`

## Request

- Base URL: `https://api.pavlok.com`
- URL: `https://api.pavlok.com/api/v5/challenges/coaching/participants/`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/pavlok/apis/pavlok-api-v5/docs/api/v5/challenges/coaching/participants/get.ts> (a function with typed inputs; its response is checked against the schema)

Get all participants of a challenge

## Query parameters

- `challenge_id` integer, required

## Response `200`

Successful Response

- ListOfChallengeParticipantForCoachInResponse
  - `participants` ChallengeParticipantForCoach[], required
    - `userId` integer, required
    - `username` string
    - `email` string
    - `firstName` string
    - `lastName` string
    - `profilePictureUrl` string
    - `teamName` string, required
    - `teamId` integer, required
    - `approvedUserHabitsCount` integer
    - `totalUserHabitsCount` integer
    - `rank` integer
    - `points` integer

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pavlok/apis/pavlok-api-v5.md) - [All operations](https://skmtc.dev/pavlok/apis/pavlok-api-v5/llms.txt) - [OpenAPI document](https://skmtc.dev/pavlok/apis/pavlok-api-v5/revisions/3d192098b1ac?raw)
