Skip to main content
POST
/
custom_field_definitions
Create a custom field definition
curl --request POST \
  --url https://app.gomangrove.com/api/v1/custom_field_definitions \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "custom_field_definition": {
    "label": "Status",
    "value_type": "enum",
    "object_type": "asset",
    "enumeration_options": [
      "Unregistered",
      "Registered",
      "Inactive"
    ]
  }
}
'
{
  "id": 43,
  "friendly_id": "cfd_def456abc123",
  "key": "status",
  "label": "Status",
  "object_type": "asset",
  "value_type": "enum",
  "enumeration_options": [
    "Unregistered",
    "Registered",
    "Inactive"
  ],
  "order": 2,
  "is_required": false,
  "project_id": null,
  "created_at": "2026-01-15T10:00:00.000Z",
  "updated_at": "2026-01-15T10:00:00.000Z"
}

Authorizations

Authorization
string
header
required

Body

application/json
custom_field_definition
object

Response

201