---
title: "Add team member"
method: POST
path: "/v1/workspace/website/{website_id}/team"
tags: ["Website Management"]
---

# Add team member

`POST /v1/workspace/website/{website_id}/team`

## Request

- Base URL: `https://api.lindo.ai`
- URL: `https://api.lindo.ai/v1/workspace/website/{website_id}/team`
- Auth: HTTP bearer

Adds a team member to a website with Editor or Commenter role.

## Path parameters

- `website_id` string, required: Unique identifier of the website

## Request body

- WebsiteTeamMemberAddRequest
  - `email` string, email, required: Email address of the team member to add
  - `role` 'Editor' | 'Commenter', required: Role for the team member

## Response `200`

Team member added successfully

- WebsiteTeamMemberAddResponse
  - `success` true, required: Indicates the operation was successful
  - `result` WebsiteTeamMemberAddResult, required
    - `member_id` string, required: Unique identifier of the team member
    - `email` string, required: Email address of the team member
    - `role` string, required: Role assigned to the team member
    - `created_date` string, required: Date when the team member was added

## Other responses

- `400`: Bad request - email already exists or validation error
- `401`: Unauthorized - invalid or missing API key
- `404`: Website not found
- `500`: Internal server error

---

[API](https://skmtc.dev/lindo/apis/lindo-unified-api.md) · [All operations](https://skmtc.dev/lindo/apis/lindo-unified-api/llms.txt) · [OpenAPI document](https://skmtc.dev/lindo/apis/lindo-unified-api/revisions/2672f34525a4?raw)
