# Add Team Member

> This endpoint adds a new team member to the specified team.

## Endpoint

`POST https://api.upstash.com/v2/teams/member`

## Request body

- `team_id` (string, required): Id of the team to add the member to
- `member_email` (string, required): Email of the new team member
- `member_role` (enum<string>, required): Role of the new team member

## Responses

### 200 - Team member added successfully

- `team_id` (string): ID of the team
- `team_name` (string): Name of the team
- `member_email` (string): Email of the team member
- `member_role` (enum<string>): Role of the team member
- `copy_cc` (boolean): Whether to copy existing credit card information to team member or not

## cURL

```bash
curl --request POST \
  --url https://api.upstash.com/v2/teams/member \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "team_id": "95849b27-40d0-4532-8695-d2028847f823",
    "member_email": "example@upstash.com",
    "member_role": "dev"
  }'
```
