Skip to main content
POST
/
v2.0
/
optionsresolver
Resolve Options for a Field
curl --request POST \
  --url https://api-trial.cognigy.ai/new/v2.0/optionsresolver \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "fieldKey": "<string>",
  "extension": "<string>",
  "nodeType": "<string>",
  "dependencies": {},
  "projectId": "<string>"
}
'
{
  "options": [
    {
      "label": "<string>",
      "value": "<string>"
    }
  ]
}

Authorizations

X-API-Key
string
header
required

Supply the API Key in the HTTP-Header

Headers

Accept
enum<string>

The Accept header specifies the media type that the client expects in the response. Available options: application/json, application/hal+json, application/xml, text/xml, text/csv. The default value is application/json.

Available options:
application/json,
application/hal+json,
application/xml,
text/xml,
text/csv

Body

application/json
fieldKey
string

The field key to resolve options for.

extension
string

The Extension name.

nodeType
string

The Node type that contains the options resolver field.

dependencies
object

The map of dependency field values for the options resolver field.

projectId
string

The unique identifier for the Project.

Required string length: 24
Pattern: ^[a-z0-9]{24}$

Response

Resolved options for the field retrieved.

options
object[]
Last modified on June 29, 2026