---
updatedAt: 2026-09-21T10:35:11.000Z
agentTools:
  projectIndex: https://developers.marq.com/llms.txt
---

# Create category

Create a new category. Categories can contain templates and can be shared with users.

Creates a new Brand Template Category. Requires the `project.templates` scope.

***

### OAuth 2.0 User Token and Account Token Scope:

* [Project.Templates](https://developers.marq.com/reference/access-token-scopes)

<br />

# Parameters

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "marq-v1",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.marq.com/"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://example.com/oauth2/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/v1/template-categories": {
      "post": {
        "summary": "Create category",
        "description": "Create a new category. Categories can contain templates and can be shared with users.",
        "operationId": "create-a-category",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "name",
                  "order"
                ],
                "properties": {
                  "name": {
                    "type": "string",
                    "description": "The name of the category"
                  },
                  "order": {
                    "type": "integer",
                    "description": "The order which the category will be sorted for users in the Template page.",
                    "format": "int32"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n    \"uri\": \"https://api.marq.com/v1/template-categories/7954\",\n    \"id\": 7954,\n    \"name\": \"Social Media\",\n    \"order\": 9,\n    \"autoPopulateId\": null,\n    \"created\": \"2023-08-23T04:57:21Z\",\n    \"modified\": \"2023-08-23T04:57:20Z\",\n    \"values\": \"https://api.marq.com/v1/template-categories/7954/values\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "uri": {
                      "type": "string",
                      "example": "https://api.marq.com/v1/template-categories/7954"
                    },
                    "id": {
                      "type": "integer",
                      "example": 7954,
                      "default": 0
                    },
                    "name": {
                      "type": "string",
                      "example": "Social Media"
                    },
                    "order": {
                      "type": "integer",
                      "example": 9,
                      "default": 0
                    },
                    "autoPopulateId": {},
                    "created": {
                      "type": "string",
                      "example": "2023-08-23T04:57:21Z"
                    },
                    "modified": {
                      "type": "string",
                      "example": "2023-08-23T04:57:20Z"
                    },
                    "values": {
                      "type": "string",
                      "example": "https://api.marq.com/v1/template-categories/7954/values"
                    }
                  }
                }
              }
            }
          },
          "4XX": {
            "description": "4XX",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"code\": \"string\",\n  \"message\": \"detailed explanation\",\n  \"moreInfo\": \"https://api.marq.com/docs/errors#{error}\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "string",
                      "example": "string"
                    },
                    "message": {
                      "type": "string",
                      "example": "detailed explanation"
                    },
                    "moreInfo": {
                      "type": "string",
                      "example": "https://api.marq.com/docs/errors#{error}"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```