CorebanqCorebanq Developer Docs
User Preferencesv1

List a preference's options

Answered through the shared query layer, so the body is the list envelope.

GET
/v1/user-preferences/{user_id}/preferences/{preference_id}/options

Authorization

BearerAuth
AuthorizationBearer <token>

JWT Bearer token authentication

In: header

Path Parameters

user_id*string

Owner of the preferences. This is the record the preferences belong to, NOT the caller — an actor with the right record permission reads and writes another user's preferences through the same route.

preference_id*string

Identifier of the preference.

Response Body

application/json

curl -X GET "https://example.com/v1/user-preferences/497f6eca-6276-4993-bfeb-53cbbbba6f08/preferences/497f6eca-6276-4993-bfeb-53cbbbba6f08/options"
{
  "data": [
    {}
  ],
  "total": 0,
  "total_unfiltered": 0,
  "metadata": {},
  "keys": [
    "string"
  ],
  "has_more": true
}
Empty
Empty
Empty
Empty