Links

Get a Tag

Get the details of a tag
URL
Requires Auth
HTTP Method
livechat/tags/:tagId
YES
GET

Headers

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)

Path Variable

Argument
Example
Required
Description
tagId
pXkCRLGxD34y2FEZq
Required
Tag ID

Example Call

curl --location --request GET 'http://localhost:3000/api/v1/livechat/tags/:tagId\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-name'

Result

{
"_id": "nNJntq2n6GBdR8JC4",
"name": "331",
"numDepartments": 2,
"departments": [
"kxL4qaa29SMpy3ZXG",
"WRY3EFGAT9Xh5NFBv"
],
"_updatedAt": "2022-11-28T07:17:31.973Z",
"description": "xfgh",
"success": true
}
Last modified 2mo ago
Deprecation for cloud services and apps is now extended to November 20, 2023. Rocket.Chat versions receive support for six months after release.