List teams from all associated departments
GET {{baseUrl}}/api/v1/teams
This API fetches details of all teams created in all departments to which the current user belongs.
OAuth Scope
Desk.settings.READ
Desk.basic.READ
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"teams":[{"rolesWithSubordinates":[],"departmentId":"17000000007253","roles":[],"name":"Sales Reps.","description":"Sales teams for winning customers.","derivedAgents":[],"id":"17000000013003","subTeams":[],"agents":[]},{"rolesWithSubordinates":[],"departmentId":"17000000009326","roles":[],"name":"Support Teams","description":"Support teams for solving customer issues.","derivedAgents":[],"id":"17000000013005","subTeams":[],"agents":[]},{"rolesWithSubordinates":[],"departmentId":"17000000007253","roles":[],"name":"Engineering","description":"Developers and Engineers.","derivedAgents":[],"id":"17000000013001","subTeams":[],"agents":[]}]}