Get User Selectable Statuses


This request returns a list of statuses the user can select as status.
Use this call to set up the list of statuses the user can select as new status.

Use the 'name' value to set the new status. Use the icon value to show the corresponding icon in the list of selectable statuses.

Resource

GET /me/selectable_statuses

Parameters

None

Payload

None

Context

Authorization

User

Errors

Example

Request
GET https://xelion.nl/api/v1/master/me/selectable_statuses
Response
{
    "data": [
        {
            "object": {
                "name": "dont_disturb",
                "icon": "statusDND"
            }
        },
        {
            "object": {
                "name": "at_appointment",
                "icon": "statusAppointment"
            }
        },
        {
            "object": {
                "name": "available",
                "icon": "statusGreen"
            }
        },
        {
            "object": {
                "name": "automatic",
                "icon": "statusAutomatic"
            }
        },
        {
            "object": {
                "name": "unavailable",
                "icon": "statusRed"
            }
        },
        {
            "object": {
                "name": "Xelion",
                "icon": "statusBlue"
            }
        }
    ],
    "meta": {
        "links": [
            {
                "rel": "refresh",
                "href": "https://xelion.nl/api/v1/master/me/selectable_statuses",
                "method": "GET"
            }
        ]
    }
}