---
title: "Add member"
method: PUT
path: "/challenge/{public_id}/member/"
tags: ["challenge"]
---

# Add member

`PUT /challenge/{public_id}/member/`

Add member 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.

## Request body

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

## Response `200`

OK

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

---

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