Chat icon

Chat

Interact with the Chat API

Actions253

Label → Create

AI-generated

Summary

Creates a new label in the selected Approach account.

Inputs

  • accountId (required) — Select the account to use.
  • title (required) — Title of the label (used as identifier, will be converted to lowercase with hyphens).
  • additionalFields — Optional label settings. Contains sub‑fields: color (hex), description (text), show_on_sidebar (boolean). The title sub‑field inside additional fields is only shown for the update operation and is ignored here.

Output shape

object

Returns the label object as provided by the Approach API.

Examples

Example 1: Create a blue label named 'VIP' that appears in the sidebar.

Account: , Title: VIP, Additional Fields → Color: #0000FF, Description: VIP customers, Show on Sidebar: true

Links

Discussion