v1

latestOpenAPI 3.1.0Apache 2.02026-07-24113269342.0 KB
Custom fields

Add custom fields

This endpoint is used for adding custom fields to current onboarding session. The key must match one of the keys that are defined for the Organization, and the value must be of the type that is defined for the corresponding key.

post/omni/add/custom-fields

Headers

api-versionstring required

Request body

customFieldsobject

Used to send any additional information in key value pair format. Max fields: {maxEntries}, max key length: {keyMaxLength}, max value length: {valueMaxLength}

Example request

{
  "customFields": {
    "customFields": {
      "watchlistName": "Name"
    }
  }
}

Response

OK

successboolean

Flag indicating request passed successfully.

sessionStatus'Alive' | 'Closed' | 'Deleted'

Session status