Get Group Categories

Get group categories

GET https://api.metaforo.io/v2/groups/{group_id}/categories

Get group categories.

Request Body

Name
Type
Description

group_id*

int

The ID of the group

api_key*

String

The API KEY that assigned to you.

{
    "status": true,
    "code": "20000",
    "description": "",
    "server": "rest",
    "data": {
        "category": [
            {
                "id": 2405,
                "group_id": 4656,
                "name": "2345678",
                "category_id": 1,
                "parent_id": "",
                "order": "1",
                "_import_source_import_id": "",
                "_import_source_forum_id": ""
            },
            {
                "id": 4132,
                "group_id": 4656,
                "name": "Uncategorized",
                "category_id": 132,
                "parent_id": "",
                "order": "2",
                "_import_source_import_id": "",
                "_import_source_forum_id": ""
            }
        ]
    }
}

Good to know: This API method was created using the API Method block, it's how you can build out an API method documentation from scratch. Have a play with the block and you'll see you can do some nifty things like add and reorder parameters, document responses, and give your methods detailed descriptions.

Last updated