> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zype.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create Zobject Type

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Zobjects",
    "version": "1.0.0",
    "description": ""
  },
  "servers": [
    {
      "url": "https://api.zype.com/"
    }
  ],
  "security": [
    {
      "api_key": []
    }
  ],
  "components": {
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "api_key",
        "in": "query"
      }
    }
  },
  "paths": {
    "/zobject_types": {
      "post": {
        "summary": "Create Zobject Type",
        "description": "",
        "tags": [
          "Zobject Types"
        ],
        "operationId": "createZobjectType",
        "requestBody": {
          "description": "",
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "title": "ZobjectTypeRequest",
                "type": "object",
                "properties": {
                  "zobject_type": {
                    "title": "ZobjectTypeProperties",
                    "type": "object",
                    "properties": {
                      "zobject_count": {
                        "description": "Number of Zobjects created with this Zobject Type",
                        "type": "string"
                      },
                      "description": {
                        "description": "Description of the Zobject Type",
                        "type": "string"
                      },
                      "title": {
                        "description": "Title of the Zobject Type (must be unique)",
                        "example": "Type Title",
                        "type": "string"
                      },
                      "videos_enabled": {
                        "description": "Indicates whether videos can be associated with instances of the Zobject Type",
                        "type": "boolean"
                      },
                      "playlists_enabled": {
                        "description": "Indicates whether playlists can be associated with instances of the Zobject Type",
                        "type": "boolean"
                      },
                      "zobject_attributes_attributes": {
                        "type": "array",
                        "description": "An indexed collection specifying the custom attributes for the zobject type",
                        "items": {
                          "type": "object",
                          "properties": {
                            "field_name": {
                              "type": "string",
                              "description": "Name of the zobject type custom attribute"
                            },
                            "field_type": {
                              "type": "string",
                              "description": "Type of the zobject type custom attribute. Example: integer"
                            },
                            "description": {
                              "type": "string"
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "title": "ZobjectTypeResponse",
                  "type": "object",
                  "properties": {
                    "response": {
                      "title": "ZobjectType",
                      "type": "object",
                      "properties": {
                        "_id": {
                          "type": "string"
                        },
                        "created_at": {
                          "type": "string"
                        },
                        "site_id": {
                          "type": "string"
                        },
                        "updated_at": {
                          "type": "string"
                        },
                        "zobject_count": {
                          "description": "Number of Zobjects created with this Zobject Type",
                          "type": "string"
                        },
                        "description": {
                          "description": "Description of the Zobject Type",
                          "type": "string"
                        },
                        "title": {
                          "description": "Title of the Zobject Type (must be unique)",
                          "example": "Type Title",
                          "type": "string"
                        },
                        "videos_enabled": {
                          "description": "Indicates whether videos can be associated with instances of the Zobject Type",
                          "type": "boolean"
                        },
                        "playlists_enabled": {
                          "description": "Indicates whether playlists can be associated with instances of the Zobject Type",
                          "type": "boolean"
                        },
                        "zobject_attributes_attributes": {
                          "type": "array"
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "422": {
            "description": "Unprocessable entity",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/paths/~1zobjects/post/responses/422/content/application~1json/schema"
                }
              }
            }
          }
        }
      }
    }
  }
}
```