Skip to main content
POST
Create an intent category

Authorizations

Authorization
string
header
required

Bearer token for authentication. Use an API key from the API Keys page in team settings, or an OAuth access token.

Path Parameters

environmentId
string
required

The ID of the environment

Body

application/json
name
string
required

The category name

Required string length: 1 - 100
color
enum<string>

The category color; derived from the name when omitted

Available options:
red,
orange,
yellow,
green,
blue,
purple,
pink,
gray
intentIds
string[]

IDs of intents to link to the new category

Required array length: 1 - 100 elements
Minimum string length: 1

Response

The created intent category

id
string
required
createdAt
string<date-time>
required
environmentId
string
required
name
string
required
color
enum<string>
required
Available options:
red,
orange,
yellow,
green,
blue,
purple,
pink,
gray