Skip to main content
POST
Create group
Required scopes: groups--all:rw

Authorizations

Authorization
string
header
required

Use your account ID as the username and your personal access token (PAT) as the password, or pass a Base64-encoded value directly in the Authorization header. For more information, see the personal access tokens guide.

Body

application/json
name
string
required

The group name.

Maximum string length: 180
agent_priorities
object
required

The agents' priorities in a group as a map in the "<id>": "<priority>" format.

language_code
string

The code of the group language.

Response

200 - application/json

Group created successfully.

id
integer

The ID of the newly created group.