NiCE Custom field definitions API
: Custom Field Definitions Management
: Custom Field Definitions Management
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/nice:nice-custom-field-definitions-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Nice Custom field definitions API
version: v1
description: 'Operations tagged Custom field definitions across 2 of this provider''s published API definitions: nice-digital-customfields.json, nice-digital-customfields-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Custom Field Definitions
description: ': Custom Field Definitions Management'
paths:
/consumer-contact-custom-fields:
get:
tags:
- Custom Field Definitions
summary: Get Contact's Custom Field Definitions
operationId: getContactCustomFieldDefinitions
responses:
'200':
description: Ok
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/ContactCustomFieldDefinition'
'401':
description: Authentication failed
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorCollection'
/customers/custom-field-definitions:
get:
tags:
- Custom Field Definitions
summary: Get Customer's Custom Field Definitions
operationId: getCustomerCustomFieldDefinitions
responses:
'200':
description: Ok
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/CustomerCustomFieldDefinition'
'401':
description: Authentication failed
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorCollection'
put:
tags:
- Custom Field Definitions
summary: Create or update Customer Custom Field Definition
description: Create or update Customer Custom Field Definition (based on ident)
operationId: createOrUpdateCustomerCustomFieldDefinition
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/CustomerCustomFieldDefinitionToCreate'
examples:
Text:
$ref: '#/components/examples/CreateTextDefinitionValuesRequestBody'
Email:
$ref: '#/components/examples/CreateEmailDefinitionValuesRequestBody'
List:
$ref: '#/components/examples/CreateListDefinitionValuesRequestBody'
responses:
'201':
description: Created
'204':
description: Updated
'401':
description: Authentication failed
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorCollection'
'404':
description: Custom fields were not created or updated due to an error
content:
application/json:
schema:
$ref: '#/components/schemas/ApiErrorCollection'
components:
schemas:
ContactCustomFieldDefinition:
title: Contact Custom Field Definition
type: object
required:
- ident
- label
- type
- required
- isEditable
properties:
ident:
type: string
label:
type: string
type:
type: string
enum:
- text
- email
- list
- date
required:
type: boolean
visibleInPostDetail:
type: boolean
visibleInLiveChat:
type: boolean
isEditable:
type: boolean
values:
oneOf:
- type: array
title: Possible values for list type
items:
type: object
properties:
name:
type: string
value:
type: string
- type: object
title: Possible values for date type
required:
- dateOptionsType
- maxDate
- minDate
- startDate
properties:
dateOptionsType:
type: string
enum:
- absolute
- relative
maxDate:
type: string
format: date-time
minDate:
type: string
format: date-time
startDate:
type: string
format: date-time
CustomerCustomFieldDefinitionToCreate:
type: object
required:
- ident
- label
- type
properties:
ident:
type: string
label:
type: string
type:
type: string
enum:
- text
- email
- list
isRequired:
type: boolean
default: false
isEditable:
type: boolean
default: false
isVisibleInRightPanel:
type: boolean
default: false
isVisibleInCustomerCard:
type: boolean
default: true
values:
description: List of possible values for list type
type: object
ApiErrorCollection:
title: Collection of API errors
type: object
properties:
errors:
type: array
items:
$ref: '#/components/schemas/ApiError'
uid:
type: string
description: UID for debug purposes
required:
- errors
CustomerCustomFieldDefinition:
type: object
required:
- ident
- label
- type
- isRequired
- isEditable
- isVisibleInRightPanel
- isVisibleInCustomerCard
properties:
ident:
type: string
label:
type: string
type:
type: string
enum:
- text
- email
- list
isRequired:
type: boolean
default: false
isEditable:
type: boolean
default: false
isVisibleInRightPanel:
type: boolean
default: false
isVisibleInCustomerCard:
type: boolean
default: true
values:
description: List of possible values for list type
type: array
items:
type: object
properties:
name:
type: string
value:
type: string
ApiError:
title: API error
type: object
required:
- message
properties:
field:
type: string
description: Name of the field containing error
message:
type: string
description: Error description
parameters:
type: object
description: Free dictionary of additional data describing the error state
errorCode:
type: string
description: Specific code of the type of error
examples:
CreateEmailDefinitionValuesRequestBody:
value:
ident: customer-custom-field-definition-ident
label: customer-custom-field-definition-label
type: email
isRequired: false
isEditable: false
isVisibleInRightPanel: false
isVisibleInCustomerCard: true
CreateListDefinitionValuesRequestBody:
value:
ident: customer-custom-field-definition-ident
label: customer-custom-field-definition-label
type: list
isRequired: true
isEditable: true
isVisibleInRightPanel: true
isVisibleInCustomerCard: true
values:
key: value
key2: value2
CreateTextDefinitionValuesRequestBody:
value:
ident: customer-custom-field-definition-ident
label: customer-custom-field-definition-label
type: text
isRequired: false
isEditable: false
isVisibleInRightPanel: false
isVisibleInCustomerCard: false
x-refined-from:
- nice-digital-customfields.json
- nice-digital-customfields-openapi.yml