# Create a custom field

Define a new custom field for contacts or companies.

Endpoint: POST /leads/api/custom-fields
Version: 2.0.0
Security: bearerAuth

## Request fields (application/json):

  - `name` (string, required)
    Field name.
    Example: Industry Vertical

  - `object` (string, required)
    Whether this field applies to contacts or companies.
    Enum: "lead", "company"

  - `order` (integer)
    Display order.

## Response 201 fields (application/json):

  - `uuid` (string)

  - `team_id` (integer)

  - `user_id` (integer)

  - `name` (string)
    Example: Industry Vertical

  - `object` (string)
    Enum: "lead", "company"

  - `order` (integer)

