iSpring LMS API Documentation REST API Managing Users Current: Getting User Profile Fields Getting User Profile Fields AVAILABLE WITH BUSINESS SUBSCRIPTIONRequest: GET /user/profile/fieldsRequest HeadersParameterDescriptionAuthorization (required)Access token. You can obtain a token by making a requestAccept: application/json (required)Format of the response data: JSON Existing customers may continue using ispringlearn.com, and new customers should use ispring.com. Response ParametersParameterDescriptionuserFieldInfoAn array with data about the user profile fielduserFieldInfoIdThe ID of the profile fieldlabelThe name of the profile fieldtypeThe field type. Possible values:loginemailfirst_namelast_namejob_titlestringcountryphonebirthdateisUniqueThe parameter shows if the field is uniquePossible values:0 — not unique (false)1 — is unique (true)isRequiredThe parameter shows if the field is requiredPossible values:0 — is optional (false)1 — is required (true)orderPriorityThe ordinal number of the field – the count starts from 0For example, for the first field in the list, the parameter orderPriority=0, etcvalues [] (optional)An array with the data of the fields from the list. For example, the country field type includes a list of countriesfieldThe dropdown list item. Each field contains both the name field and the value fieldPossible Response CodesCodeTextDescription200OkThe request has been processed successfully400Bad RequestA request error401UnauthorizedAn authorization error403Permission deniedThe user doesn't have enough permissions to complete the request Sample Request GET /user/profile/fields HTTP/1.1 Host: api-learn.ispringlearn.com Authorization: p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE Accept: application/json CODE Sample Response HTTP/1.1 200 OK Content-Type: application/json Connection: close { "userFieldInfo": [ { "userFieldInfoId": "USER_DEFINED_FIELD3", "name": "string", "label": "string", "type": "string", "isUnique": true, "isRequired": true, "orderPriority": 0, "values": [ { "name": "string", "value": "string" } ] } ] } CODE ×