---
title: "Add members"
method: POST
path: "/challenge/{public_id}/members/"
tags: ["challenge"]
---

# Add members

`POST /challenge/{public_id}/members/`

Add members to a team.

Note: for now if the challenge is a team challenge and no team is specified, the first team for the specified profile is
used. Do note that this is a temporary fix and may be removed at any time.

Note: for the GET/POST endpoint an admin bearer token is required, while the GET also accepts profile bearer tokens

## Request body

- ProfilePublicIdsListAndTeamAsPublicId
  - `profiles` string[], required
  - `is_active` boolean — Whether profile actively participates in challenge. While inactive, scores/leaderboard will not be updated but still be visible.
  - `team` string, uuid — A team public_id is expected

## Response `201`

Created

- ProfilePublicIdsListAndTeamAsPublicId
  - `profiles` string[], required
  - `is_active` boolean — Whether profile actively participates in challenge. While inactive, scores/leaderboard will not be updated but still be visible.
  - `team` string, uuid — A team public_id is expected

---

[API](https://skmtc.net/wefitter/apis/wefitter-api.md) · [All operations](https://skmtc.net/wefitter/apis/wefitter-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/wefitter/wefitter-api/revisions/52b0eb5e8b96/schema)
