Skip to main content
POST
/
organizations
/
teams
Create Team
curl --request POST \
  --url https://api.attention.tech/v2/organizations/teams \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Marketing",
  "parentTeamUUID": "2ccf9bde-68e3-4de4-bc4e-51b927336665"
}
'
{
  "data": {
    "name": "[Attention] Marketing",
    "uuid": "5d350a34-6c8d-4408-b0d6-6cfac4782e1f"
  }
}

Authorizations

Authorization
string
header
required

Body

The details of the team to be created

name
string
required
parentTeamUUID
string

Response

Team successfully created

data
object

Represents a team in the system with its properties and hierarchical structure

Example:
{
"uuid": "fe515723-fe2e-4959-a5fa-c4d3937fe7e4",
"name": "Engineering",
"phrases": ["engineering", "tech", "development"],
"domain": "attention.tech",
"organizerJoinInternalMeetings": true,
"consentEmailEnabled": true,
"parentTeamUUID": "2ccf9bde-68e3-4de4-bc4e-51b927336665",
"organizationUUID": "16b78cec-82ef-46d2-8213-5d3bb7d2571c"
}