Get a Priority

Get the details of a priority

URLRequires AuthHTTP Method

livechat/priorities/:priorityId

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)

Path Variables

ArgumentExampleRequiredDescription

priorityId

7Hu352k892rNh45j9

Required

Priority ID

Example Call

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

Result

{
    "_id": "idQkJgzTND3gBRNWJ",
    "name": "low",
    "description": "test",
    "dueTimeInMinutes": 2,
    "_updatedAt": "2022-10-04T13:48:07.371Z",
    "success": true
}

Last updated

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