Skip to main content
POST
/
v1
/
teams
cURL
curl --request POST \
  --url https://platform.thena.ai/v1/teams \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "icon": "<string>",
  "color": "<string>",
  "identifier": "<string>",
  "parentTeamId": "<string>",
  "isPrivate": true
}'
{
  "status": true,
  "message": "Success",
  "timestamp": "2024-01-01T00:00:00.000Z",
  "data": {
    "id": "<string>",
    "name": "<string>",
    "icon": "<string>",
    "color": "<string>",
    "parentTeamId": "<string>",
    "parentTeamName": "<string>",
    "teamId": "<string>",
    "identifier": "<string>",
    "description": "<string>",
    "teamOwner": "<string>",
    "teamOwnerId": "<string>",
    "fallbackSubTeam": "<string>",
    "createdAt": "<string>",
    "isActive": true,
    "isPrivate": true,
    "archivedAt": "<string>",
    "updatedAt": "<string>"
  }
}

Authorizations

x-api-key
string
header
required

Enter your API key

Body

application/json
name
string
required

The name of the team

description
string

The description of the team

icon
string

The icon of the team

color
string

The color of the team

identifier
string

The identifier of the team

parentTeamId
string

The parent team ID of the team

isPrivate
boolean

Whether the team is private

Response

Operation successful

status
boolean
default:true
required

The status of the response

message
string
default:Success
required

The message of the response

timestamp
string<date-time>
default:2024-01-01T00:00:00.000Z
required

The timestamp of the response

data
object
required

The response for create/update/delete team operations