Fuselage
Custom User Status List
Lists all available custom user's status.
URL
Requires Auth
HTTP Method
/api/v1/custom-user-status.list
yes
GET

Example Call

1
curl -H "X-Auth-Token: 9HqLlyZOugoStsXCUfD_0YdwnNnunAJF8V47U3QHXSq" \
2
-H "X-User-Id: aobEdbYhXfu5hkeqG" \
3
http://localhost:3000/api/v1/custom-user-status.list
Copied!

Result

Success

1
{
2
"statuses": [
3
{
4
"_id": "oGxJ2irQcPkgFLGef",
5
"name": "status 1",
6
"statusType": "busy",
7
"_updatedAt": "2019-12-09T20:26:06.477Z"
8
},
9
{
10
"_id": "d3TjnQgKWttgaW9Hh",
11
"name": "status 2",
12
"statusType": "online",
13
"_updatedAt": "2019-12-09T20:25:10.884Z"
14
}
15
],
16
"count": 2,
17
"offset": 0,
18
"total": 4,
19
"success": true
20
}
Copied!

Errors

The following error can occur upon the endpoint.
  • Authorization: Requires an authentication token for the request to be made.
Authorization
1
{
2
"success": false,
3
"error": "unauthorized"
4
}
Copied!

Change Log

Version
Description
2.4.0
Added
Export as PDF
Copy link
Edit on GitHub