1. Docs
  2. API Reference
  3. Get the admin's preferences

Get the admin's preferences

GET/portal/v1/me/preferences

Authentication

  • Bearer Token Authorization

    JWT access token

Code samples

cURLJavaScriptPythonGo
curl -X GET "https://api.canopy.dev/portal/v1/me/preferences" \
  -H "Authorization: Bearer $CANOPY_TOKEN"

Responses

200 Returns the admin's persistent UI preferences (dismissed welcome banners, etc.). Missing keys mean the value has never been set; clients should treat them as the default.
{
  "ui_hints_dismissed": {
    "applications_intro": true,
    "access_control_intro": true
  }
}

application/json

  • ui_hints_dismissedany object*

    Map of UI hint keys the user has dismissed. Keys are stable identifiers (e.g. 'applications_intro'); a hint is dismissed when its key maps to true.

401 Invalid or expired token
403 This token is not authorized for this endpoint (wrong principal type — e.g., admin token on identity-only endpoint, or vice versa)

Returned object

On this page

Related endpoints

PATCHUpdate the admin's preferences