Skip to content

Custom Field

Manage custom fields used to extend standard platform objects. Supports fetching a field by name or ID, creating a field, applying a full update to updatable fields, and patching picklist options or mergeable fields.

Fetch custom field by field name or by id.

Request

Security
bearerAuth and apiKeyAuth
Query
fieldNamestring

Custom field API name (e.g. _c_field); mutually exclusive with id

idstring

Custom field id; mutually exclusive with fieldName

curl -i -X GET \
  'https://api3.sprinklr.com/prod/api/v3/customField?fieldName=string&id=string' \
  -H 'Authorization: Bearer <YOUR_Token_HERE>' \
  -H 'Key: YOUR_API_KEY_HERE'

Responses

Success

Bodyapplication/json
Array [
idstring
fieldNamestring

Unique Field name for the field

labelstring

English label for the field

descriptionstring

Description for the field

assetTypesArray of strings
typestringrequired

Data Type of field

valuesArray of objects(KeyLabelPair)

Custom field options for a picklist or multi picklist field

valuesOptionsArray of objects(CustomFieldOption)

Custom field options for a picklist or multi picklist field with language translation support

categorystring

Category for the field

enabledboolean

Enabled flag for the field

visibilityobject(Visibility)

Visibility on the custom field

permissionsArray of objects(Permission)

Permissions on the custom field

optionTypestring

Option Type for the custom field

optionKeystring

Option Key for the custom field

createdTimeinteger, (int64)

Created time of the custom field

modifiedTimeinteger, (int64)

Modified time of the custom field

customFieldControllerByIdobject

Custom field controller config

langVsTranslatedFieldValuesobject

Translated fields

]
Response
[ { "id": "string", "fieldName": "string", "label": "string", "description": "string", "assetTypes": [ … ], "type": "string", "values": [ … ], "valuesOptions": [ … ], "category": "string", "enabled": true, "visibility": { … }, "permissions": [ … ], "optionType": "string", "optionKey": "string", "createdTime": 0, "modifiedTime": 0, "customFieldControllerById": { … }, "langVsTranslatedFieldValues": { … } } ]