Skip to main content
POST
/
v1
/
workspace
/
website
/
{website_id}
/
team
Add team member
curl --request POST \
  --url https://apidev.lindo.ai/v1/workspace/website/{website_id}/team \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "email": "[email protected]",
  "role": "Editor"
}
'
{
  "success": true,
  "result": {
    "member_id": "member_abc123",
    "email": "[email protected]",
    "role": "Editor",
    "created_date": "2024-01-15T10:30:00Z"
  }
}

Authorizations

Authorization
string
header
required

Enter your API key (starts with lindo_sk_)

Path Parameters

website_id
string
required

Unique identifier of the website

Example:

"website_abc123"

Body

application/json
email
string<email>
required

Email address of the team member to add

role
enum<string>
required

Role for the team member

Available options:
Editor,
Commenter
Example:

"Editor"

Response

Team member added successfully

success
enum<boolean>
required

Indicates the operation was successful

Available options:
true,
false
Example:

true

result
object
required