Create Customer Label

POST /api/v1/clabels/

Creates a customer label, if the requesting manager has access permissions to it.

circle-info

Parameters label and color are optional in the request body, but provide them to define the label name and its color.

Request body

  • label (string) — optional

  • color (string) — optional

    • must be a hexadecimal color value with the following format: #RRGGBB

    • Example: #2e86de

Request example (JSON)
{
    "label": "Label1",
    "color": "#2e86de"
}

Responses

200 OK — Success
{
    "id": 53,
    "label": "Label1",
    "color": "#2e86de",
    "company": 339
}

Was this helpful?