curl --request GET \
--url https://api.attention.tech/v2/teams \
--header 'Authorization: <api-key>'{
"data": [
{
"uuid": "fe515723-fe2e-4959-a5fa-c4d3937fe7e4",
"name": "Engineering",
"phrases": [
"engineering",
"tech",
"development"
],
"slackConnection": {
"id": "T1234567890",
"info": {
"id": "T1234567890",
"name": "Attention Tech"
}
},
"domain": "attention.tech",
"organizerJoinInternalMeetings": true,
"consentEmailEnabled": true,
"parentTeamUUID": "2ccf9bde-68e3-4de4-bc4e-51b927336665",
"organizationUUID": "16b78cec-82ef-46d2-8213-5d3bb7d2571c",
"children": "<array>"
}
],
"meta": {
"pageCount": 5,
"totalRecords": 100,
"pageNumber": 1,
"pageSize": 20
}
}Retrieves a list of all teams in the system. The response includes team details such as name, UUID, parent team information, and team hierarchy.
curl --request GET \
--url https://api.attention.tech/v2/teams \
--header 'Authorization: <api-key>'{
"data": [
{
"uuid": "fe515723-fe2e-4959-a5fa-c4d3937fe7e4",
"name": "Engineering",
"phrases": [
"engineering",
"tech",
"development"
],
"slackConnection": {
"id": "T1234567890",
"info": {
"id": "T1234567890",
"name": "Attention Tech"
}
},
"domain": "attention.tech",
"organizerJoinInternalMeetings": true,
"consentEmailEnabled": true,
"parentTeamUUID": "2ccf9bde-68e3-4de4-bc4e-51b927336665",
"organizationUUID": "16b78cec-82ef-46d2-8213-5d3bb7d2571c",
"children": "<array>"
}
],
"meta": {
"pageCount": 5,
"totalRecords": 100,
"pageNumber": 1,
"pageSize": 20
}
}Teams successfully retrieved
Response containing a list of teams and metadata
List of teams
Show child attributes
Unique identifier of the team
"fe515723-fe2e-4959-a5fa-c4d3937fe7e4"
Name of the team
"Engineering"
List of keywords or phrases associated with the team
["engineering", "tech", "development"]Represents the Slack integration details for a team
Show child attributes
Slack connection identifier
"T1234567890"
Domain associated with the team
"attention.tech"
Whether team organizers can join internal meetings
true
Whether email consent is enabled for the team
true
UUID of the parent team if this team is part of a hierarchy
"2ccf9bde-68e3-4de4-bc4e-51b927336665"
UUID of the organization this team belongs to
"16b78cec-82ef-46d2-8213-5d3bb7d2571c"
List of child teams if this team has a hierarchical structure
Was this page helpful?