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
| Name | In | Type | Required | Description | 
|---|---|---|---|---|
| id | path | string | true | A unique integer value identifying the current user id | 
Example Request
- JavaScript
- Bash
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);
});
# You can also use wget
curl -X POST /api/v2/user/{id}/settings/ \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  -H 'Accept: application/json'
  -H "Authorization: Bearer <token>"
Responses
| Status | Meaning | Description | Schema | 
|---|---|---|---|
| 200 | OK | Response status code | User Settings | 
Example responses
- 200
{
  "qa_frequency": "integer",
  "email_notification_not_qa": "integer",
  "mobile_notifications_scmty": "integer",
  "toast_notifications_emit_sound": "integer",
  "show_toast_notifications": "integer"
}