---
updatedAt: 2026-04-27T23:21:35.000Z
agentTools:
  projectIndex: https://developer.runn.io/llms.txt
---

# Create a checkbox custom field

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Runn API",
    "version": "1.0.0",
    "description": "<p>See <a target=\"_blank\" href=\"https://help.runn.io/en/articles/8579592-api-v1-beta\" title=\"Runn API full documentation\">the full documentation and guide</a> to using the Runn API.</p><p>The domain for your API endpoint can be found in <strong>Accounts > Settings > API</strong> in your Runn application</p>"
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer"
      }
    },
    "schemas": {
      "BadRequest": {
        "type": "object",
        "required": [
          "error",
          "message",
          "statusCode"
        ],
        "properties": {
          "error": {
            "type": "string",
            "enum": [
              "Bad Request"
            ]
          },
          "message": {
            "type": "string"
          },
          "statusCode": {
            "type": "number",
            "enum": [
              400
            ]
          }
        }
      },
      "CustomFieldCheckbox": {
        "type": "object",
        "required": [
          "id",
          "name",
          "description",
          "model",
          "required",
          "showInPlanner",
          "sortOrder",
          "filterableInPlanner"
        ],
        "properties": {
          "id": {
            "description": "Unique identifier for the custom field checkbox",
            "type": "integer"
          },
          "name": {
            "description": "Display name for the custom field checkbox",
            "type": "string"
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "model": {
            "type": "string",
            "enum": [
              "PERSON",
              "PROJECT"
            ],
            "description": "The field type of the custom field"
          },
          "required": {
            "description": "Whether or not the checkbox is a required field",
            "type": "boolean"
          },
          "showInPlanner": {
            "description": "Whether or not the custom field checkbox is shown in the project or person planner in the app UI",
            "type": "boolean"
          },
          "sortOrder": {
            "description": "The sort order of the custom field checkbox",
            "type": "integer"
          },
          "filterableInPlanner": {
            "description": "Whether or not the custom field checkbox is filterable in the project or person planner in the app UI",
            "type": "boolean"
          }
        }
      },
      "Unauthorized": {
        "type": "object",
        "required": [
          "error",
          "message",
          "statusCode"
        ],
        "properties": {
          "error": {
            "type": "string",
            "enum": [
              "Unauthorized"
            ]
          },
          "message": {
            "type": "string",
            "enum": [
              "Unauthorized"
            ]
          },
          "statusCode": {
            "type": "number",
            "enum": [
              401
            ]
          }
        }
      }
    }
  },
  "paths": {
    "/custom-fields/checkbox/": {
      "post": {
        "operationId": "createCheckboxCustomField",
        "summary": "Create a checkbox custom field",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "model",
                  "required",
                  "showInPlanner",
                  "filterableInPlanner"
                ],
                "properties": {
                  "name": {
                    "minLength": 1,
                    "type": "string"
                  },
                  "description": {
                    "type": "string"
                  },
                  "model": {
                    "type": "string",
                    "enum": [
                      "PERSON",
                      "PROJECT"
                    ],
                    "description": "The field type of the custom field"
                  },
                  "required": {
                    "default": false,
                    "type": "boolean"
                  },
                  "showInPlanner": {
                    "default": false,
                    "type": "boolean"
                  },
                  "filterableInPlanner": {
                    "default": true,
                    "type": "boolean"
                  }
                }
              }
            }
          }
        },
        "parameters": [
          {
            "schema": {
              "default": "1.0.0",
              "enum": [
                "1.0.0"
              ]
            },
            "in": "header",
            "name": "accept-version",
            "required": true
          }
        ],
        "responses": {
          "201": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/CustomFieldCheckbox"
                }
              }
            }
          },
          "400": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BadRequest"
                }
              }
            }
          },
          "401": {
            "description": "Default Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Unauthorized"
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.runn.io",
      "description": "EU Server"
    },
    {
      "url": "https://api.us.runn.io",
      "description": "US Server"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "x-readme": {
    "proxy-enabled": false
  }
}
```