Create team
POST {{baseUrl}}/api/v1/teams
This API creates a team in your help desk portal.
OAuth Scope
Desk.settings.CREATE
Desk.basic.CREATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name (required) | <String> | Name of the team |
description | <String> | A short description of the team |
departmentId (required) | <Long> | ID of the department to which the team belongs |
subTeams | <list> | List of sub-teams within the team |
roles | <list> | List of roles to add to the team |
rolesWithSubordinates | <list> | List of roles with subordinates to add to the team |
agents | <list> | List of agents to add to the team |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"rolesWithSubordinates":["6000000008684","6000000008686"],"departmentId":"6000000009893","roles":["6000000011311","6000000011309","6000000011307"],"name":"Sales Representatives","description":"Sales teams for customer engagement.","derivedAgents":["6000000009086","6000000012003"],"id":"6000000014007","subTeams":["6000000012001"],"agents":["6000000009086"]}