---
title: "Criar campo personalizado"
method: POST
path: "/custom_fields"
tags: ["crm-v1-custom-fields"]
---

# Criar campo personalizado

`POST /custom_fields`

## Request

- Base URL: `https://crm.rdstation.com/api/v1`
- URL: `https://crm.rdstation.com/api/v1/custom_fields`
- Auth: API key in query parameter `token`

Criar campo personalizado

## Request body

- object
  - `custom_field` object
    - `allow_new` boolean
    - `for` string
    - `label` string
    - `opts` string[]
    - `order` number
    - `required` boolean
    - `type` string
    - `unique` boolean

## Response `201`

Success

- object
  - `_id` string
  - `allow_new` boolean
  - `created_at` string
  - `for` string
  - `id` string
  - `label` string
  - `opts` unknown[]
    - unknown
  - `order` number
  - `required` boolean
  - `required_rules` unknown[]
    - unknown
  - `type` string
  - `unique` boolean
  - `updated_at` string
  - `visible` boolean

---

[API](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1.md) - [All operations](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/rdstation/apis/rd-station-crm-api-v1/revisions/f83861e0c857?raw)
