insights

Create an intent category

Create an intent category, optionally linking it to existing intents

post/v1/environments/{environmentId}/intent-categories

Path parameters

environmentIdstring required

The ID of the environment

Request body

namestring required

The category name

color'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'purple' | 'pink' | 'gray'

The category color; derived from the name when omitted

intentIdsstring[]

IDs of intents to link to the new category

Response

The created intent category

idstring required
createdAtstring date-time required
environmentIdstring required
namestring required
color'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'purple' | 'pink' | 'gray' required

Changes

Changed in 1 of the 6 revisions of this API.1