Create new category.

Resource url

https://yourproject.userecho.com/api/v2/forums/[forum_id]/categories.json

Parameters

Parameter Value Required? Default Options Description
name String yes Category name
description String no "" Category description
parent_id Integer no null Parent category ID

Request example

{
    "name": "New category",
    "description": "Our new category",
    "parent_id": 4
}

Response example

{
    "topic_count": 0, 
    "description": "Our new category", 
    "name": "New category", 
    "id": 12
}
© 2024 Stamul, LLC. All rights reserved.