---
agentTools:
  projectIndex: https://docs.archisnapper.com/llms.txt
---

# Create a checklist category

This part of the API lets you manage your checklists

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "API Settings",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://app3.archisnapper.com/api/public/v1"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/sections": {
      "post": {
        "summary": "Create a checklist category",
        "description": "This part of the API lets you manage your checklists",
        "operationId": "create-a-checklist-category",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "auth_token"
                ],
                "properties": {
                  "auth_token": {
                    "type": "string",
                    "description": "Your authentication token."
                  },
                  "section": {
                    "properties": {
                      "name_en": {
                        "type": "string",
                        "description": "Name of the category in English. You must fill in at least one translated field for the category name."
                      },
                      "name_nl": {
                        "type": "string",
                        "description": "Name of the category in Dutch. You must fill in at least one translated field for the category name."
                      },
                      "name_fr": {
                        "type": "string",
                        "description": "Name of the category in French. You must fill in at least one translated field for the category name."
                      },
                      "external_id": {
                        "type": "integer",
                        "description": "The external ID of the section in your database",
                        "format": "int32"
                      }
                    },
                    "required": [
                      "name_en"
                    ],
                    "type": "object"
                  },
                  "checklist_id": {
                    "type": "integer",
                    "description": "The ID of the checklist to which the section belongs to",
                    "format": "int32"
                  },
                  "checklist_external_id": {
                    "type": "integer",
                    "description": "The external ID of the checklist to which the section belongs to.",
                    "format": "int32"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"checklist_id\": 5025,\n    \"checklist_name\": \"checklist NL\",\n    \"checklist_external_id\": 1000011,\n    \"section\": {\n        \"id\": 30977,\n        \"name\": \"section 2 EN\",\n        \"external_id\": 10000003,\n        \"position\": 1,\n        \"checks\": []\n    }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "checklist_id": {
                      "type": "integer",
                      "example": 5025,
                      "default": 0
                    },
                    "checklist_name": {
                      "type": "string",
                      "example": "checklist NL"
                    },
                    "checklist_external_id": {
                      "type": "integer",
                      "example": 1000011,
                      "default": 0
                    },
                    "section": {
                      "type": "object",
                      "properties": {
                        "id": {
                          "type": "integer",
                          "example": 30977,
                          "default": 0
                        },
                        "name": {
                          "type": "string",
                          "example": "section 2 EN"
                        },
                        "external_id": {
                          "type": "integer",
                          "example": 10000003,
                          "default": 0
                        },
                        "position": {
                          "type": "integer",
                          "example": 1,
                          "default": 0
                        },
                        "checks": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {}
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "204": {
            "description": "204",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          },
          "422": {
            "description": "422",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"name\": [\n    \"can't be blank\"\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "name": {
                      "type": "array",
                      "items": {
                        "type": "string",
                        "example": "can't be blank"
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "63053e399807941f67a925c7:5a8165dfcabd11003b0f1ef7"
}
```