Creates a new category in the workspace's default language. The returned data.id is the new category's categoryId for subsequent calls.
Default category type is Folder (groups child categories and articles). To create a page-style category with its own content, pass categoryType = 1 (Page).
Not idempotent — list categories first (GET /v2/projectversions/{projectVersionId}/categories) before retrying after a 5xx.
The API token used for authenticating the request. This must be passed as a header parameter. To generate an API token, go to Settings > Knowledge base portal > API tokens. This token must correspond to a valid workspace and permission level.
The category creation payload. name is required; parentCategoryId places the category as a child of an existing category (omit for a root-level category — fetch via GET /v2/projectversions/{projectVersionId}/categories).
Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Folder.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 0,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Page.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 1,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Index.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 2,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}The name of the category
The ID of the project version where category has to be added
The position inside the parent category
The ID of the parent category. If empty, it will be added as top level category)
The content of the article, for any Editor type, use this property
Defines what a category represents in the documentation hierarchy.
The ID of the team account
0 - Markdown; 1 - WYSIWYG(HTML); 2 - Advanced WYSIWYG
Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Folder.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 0,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Page.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 1,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Index.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 2,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}The name of the category
The ID of the project version where category has to be added
The position inside the parent category
The ID of the parent category. If empty, it will be added as top level category)
The content of the article, for any Editor type, use this property
Defines what a category represents in the documentation hierarchy.
The ID of the team account
0 - Markdown; 1 - WYSIWYG(HTML); 2 - Advanced WYSIWYG
Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Folder.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 0,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Page.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 1,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Index.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 2,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}The name of the category
The ID of the project version where category has to be added
The position inside the parent category
The ID of the parent category. If empty, it will be added as top level category)
The content of the article, for any Editor type, use this property
Defines what a category represents in the documentation hierarchy.
The ID of the team account
0 - Markdown; 1 - WYSIWYG(HTML); 2 - Advanced WYSIWYG
Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Folder.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 0,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Page.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 1,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}Add Name, Project_Version_Id, order, category_type, and user_id to create a new category. This is an example for category_type as Index.
{
"name": "New Category",
"project_version_id": "46f48bc7-760f-4b07-b2d2-fce4aa8ba234",
"order": 0,
"parent_category_id": null,
"content": null,
"category_type": 2,
"user_id": "f11efc6f-e968-4e95-82eb-85ad61559de8",
"content_type": null,
"slug": null
}The name of the category
The ID of the project version where category has to be added
The position inside the parent category
The ID of the parent category. If empty, it will be added as top level category)
The content of the article, for any Editor type, use this property
Defines what a category represents in the documentation hierarchy.
The ID of the team account
0 - Markdown; 1 - WYSIWYG(HTML); 2 - Advanced WYSIWYG
Operation succeeded. Inspect the response envelope's success flag and the result/data payload.
Here you can find the Category Id and category name to navigate.
{
"data": {
"id": "df574e5a-8015-428f-ac33-cad428d1230c",
"name": "New Category",
"order": 0,
"icon": null
},
"extension_data": null,
"success": true,
"errors": null,
"warnings": [],
"information": []
}added category response data
The ID of the category
Name of the category
The position inside the parent category
Unicode representation of the icon
Extension data for customer API response
Indicates the status of the API response. A value of true signifies that the request was successfully processed, while false indicates a failure or error occurred.
A list of errors encountered during the API request. Each error object provides details about the problem, including an error code and a message explaining the issue. This field is populated when the request fails or encounters issues.
One structured error in a response's Document360.Core.Messages.Core.BaseResponse.errors array.
This is the Extension data object
A technical trace showing where the error occurred within the system. Intended for backend debugging.
A clear message explaining what caused the error. This helps quickly understand what went wrong.
A short, predefined code that identifies the type of error. Useful for logging the error or raising a support request.
Any structured metadata for the error object.
A list of warnings generated during the API request. These are non-critical issues or recommendations that might affect the request but won't stop it from processing. Each warning object provides a message to inform the user of potential problems.
One non-fatal warning attached to an otherwise-successful response.
Extension Data for customer Api warning
A plain message that describes the warning and helps understand what should be reviewed.
A short, predefined code that uniquely identifies the warning type.
Contains additional non-critical information relevant to the request or response. This field provides extra details that might assist in understanding the context of the API response but is not essential for processing.
One informational message in a response's Document360.Core.Messages.Core.BaseResponse.information array. Non-error context the SPA may surface to the user.
Extension data for customer Api response information
A plain message offering helpful context about the response, such as confirmation of fallback logic or skipped operations.
The request body or query parameters failed validation. Inspect errors[].description for the offending fields.
Kindly verify the project_version_id, and peroform the task again.
{
"extension_data": null,
"success": false,
"errors": [
{
"extension_data": null,
"stack_trace": null,
"description": "The supplied project version id 46fvf48bc7-760f-4b07-b2d2-fce4aa8ba234 does not exist in your project",
"error_code": "400",
"custom_data": null
}
],
"warnings": [],
"information": []
}Kindly verify the project_version_id is not empty, and peroform the task again.
{
"extension_data": null,
"success": false,
"errors": [
{
"extension_data": null,
"stack_trace": null,
"description": "The ProjectVersionId field is required.",
"error_code": "400",
"custom_data": null
}
],
"warnings": [],
"information": []
}Kindly verify the Name, and peroform the task again.
{
"extension_data": null,
"success": false,
"errors": [
{
"extension_data": null,
"stack_trace": null,
"description": "The Name field is required.",
"error_code": "400",
"custom_data": null
}
],
"warnings": [],
"information": []
}Extension data for customer API response
Indicates the status of the API response. A value of true signifies that the request was successfully processed, while false indicates a failure or error occurred.
A list of errors encountered during the API request. Each error object provides details about the problem, including an error code and a message explaining the issue. This field is populated when the request fails or encounters issues.
One structured error in a response's Document360.Core.Messages.Core.BaseResponse.errors array.
This is the Extension data object
A technical trace showing where the error occurred within the system. Intended for backend debugging.
A clear message explaining what caused the error. This helps quickly understand what went wrong.
A short, predefined code that identifies the type of error. Useful for logging the error or raising a support request.
Any structured metadata for the error object.
A list of warnings generated during the API request. These are non-critical issues or recommendations that might affect the request but won't stop it from processing. Each warning object provides a message to inform the user of potential problems.
One non-fatal warning attached to an otherwise-successful response.
Extension Data for customer Api warning
A plain message that describes the warning and helps understand what should be reviewed.
A short, predefined code that uniquely identifies the warning type.
Contains additional non-critical information relevant to the request or response. This field provides extra details that might assist in understanding the context of the API response but is not essential for processing.
One informational message in a response's Document360.Core.Messages.Core.BaseResponse.information array. Non-error context the SPA may surface to the user.
Extension data for customer Api response information
A plain message offering helpful context about the response, such as confirmation of fallback logic or skipped operations.
Authentication failed — the api_token header is missing, malformed, or has been revoked.
Extension data for customer API response
Indicates the status of the API response. A value of true signifies that the request was successfully processed, while false indicates a failure or error occurred.
A list of errors encountered during the API request. Each error object provides details about the problem, including an error code and a message explaining the issue. This field is populated when the request fails or encounters issues.
One structured error in a response's Document360.Core.Messages.Core.BaseResponse.errors array.
This is the Extension data object
A technical trace showing where the error occurred within the system. Intended for backend debugging.
A clear message explaining what caused the error. This helps quickly understand what went wrong.
A short, predefined code that identifies the type of error. Useful for logging the error or raising a support request.
Any structured metadata for the error object.
A list of warnings generated during the API request. These are non-critical issues or recommendations that might affect the request but won't stop it from processing. Each warning object provides a message to inform the user of potential problems.
One non-fatal warning attached to an otherwise-successful response.
Extension Data for customer Api warning
A plain message that describes the warning and helps understand what should be reviewed.
A short, predefined code that uniquely identifies the warning type.
Contains additional non-critical information relevant to the request or response. This field provides extra details that might assist in understanding the context of the API response but is not essential for processing.
One informational message in a response's Document360.Core.Messages.Core.BaseResponse.information array. Non-error context the SPA may surface to the user.
Extension data for customer Api response information
A plain message offering helpful context about the response, such as confirmation of fallback logic or skipped operations.
Rate limit exceeded for this api_token. Wait for the duration in the Retry-After header before retrying.
Extension data for customer API response
Indicates the status of the API response. A value of true signifies that the request was successfully processed, while false indicates a failure or error occurred.
A list of errors encountered during the API request. Each error object provides details about the problem, including an error code and a message explaining the issue. This field is populated when the request fails or encounters issues.
One structured error in a response's Document360.Core.Messages.Core.BaseResponse.errors array.
This is the Extension data object
A technical trace showing where the error occurred within the system. Intended for backend debugging.
A clear message explaining what caused the error. This helps quickly understand what went wrong.
A short, predefined code that identifies the type of error. Useful for logging the error or raising a support request.
Any structured metadata for the error object.
A list of warnings generated during the API request. These are non-critical issues or recommendations that might affect the request but won't stop it from processing. Each warning object provides a message to inform the user of potential problems.
One non-fatal warning attached to an otherwise-successful response.
Extension Data for customer Api warning
A plain message that describes the warning and helps understand what should be reviewed.
A short, predefined code that uniquely identifies the warning type.
Contains additional non-critical information relevant to the request or response. This field provides extra details that might assist in understanding the context of the API response but is not essential for processing.
One informational message in a response's Document360.Core.Messages.Core.BaseResponse.information array. Non-error context the SPA may surface to the user.
Extension data for customer Api response information
A plain message offering helpful context about the response, such as confirmation of fallback logic or skipped operations.