POST
/manager/chat-topics
curl \
--request POST 'https://domain.tld/api/v2/manager/chat-topics' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"active":true,"position":42,"color":"string","contents":[]}'
Request examples
{
"active": true,
"position": 42,
"color": "string",
"contents": []
}
Response examples (201)
{
"id_chat_topic": 8,
"color": "#FF0000",
"contents": [],
"position": 1,
"date_insert": "2021-06-01T00:00:00Z",
"roles": [
"administrator",
"seller"
],
"date_update": "2022-06-01T00:00:00Z",
"active": true
}