---
updatedAt: 2026-08-12T01:17:13.000Z
agentTools:
  projectIndex: https://developers.activecampaign.com/llms.txt
---

# Create a deal custom field

Define a new custom field on deals: the deal field itself, with its type and label.

> 🚧 You must call /groupMembers after creating the Custom Field
>
> After creating the custom field, you must call the [Add Custom Field to Field Group](https://developers.activecampaign.com/reference/add-custom-field-to-field-group) api to add the custom field to a field group. Failure to do so will result in fields that are not visible on record pages.

To create a custom deal field, the following permissions are required.

* Deal permission: the user should have permission to manage deals.
* Pipeline-specific permission: the user should have permission to manage the pipeline that the deal belongs to. If the user does not have the permission to manage the pipeline, limited deal data are returned with only `id`, `title`, and `isDisabled` set to `1`.

```json text
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample text field2",
		"fieldType": "text",
		"fieldDefault": "Default Text",
		"isFormVisible": 1,
		"displayOrder": 1
	}
}
```
```json textarea
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample textarea field",
		"fieldType": "textarea",
		"fieldDefault": "Default Text in Text Area",
		"isFormVisible": 1,
		"displayOrder": 2
	}
}
```
```json date
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample date field",
		"fieldType": "date",
		"fieldDefault": "2018-12-31 00:00:00",
		"isFormVisible": 1,
		"displayOrder": 3
	}
}
```
```json dropdown
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample dropdown field",
		"fieldType": "dropdown",
		"fieldDefault": "option 2",
		"fieldOptions": [
			"option 1",
			"option 2",
			"option 3"
		],
		"isFormVisible": 1,
		"displayOrder": 4
	}
}
```
```json multiselect
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample multiselect field",
		"fieldType": "multiselect",
		"fieldDefault": [
			"option 2",
			"option 3"
		],
		"fieldOptions": [
			"option 1",
			"option 2",
			"option 3"
		],
		"isFormVisible": 1,
		"displayOrder": 5
	}
}
```
```json radio
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample radio field",
		"fieldType": "radio",
		"fieldDefault": "option 2",
		"fieldOptions": [
			"option 1",
			"option 2",
			"option 3"
		],
		"isFormVisible": 1,
		"displayOrder": 6
	}
}
```
```json checkbox
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample checkbox field",
		"fieldType": "checkbox",
		"fieldDefault": [
			"option 2",
			"option 3"
		],
		"fieldOptions": [
			"option 1",
			"option 2",
			"option 3"
		],
		"isFormVisible": 1,
		"displayOrder": 7
	}
}
```
```json hidden
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample hidden field",
		"fieldType": "hidden",
		"fieldDefault": "Default Text in Hidden Field",
		"isFormVisible": 1,
		"displayOrder": 8
	}
}
```
```json number
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample number field",
		"fieldType": "number",
		"fieldDefault": "100.99",
		"isFormVisible": 1,
		"displayOrder": 9
	}
}
```
```json currency
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample money field",
		"fieldType": "currency",
		"fieldDefault": "10099",
		"fieldDefaultCurrency": "aud",
		"isFormVisible": 1,
		"displayOrder": 10
	}
}
```
```json datetime (ISO)
{	
	"dealCustomFieldMetum": {
		"fieldLabel": "sample datetime field",
		"fieldType": "datetime",
		"fieldDefault": "2020-05-16T03:15:00-05:00",
		"isFormVisible": 1,
		"displayOrder": 3
	}
}
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "v3",
    "version": "3"
  },
  "servers": [
    {
      "url": "https://{youraccountname}.api-us1.com/api/3",
      "variables": {
        "youraccountname": {
          "default": "youraccountname"
        }
      }
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "name": "Api-Token",
        "in": "header",
        "x-default": ""
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/dealCustomFieldMeta": {
      "post": {
        "summary": "Create a deal custom field",
        "description": "Define a new custom field on deals: the deal field itself, with its type and label.",
        "operationId": "create-custom-deal-field-meta",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "dealCustomFieldMetum": {
                    "properties": {
                      "fieldLabel": {
                        "type": "string",
                        "description": "Name of the field"
                      },
                      "fieldType": {
                        "type": "string",
                        "description": "Type of field. Possible values are: `text`, `textarea`, `date`, `datetime`, `dropdown`, `multiselect`, `radio`, `checkbox`, `hidden`, `currency`, `number`, or `lookup`. A `lookup` field shows a field of a related object instead of holding a value of its own, and is configured through `field_options`. The type of an existing field is never changed by an update, so a field has to be created as a `lookup`."
                      },
                      "fieldOptions": {
                        "type": [
                          "array",
                          "object"
                        ],
                        "description": "Options for the field. A list of values, necessary if `field_type` is `dropdown`, `multiselect`, `radio`, or `checkbox`. For a `lookup` field it is an object instead: `{\"lookup\": {\"object\": \"account|contact|deal\", \"field\": \"<field id>\"}}`, naming the object and the field whose value is shown. An update may change a lookup field's configuration, and an update that omits it keeps the stored one.",
                        "items": {
                          "type": "string"
                        }
                      },
                      "fieldDefault": {
                        "type": "string",
                        "description": "Default value of the field. For a `date` field use YYYY-MM-DD; YYYY/MM/DD and MM/DD/YYYY are also accepted, and the value is stored as YYYY-MM-DD."
                      },
                      "fieldDefaultCurrency": {
                        "type": "string",
                        "description": "The 3-letter currency code of the default currency for the field. Only necessary if `field_type` is `currency`."
                      },
                      "isFormVisible": {
                        "type": "boolean",
                        "description": "Whether or not the field is visible on forms"
                      },
                      "isRequired": {
                        "type": [
                          "integer",
                          "boolean"
                        ],
                        "description": "1 to make the field required, 0 (the default) to leave it optional. A required field does not need a `fieldDefault`. Creating a deal through POST /api/3/deals or a deal CSV import needs a value for every required field, unless the field has a `fieldDefault`, which counts as one: POST /api/3/deals answers 422 with an error naming the field and its `customFieldId`, and a deal import skips the row and lists it in the import's errors. Automations, forms and API v1 `deal_add`, which can't send custom field values, do not enforce the setting and create the deal with the field empty, and updating an existing deal is never refused because a required field is empty. Hidden, lookup and calculated fields are never enforced."
                      },
                      "displayOrder": {
                        "type": "integer",
                        "description": "Order for displaying the field on Manage Fields page and deal profiles",
                        "format": "int32"
                      }
                    },
                    "required": [
                      "fieldLabel",
                      "fieldType"
                    ],
                    "type": "object"
                  }
                }
              },
              "examples": {
                "text": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample text field2",
                      "fieldType": "text",
                      "fieldDefault": "Default Text",
                      "isFormVisible": 1,
                      "displayOrder": 1
                    }
                  }
                },
                "textarea": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample textarea field",
                      "fieldType": "textarea",
                      "fieldDefault": "Default Text in Text Area",
                      "isFormVisible": 1,
                      "isRequired": 1,
                      "displayOrder": 2
                    }
                  }
                },
                "date": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample date field",
                      "fieldType": "date",
                      "fieldDefault": "2018-12-31",
                      "isFormVisible": 1,
                      "isRequired": 1,
                      "displayOrder": 3
                    }
                  }
                },
                "dropdown": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample dropdown field",
                      "fieldType": "dropdown",
                      "fieldDefault": "option 2",
                      "fieldOptions": [
                        "option 1",
                        "option 2",
                        "option 3"
                      ],
                      "isFormVisible": 1,
                      "isRequired": 1,
                      "displayOrder": 4
                    }
                  }
                },
                "multiselect": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample multiselect field",
                      "fieldType": "multiselect",
                      "fieldDefault": [
                        "option 2",
                        "option 3"
                      ],
                      "fieldOptions": [
                        "option 1",
                        "option 2",
                        "option 3"
                      ],
                      "isFormVisible": 1,
                      "isRequired": 1,
                      "displayOrder": 5
                    }
                  }
                },
                "radio": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample radio field",
                      "fieldType": "radio",
                      "fieldDefault": "option 2",
                      "fieldOptions": [
                        "option 1",
                        "option 2",
                        "option 3"
                      ],
                      "isFormVisible": 1,
                      "isRequired": 1,
                      "displayOrder": 6
                    }
                  }
                },
                "checkbox": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample checkbox field",
                      "fieldType": "checkbox",
                      "fieldDefault": [
                        "option 2",
                        "option 3"
                      ],
                      "fieldOptions": [
                        "option 1",
                        "option 2",
                        "option 3"
                      ],
                      "isFormVisible": 1,
                      "isRequired": 1,
                      "displayOrder": 7
                    }
                  }
                },
                "hidden": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample hidden field",
                      "fieldType": "hidden",
                      "fieldDefault": "Default Text in Hidden Field",
                      "isFormVisible": 1,
                      "isRequired": 1,
                      "displayOrder": 8
                    }
                  }
                },
                "number": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample number field",
                      "fieldType": "number",
                      "fieldDefault": "100.99",
                      "isFormVisible": 1,
                      "isRequired": 1,
                      "displayOrder": 9
                    }
                  }
                },
                "currency": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample money field",
                      "fieldType": "currency",
                      "fieldDefault": "10099",
                      "fieldDefaultCurrency": "aud",
                      "isFormVisible": 1,
                      "isRequired": 1,
                      "displayOrder": 10
                    }
                  }
                },
                "datetime (ISO)": {
                  "value": {
                    "dealCustomFieldMetum": {
                      "fieldLabel": "sample datetime field",
                      "fieldType": "datetime",
                      "fieldDefault": "2020-05-16T03:15:00-05:00",
                      "isFormVisible": 1,
                      "isRequired": 1,
                      "displayOrder": 3
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"dealCustomFieldMetum\": {\n        \"id\": \"1\",\n        \"fieldLabel\": \"title\",\n        \"fieldType\": \"text\",\n        \"fieldOptions\": null,\n        \"fieldDefault\": \"Default Text\",\n        \"isFormVisible\": 1,\n        \"isRequired\": 1,\n        \"displayOrder\": 1,\n        \"createdTimestamp\": \"2018-10-22 19:57:37\",\n        \"updatedTimestamp\": \"2018-10-22 19:57:37\",\n        \"links\": {\n            \"dealCustomFieldData\": \"https://:account.api-us1.com/api/:version/3/dealCustomFieldMeta/1/dealCustomFieldData\"\n        }\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "dealCustomFieldMetum": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "string",
                          "examples": [
                            "1"
                          ]
                        },
                        "fieldLabel": {
                          "type": "string",
                          "examples": [
                            "title"
                          ]
                        },
                        "fieldType": {
                          "type": "string",
                          "examples": [
                            "text"
                          ]
                        },
                        "fieldOptions": {},
                        "fieldDefault": {
                          "type": [
                            "string",
                            "number",
                            "array",
                            "null"
                          ],
                          "items": {
                            "type": "string"
                          },
                          "description": "The field's default value. Its type follows the field type: a number field returns a number, or a string when the stored value is not numeric; multiselect and checkbox fields return an array of option strings (an empty array when unset); null when the default was cleared; every other field type returns a string.",
                          "examples": [
                            "Default Text"
                          ]
                        },
                        "isFormVisible": {
                          "type": "integer",
                          "default": 0,
                          "examples": [
                            1
                          ]
                        },
                        "isRequired": {
                          "type": "integer",
                          "default": 0,
                          "examples": [
                            1
                          ]
                        },
                        "displayOrder": {
                          "type": "integer",
                          "default": 0,
                          "examples": [
                            1
                          ]
                        },
                        "createdTimestamp": {
                          "type": "string",
                          "examples": [
                            "2018-10-22 19:57:37"
                          ]
                        },
                        "updatedTimestamp": {
                          "type": "string",
                          "examples": [
                            "2018-10-22 19:57:37"
                          ]
                        },
                        "links": {
                          "type": "object",
                          "properties": {
                            "dealCustomFieldData": {
                              "type": "string",
                              "examples": [
                                "https://:account.api-us1.com/api/:version/3/dealCustomFieldMeta/1/dealCustomFieldData"
                              ]
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "422",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n\t\"errors\": [{\n  \t\"title\": \"The field type field is required.\",\n    \"detail\": \"\",\n    \"code\": 422\n  }]\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": false
  },
  "x-readme-fauxas": true
}
```