Skip to main content

Create

Create Group

curl --location 'https://{{base_url}}/v3/group' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data '{
"group_name": "Group01",
"group_description": ""
}'

Response trả về:

{
"created": true,
"group_uuid": "446401ea-bb08-4a71-9fd8-22dfb15072e5"
}

Error Response trả về:

{
"error": "group_name is exists"
}

API dùng để tạo nhóm trên callcenter.

HTTP Request

POST https://{{base_url}}/v3/group

Body

Sample data:

{
"group_name": "Group01",
"group_description": ""
}
ParameterDescriptionRequiredExample
group_nameTên nhómxGroup01
group_descriptionMô tả nhóm