Links

Get one Priority

Gives the details of a Priority
This endpoint has been renamed to Get a Priority as from Rocket.Chat 5.0
URL
Requires Auth
HTTP Method
livechat/priority.getOne
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)

Parameters

Argument
Example
Required
Description
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 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.