Skip to main content
Create a label to tag assistants across folders (for example, inbound or outbound). Apply labels to assistants with the label_ids field on the Create assistant and Update assistant endpoints.

Request Body

name string 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

message string 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