Create a Team

Create a new team in an account.


Settings:

URL

https://online.99digital.co.il/api/v1/accounts/{account_id}/teams

Method

JSON via POST


Authorization:

Header Parameter

Description

api_access_token

user API key


The user API key provides access to endpoints based on the user permissions levels and can be obtained by visiting the profile page.


Path Parameters:

Parameter

Description

Required

account_id

The numeric id of the account

yes


Request body:

Parameter

type

Description

Required

name

string

The name of the team

yes

description

string

The description of the team

yes

allow_auto_assign

boolean

If set to true, the system would automatically assign the conversation to an agent in the team while assigning the conversation to a team

yes


Request body example:

{
  "name": "string",
  "description":"string",
  "allow_auto_assign": true
}


Response:

{
    "id": 0,
    "name": "string",
    "description": "string",
    "allow_auto_assign": true,
    "account_id": 0,
    "is_member": true
}


Response-Explain:

Parameter

Description

id

The numeric id of the team

name

The name of the team

description

The description about the team

allow_auto_assign

Indicates whether auto assignment setting is enabled

account_id

The numeric id of the account

is_member

Indicates whether the current user is a member of the team