# Set a custom field value

Set (or update) a custom field value on a contact or company. Pass `null` as value to clear the field.

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

## Request fields (application/json):

  - `custom_field_uuid` (string, required)
    UUID of the custom field.

  - `object_type` (string, required)
    Enum: "lead", "company"

  - `object_uuid` (string, required)
    UUID of the contact or company.

  - `value` (string)
    Field value, or null to clear.
    Example: Enterprise

## Response 201 fields (application/json):

  - `uuid` (string)

  - `team_id` (integer)

  - `custom_field_uuid` (string)

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

  - `object_uuid` (string)

  - `value` (string)

  - `created_at` (string)

  - `updated_at` (string)

