preferences
Preferred common behaviors to be shared across clients.
getView user preferences
https://mastodon.example/api/v1/preferences
Preferences defined by the user in their account settings.
Returns: Preferences by key and value
OAuth: User token + read:accounts
Version history:
2.8.0 - added
Request
Headers
Authorization
required
string
Bearer <user token>
Response
200: Success
{
"posting:default:visibility": "public",
"posting:default:sensitive": false,
"posting:default:language": null,
"reading:expand:media": "default",
"reading:expand:spoilers": false
}
401: Unauthorized
Incorrect Authorization header
{
"error": "The access token is invalid"
}
Last updated December 27, 2020 · Improve this page