---
title: "API: listCustomFields"
slug: "api-listcustomfields"
updated: 2022-08-23T18:14:17Z
published: 2022-08-23T18:14:17Z
canonical: "support.smarteru.com/api-listcustomfields"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://support.smarteru.com/llms.txt
> Use this file to discover all available pages before exploring further.
# API: listCustomFields
- Starting June 1, 2022, SmarterU will require all API calls to POST to HTTPS. Any POST to HTTP will result in the SU:01 error (i.e., No POST data detected.).
- If you are viewing the help in a language other than English, please change your language to English before copying and pasting any code. All API attributes and functions are in English.
- Tags are required unless specified.
## **D****escription**
The listCustomFields method retreives [custom user fields](/v1/docs/account-custom-user-fields) and [custom organization fields](/v1/docs/account-custom-organization-fields).
## Who Has Access
[Administrators and owners](/v1/docs/user-profile-information#access-level) have access to the listCustomFields method.
## API Call XML Package
```markup
listCustomFields
```
## CustomField Tag Group
The CustomField tag is required, but does not require any values.
## API Response XML Package
The [API response XML package](/v1/docs/api-response-xml-package) will always include a Result, Info, and [Errors](/v1/docs/api-listcustomfields#error-codes) tag.
```markup
![CDATA[]]
![CDATA[]]
![CDATA[]]
![CDATA[]]
![CDATA[]]
![CDATA[]]
![CDATA[]]
![CDATA[]]
![CDATA[]]
![CDATA[]]
![CDATA[]]
```
The CustomFields tag is a container for the custom fields returned by the listCustomFields method. Each custom field is contained in a CustomField tag and may contain the following.
### ID
The custom field's system-generated identifier.
### Name
The custom field's name.
### CreatedDate
The date the custom field was added to the account.
### ModifiedDate
The last date the custom field was edited.
### Type
Indicates the custom field's type:
- *User* - This is a [custom user field](/v1/docs/account-custom-user-fields).
- *Organization* - This is a [custom organization field](/v1/docs/account-custom-organization-fields).
### DataType
The custom field's data type (i.e., date, text, hierarchy).
### Status
Indicates whether the custom field is active:
- *Active* - The custom field is active.
- *Deleted* - The custom field has been deleted.
### UserEditable
Indicates whether non-admin users can modify information for the custom user field:
- *1* - Non-admin users are able to modify the custom user field's information.
- *0* - Only administrators are able to modify the custom user field's information.
### CertificateDisplay
Indicates whether the custom field's value displays when it's added to a certificate:
- *1* - The custom field's value displays when it is added to a certificate.
- *0* - The custom field's value is obscured using "****" when it is added to a certificate.
### DataEncrypted
Indicates whether the custom field's value is encrypted in the database:
- *1* - The custom field's value is encrypted in the database.
- *0* - The custom field's value is not encrypted in the database.
### Example API Response XML Package
Below is an example of an API response XML package.
```markup
Success
1551
2014-07-26 13:23:56.793
2018-05-30 19:31:55.997
User
Date
Active
1
1
0
1824
2015-05-23 15:30:04.09
2018-05-30 19:31:56.05
User
Hierarchy
Active
0
0
0
```
## **Error Codes**
| Error Code | Message |
| --- | --- |
| LCF:01 | The required permissions are not met to call the listCustomFields method. |
## Related
- [Account: Custom Organization Fields](/account-custom-organization-fields.md)
- [Account: Custom User Fields](/account-custom-user-fields.md)
- [API: getCustomFieldHierarchy](/api-getcustomfieldhierarchy.md)
- [API: updateCustomFieldHierarchyValue](/api-updatecustomfieldhierarchyvalue.md)