UPDATE

Update an existing NLP category by category ID

UPDATE

POST https://api.eyelevel.ai/v1/partner/nlp/category/:apiKey/:categoryId

Path Parameters

Request Body

{
    "message": "OK"
}

Request

{
    "nlp": {
        "connections": [
            { CONNECTION OBJECT }
        ],
        "id":   "STRING IDENTIFIER",
        "name": "STRING"
        "steps": [
            { STEP OBJECT }
        ],
    }
}

connections

OPTIONAL - Array of CONNECTION objects

An array of CONNECTION objects, containing information about how steps are connected to each other in the flow. If the flow contains more than one STEP, connections is a required parameter. Connections are described in greater detail here.

id

OPTIONAL - String

Validation: Value is an existing EyeLevel flow identifier

The unique identifier for the chat flow you want to associate with the NLP category. This chat flow will be used as the response for the NLP category.

name

REQUIRED - String

Validation: 80 character limit

The human readable name for the NLP category.

steps

OPTIONAL - Array of STEP objects

An array of STEP objects, containing information about each step in the flow. The definition of steps are described in greater detail here.

Response

{
    "message": "OK"
}

Objects

Last updated