# Create a tag

Create a new tag with optional color.

Endpoint: POST /leads/api/tags
Version: 2.0.0
Security: bearerAuth

## Request fields (application/json):

  - `name` (string, required)
    Example: Hot Lead

  - `color` (string)
    Hex color code.
    Example: #ff5733

## Response 201 fields (application/json):

  - `uuid` (string)
    Example: a1b2c3d4-e5f6-7890-abcd-ef1234567890

  - `team_id` (integer)

  - `name` (string)
    Example: Hot Lead

  - `color` (string)
    Example: #ff5733

  - `created_at` (string)

  - `updated_at` (string)

