Discussions

Ask a Question
Back to All

Get possible values from list for custom attributes

We can create or edit the attributes for employees in settings. One of the types that we can select is this list type. See screenshot here

How do we know what values are inside this list? There is this endpoint here which just gives us back all possible custom attributes and their type. Link

Is there also a way that we can fetch this specific list and get all possible values? I need this because I want to update via the API one of these values. Hence I exactly need to know what value is in the list.

Example:

List A with options

  • A
  • B
  • C

If I now try to write D as value, it will throw an error. I need to know that A, B and C are my list options and validate against these values on my side.