Get one Priority

Gives the details of a Priority

URLRequires AuthHTTP Method

livechat/priority.getOne

YES

GET

Headers

ArgumentExampleRequiredDescription

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)

Parameters

ArgumentExampleRequiredDescription

priorityId

7Hu352k892rNh45j9

Required

Priority ID

Example Call

curl --location --request GET 'http://localhost:3000/api/v1/livechat/priorities.getOne?priorityId=7Hu352k892rNh45j9/
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myuser-name'

Result

{
    "_id": "7Hu352k892rNh45j9",
    "name": "Medium",
    "description": "Medium",
    "dueTimeInMinutes": 2,
    "_updatedAt": "2020-10-06T22:33:40.768Z",
    "success": true
}

Last updated

Rocket.Chat versions receive support for six months after release.