Get User Info

Get User Info

Get user info

POST https://metaforo.io/api/me

Get user info.

Headers

Name
Type
Description

authorization*

String

API token.

api_key*

String

The API KEY that assigned to you.

{
    "status": true,
    "code": 20000,
    "description": "",
    "server": "rest",
    "data": {
        "user": {
            "id": 14991,
            "email": "[email protected]",
            "web3_public_key": "",
            "created_at": "2022-07-07T06:26:21.000000Z",
            "updated_at": "2022-07-07T06:26:21.000000Z",
            "photo_url": "https://cdn.everforo.com/20220707/32a263c99cef842416c34457e2d57ea2.jpg",
            "cover_image": null,
            "bio": null,
            "public_key": null,
            "likes": 0,
            "posts": 0,
            "activate": 1,
            "last_post_time": null,
            "stripe_cus_id": "",
            "web3_public_keys": [
                {
                    "type": 4,
                    "address": "cfxtest:aat2mex1s650nemd9mpm1ehgusmsexw74ah19sf72r"
                }
            ],
            "group_perm_level": [],
            "groups": [
                {
                    "id": 1,
                    "name": "EveforoOfficialDiscussionGroup",
                    "title": "Eveforo Official Discussion Group",
                    "created_at": "2020-06-29T06:46:35.000000Z",
                    "cover": "https://cdn.everforo.com/20200629/630f82036f4b2fe7430303661d57858d.png",
                    "logo": "https://cdn.everforo.com/20200629/afc8602a7e76c7e9f5259a78a07b6245.png",
                    "updated_at": "2022-09-02T06:47:52.000000Z",
                    "description": "The one and only official Everforo discussion group where you can interact with the developers and support staff.",
                    "followers": 216,
                    "posts": 0,
                    "no_recommend": 0,
                    "super_no_recommend": 0,
                    "main_token": 0,
                    "ipfs": "",
                    "ipns": "",
                    "score": 0,
                    "url": "https://test.metaforo.io/g/EveforoOfficialDiscussionGroup/all",
                    "permission_level": 0
                }
            ],
            "recommend_groups": [
                {
                    "id": 4910,
                    "name": "conflux_forum",
                    "title": "Conflux Forum",
                    "created_at": "2022-06-17T09:31:22.000000Z",
                    "owner": null,
                    "cover": "https://cdn.everforo.com/20220713/bf76a5f15714509867ff4520cdc589d4.jpg",
                    "logo": "https://cdn.everforo.com/20220707/47b60f17b077d7f3ffee1f2efd051ae3.jpg",
                    "updated_at": "2022-09-07T08:53:24.000000Z",
                    "description": "By the people, For the People!",
                    "followers": 4423,
                    "posts": 0,
                    "no_recommend": 0,
                    "super_no_recommend": 0,
                    "main_token": 0,
                    "ipfs": null,
                    "ipns": null,
                    "score": 100
                },
                {
                    "id": 4929,
                    "name": "confluxtest",
                    "title": "树图测试",
                    "created_at": "2022-07-07T09:14:46.000000Z",
                    "owner": 7088,
                    "cover": "https://cdn.everforo.com/20220707/9ad438e4dbd71649aac00b74bf19d756.png",
                    "logo": "https://cdn.everforo.com/20220707/5f62db4bfe46d5c939fb986219445edf.png",
                    "updated_at": "2022-07-22T08:52:52.000000Z",
                    "description": "树图测试",
                    "followers": 4,
                    "posts": 0,
                    "no_recommend": 0,
                    "super_no_recommend": 0,
                    "main_token": 0,
                    "ipfs": null,
                    "ipns": null,
                    "score": 99
                },
                {
                    "id": 4940,
                    "name": "shapeshift",
                    "title": "ShapeShift",
                    "created_at": "2022-07-25T02:42:44.000000Z",
                    "owner": null,
                    "cover": "https://cdn.everforo.com/20220730/e0705ded93091d8dfe0e43b6c25f2e2c.png",
                    "logo": "https://cdn.everforo.com/20220730/2bec1a4fb85dadf07b0a115d07a42724.png",
                    "updated_at": "2022-09-07T11:39:50.000000Z",
                    "description": "The community of FOX Token holders buidling the future of ShapeShift",
                    "followers": 637,
                    "posts": 0,
                    "no_recommend": 0,
                    "super_no_recommend": 0,
                    "main_token": 731,
                    "ipfs": null,
                    "ipns": null,
                    "score": 99
                }
            ],
            "ban_group": [],
            "can_join_group": [],
            "blocked_users": [],
            "api_version": 0,
            "super_admin": 0,
            "settings": null,
            "phantom_address": "",
            "ar_address": "",
            "dark_mode": 1,
            "referral_url": "https://test.metaforo.io/landing?method=referral&data=14991&sign=d511826e7745504b1520d8f1dc63e9a1",
            "intercom_secret": "32caca73e7a7428bfb5f38dfd117a0d3cc6a9a70b5a591836af2ce4f5c259e5d",
            "username": "metaforotest",
            "is_nft": 0
        }
    }
}

Sample Curl:

curl --location --request GET 'https://test.metaforo.io/api/me' \
--header 'api_key: metaforo_console' \
--header 'Authorization: Bearer 841|Fbk3GLfBkUYYRqL6OEw1QkoZnsur3ji9G8yx3Xjy'

Last updated