Get a Tag
Get the details of a tag
URL | Requires Auth | HTTP Method |
---|---|---|
livechat/tags/:tagId | YES | GET |
Argument | Example | Required | Description |
---|---|---|---|
X-User-Id | myuser-name | Required | Your username hash (returned after you log in through the API) |
X-Auth-Token | myauth-token | Required | Your token (returned after you log in through the API) |
Argument | Example | Required | Description |
---|---|---|---|
tagId | pXkCRLGxD34y2FEZq | Required | Tag ID |
curl --location --request GET 'http://localhost:3000/api/v1/livechat/tags/:tagId\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-name'
{
"_id": "nNJntq2n6GBdR8JC4",
"name": "331",
"numDepartments": 2,
"departments": [
"kxL4qaa29SMpy3ZXG",
"WRY3EFGAT9Xh5NFBv"
],
"_updatedAt": "2022-11-28T07:17:31.973Z",
"description": "xfgh",
"success": true
}
Last modified 2mo ago