---
title: "Retrieves a list of class enrollment custom fields"
slug: "retrieves-a-list-of-class-enrollment-custom-fields"
updated: 2024-10-25T18:04:27Z
published: 2026-02-10T22:32:35Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://docs.skillable.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Retrieves a list of class enrollment custom fields

Get/GetClassEnrollmentCustomFields

Retreives a list of all available custom fields for your organization.

SecurityAPI Key: api_keyHeader parameter nameapi_key

Responses200

OK Response

<select class='api-response-data' aria-label='Media type'><option value='a3e5c929-ed19-4071-b2c5-c2de54cfad71'>application/json</option>
</select>Expand Allobject  Statusinteger  (int32)    

Indicates the status of the API request.

0 = Success 10 = Error 20 = Not found 30 = Invalid integration key

Example10
Errorstring   | null  

Error details. This will only have a value if an error was encountered. The status property will also be set to Error (10).

Results Array of object (ClassEnrollmentCustomFields)   

This is the full list of class enrollment custom fields available to the requesting organization.

object  Idinteger  (int32)    

The custom field's unique identifier

Example10
Namestring    

The name of the custom field

ExampleCustomClassEnrollmentFieldName1
Descriptionstring   | null  

The description of the custom field

ExampleSample custom class enrollment field name 1
DataTypeIdinteger  (int32)    

The data type id of the custom field

- 0 = Textbox
- 10 = Dropdown List
- 20 = Checkbox
- 30 = Number
- 60 = User Selector
- 70 = Checkbox List

Example10
ListValues Array of string   

An array of type String representing the available selectable options in the case of Dropdown List and Checkbox List, for all other data types it will be an empty array ([])

Example[
  "string 1",
  "string 2",
  "string 3"
]string    
SortOrderinteger  (int32)    

The order in which this field will appear in the JSON response.

Example2
