POST
/
v1
/
teams
/
{teamId}
/
members
curl --request POST \
  --url https://platform.thena.ai/v1/teams/{teamId}/members \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "email": "<string>",
  "userId": "<string>",
  "isAdmin": true
}'
{
  "id": "<string>",
  "name": "<string>",
  "email": "<string>",
  "invitedBy": "<string>",
  "teamId": "<string>",
  "teamName": "<string>",
  "isActive": true,
  "role": "<string>",
  "userType": "<string>",
  "isOwner": true,
  "avatarUrl": "<string>",
  "joinedAt": "<string>",
  "createdAt": "<string>"
}

Authorizations

x-api-key
string
header
required

Enter your API key

Path Parameters

teamId
string
required

Body

application/json

Response

201
application/json

Operation successful

The response is of type object.