Get Group Info

Get group info

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

Get group info.

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": {
        "group": {
            "id": 4890,
            "name": "testtitle",
            "title": "testtitle_title",
            "created_at": "2022-05-26 07:48:43",
            "owner": 9055,
            "cover": "https://test.metaforo.io/img/group_cover_3.jpg",
            "logo": "https://test.metaforo.io/img/group_logo_3.png",
            "updated_at": "2022-05-26 07:48:43",
            "description": "",
            "no_recommend": "0",
            "super_no_recommend": "0",
            "joining": 1,
            "visibility": 1,
            "show_snapshot": "0",
            "snapshot_space": "",
            "erc20_token": {
                "status": "0",
                "is_import": "0",
                "address": "",
                "name": "",
                "symbol": "",
                "decimal": "0",
                "logo": "",
                "balance": "0"
            },
            "feature": [
                {
                    "id": 4,
                    "feature_name": "adminsAndModerators",
                    "is_setting": 1,
                    "status": 1
                },
                {
                    "id": 9,
                    "feature_name": "badges",
                    "is_setting": 1,
                    "status": 1
                },
                {
                    "id": 6,
                    "feature_name": "attached_files",
                    "is_setting": 1,
                    "status": 1
                },
                {
                    "id": 5,
                    "feature_name": "GroupLevelPermission",
                    "is_setting": 1,
                    "status": 1
                },
                {
                    "id": 8,
                    "feature_name": "layout",
                    "is_setting": 1,
                    "status": 1
                },
                {
                    "id": 10,
                    "feature_name": "rewards",
                    "is_setting": 1,
                    "status": null
                },
                {
                    "id": 3,
                    "feature_name": "share_externally",
                    "is_setting": 0,
                    "status": 1
                },
                {
                    "id": 2,
                    "feature_name": "subscription",
                    "is_setting": 0,
                    "status": 1
                },
                {
                    "id": 7,
                    "feature_name": "topic_organization",
                    "is_setting": 1,
                    "status": 1
                },
                {
                    "id": 11,
                    "feature_name": "discordsettings",
                    "is_setting": 1,
                    "status": null
                }
            ],
            "attached_files": {
                "allow_everyone": 1,
                "allow_post": 1,
                "allow_all_file_type": "0"
            },
            "group_admin": [
                {
                    "id": 6354,
                    "group_id": 4890,
                    "level": 1,
                    "user_id": 9055,
                    "deleted_at": null,
                    "created_at": "2022-05-26 07:48:43",
                    "updated_at": "2022-05-26 07:48:43"
                }
            ],
            "permission_level": "0",
            "online_members": 1,
            "pending_user": [],
            "group_subscription": {
                "current_plan": "business",
                "group_id": 4890,
                "is_canceled": false,
                "period_end": ""
            },
            "members": 2,
            "gallery": "",
            "privacy_type": "0",
            "ft_count": "0",
            "chain_type": "0",
            "open_readonly": "0",
            "primary_nft": "",
            "primary_token": "",
            "group_settings": {
                "layout_type": "modern",
                "show_link_preview": "1",
                "show_poll_cate": "0"
            },
            "tags": [],
            "order_tags": [],
            "poll_category": [],
            "main_token_address": "",
            "tip_token_info": []
        }
    }
}

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