Skip to main content

Get User's Settings

This endpoint retrieves all current user's settings for the authenticated user. See UserSettings for the list of possible user settings.

info

This operation requires authentication.

HTTP Request

GET /api/v2/user/{id}/settings/

Parameters

NameInTypeRequiredDescription
idpathstringtrueA unique integer value identifying the current user id

Example Request

const headers = {
'Content-Type':'application/x-www-form-urlencoded',
'Accept':'application/json',
'Authorization: Bearer <token>'
};

fetch('/api/v2/user/{id}/settings/',
{
method: 'GET',
headers: headers
})
.then(function(res) {
return res.json();
}).then(function(body) {
console.log(body);
});

Responses

StatusMeaningDescriptionSchema
200OKResponse status codeUser Settings

Example responses

{
"qa_frequency": "integer",
"email_notification_not_qa": "integer",
"mobile_notifications_scmty": "integer",
"toast_notifications_emit_sound": "integer",
"show_toast_notifications": "integer"
}