---
title: "List switchable attributes for the current user"
method: GET
path: "/v1/user-attribute-selections"
tags: ["User attributes"]
---

# List switchable attributes for the current user

`GET /v1/user-attribute-selections`

## Request

- Base URL: `https://blobsrus.omniapp.co/api`
- URL: `https://blobsrus.omniapp.co/api/v1/user-attribute-selections`
- Auth: HTTP bearer

Retrieve the [user attributes](/administration/users/attributes/user-selected) the calling user can switch, along with any switch that is currently active.

If the calling user is using a PAT, the token will act as the authenticating user. An Organization API key will act as the key's creator.

## Response `200`

The caller's switchable attributes and active switches.

If nothing is provisioned for the calling user, the `records` in the response will be empty.

An **Organization Admin** will get a record for every attribute with `allow_any_value: true`, whether or not anything is provisioned for them.

- UserAttributeSelectionsResponse
  - `records` object[], required: Attributes the calling user can switch. Empty when nothing is provisioned for them. An Organization Admin receives every attribute with `allow_any_value: true`.
    - `user_attribute_id` string, required: Unique identifier for custom attributes. Empty string for system-defined attributes.
    - `name` string, required: Reference name used in model SQL and in embed SSO URL parameters. Unique within the organization. Must start with a letter, contain only letters, numbers and underscores, and must not start with `omni_`.
    - `label` string, required: Display name shown in the Omni UI. Unique among the custom attributes in the organization, and may match the label of a system attribute. Must not start with `Omni` and must not be one of the reserved connection labels: `Host`, `Password`, `Database`, `Port`, `Schema`, `Connection Name`.
    - `multiple_values` boolean, required: Whether the attribute accepts an array of values.
    - `allow_any_value` boolean, required: Whether the user or group can switch to a value that is not listed. When `true`, `selectable_values` are suggestions.
    - `selectable_values` string[], required: The provisioned values. When `allow_any_value` is `true`, up to 200 suggestions drawn from values assigned to users in the organization.
    - `selected_values` string[], required: The active switch, or `null` when the assigned value applies.

## Other responses

- `401`: Authentication required
- `405`: Method Not Allowed - Invalid HTTP method for this endpoint
- `429`: Too Many Requests - Rate limit exceeded (60 requests/minute)
- `500`: Internal Server Error

## Changes

- **2026-11-03** `43290040f88f`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omni/apis/omni-api/changes/v1/user-attribute-selections/get.md)

---

[API](https://skmtc.dev/omni/apis/omni-api.md) - [All operations](https://skmtc.dev/omni/apis/omni-api/llms.txt) - [OpenAPI document](https://skmtc.dev/omni/apis/omni-api/revisions/43290040f88f?raw)
