inbound or outbound). Apply labels to assistants with the label_ids field on the Create assistant and Update assistant endpoints.
Request Body
namestring required
The label name (max 255 characters). Must be unique within your account.
color string
A color for the label badge. One of: gray, slate, red, orange, amber, green, teal, blue, purple, pink.
Response
messagestring
Success message
data object
properties
id integer
The unique identifier of the created label
name string
The label name
color string
The label color (or null)
assistants_count integer
Number of assistants this label is applied to (always 0 for a new label)
201 Success Response
422 Validation Error

