Overview
GET
/me/appearancesettingsThe caller's appearance preferences (empty object when never saved)
Every adh site reads this on sign-in so a user's colour mode and accessibility settings follow them across the family (the sites span many registrable domains, so a browser-local copy cannot). A signed-out visitor follows their OS setting instead.
Auth: bearerAuth — calls run as the authenticated user.
Responses
200
The appearance preferences
- prefsobject
Empty object when the user has never saved a preference (client defaults apply)
Example
{
"prefs": {
"colorMode": "auto",
"reduceMotion": "auto",
"contrast": "default",
"textSize": "default",
"spacing": "compact",
"focusOutlines": true,
"underlineLinks": true
}
}401
Error
- erroroptionalobject
Example
{
"error": {
"message": "string",
"code": "string"
}
}Code examples
cURL
curl -X GET "https://api.agenticdeveloperhub.com/me/appearance" \
-H "Authorization: Bearer YOUR_TOKEN"JavaScript
const res = await fetch("https://api.agenticdeveloperhub.com/me/appearance", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
},
});
const data = await res.json();