Profile

Get Account

GET /me

Headers

Name
Type
Description

Authorization*

String

Bearer access_token

{
    "data": {
        "id": 2,
        "name": "Khalid Al Asad",
        "username": "[email protected]",
        "email": "[email protected]",
        "last_login": "2023-11-15 15:55:03",
        "avatar": null,
        "created_at": "2023-09-27 15:50:12",
        "phone": "+6285333533022",
        "client": {
            "name": "Demo Munio",
            "code": "demo",
            "subdomain": "demo",
            "key": "MUNIO-kG0fvuQr",
            "description": "<p>Platform managemen komunitas yang membantu pengurus komunitas memaksimalkan potensi, pengelolaan, serta pertumbuhan komunitas menggunakan teknologi digital secara independen dan efektif.</p><p><br></p>",
            "email": "[email protected]",
            "phone": "082233485320",
            "address": "Jl. Sutorejo Selatan IV No.24, RT.04/RW.08, Dukuh Sutorejo, Kec. Mulyorejo, Surabaya, Jawa Timur 60113"
        },
        "member": {
            "data": {
                "id": 105,
                "member_number": "",
                "user_id": 2,
                "name": "Khalid Al Asad",
                "email": "[email protected]",
                "phone": "+6285333533022",
                "address": "",
                "gender": null,
                "birth_date": null,
                "is_active": 0,
                "activated_at": null,
                "deleted_at": null,
                "is_banned": 0,
                "social_media": {
                    "facebook_link": "",
                    "instagram_link": "",
                    "linkedin_link": "",
                    "youtube_link": ""
                },
                "created_at": "2023-11-15T04:58:40.000000Z",
                "avatar": null,
                "is_verified": 1,
                "verified_at": "2023-11-15 12:01:22",
                "status": "verified",
                "custom_attributes": [
                    {
                        "custom_value_id": 2,
                        "label": "Umur",
                        "value": "22"
                    },
                    {
                        "custom_value_id": 6,
                        "label": "Panjang Umur",
                        "value": "Sekali"
                    }
                ],
                "division": {
                    "data": {
                        "id": 2,
                        "name": "Mulyorejo",
                        "slug": null,
                        "code": "demo-mulyorejo",
                        "description": "",
                        "is_active": 1,
                        "activated_at": null,
                        "is_parent": false,
                        "image": null,
                        "background_image": null,
                        "members_count": 1,
                        "subdivisions_count": 0
                    }
                }
            }
        }
    }
}

Update Account

PUT /me

Headers

Name
Type
Description

Authorization*

String

Bearer access_token

Request Body

Name
Type
Description

name

String

Your name

email

String

Your email

phone

String

Your phone

avatar

String

Your avatar (base64)

member

Object

Delete Account

DELETE /me

Delete user

Headers

Name
Type
Description

Authorization

String

Bearer access_token

Delete Avatar

DELETE /me/avatar

Delete avatar user

Headers

Name
Type
Description

Authorization

String

Bearer access_token

Get Membership

GET /profile/membership

Headers

Name
Type
Description

Authorization*

String

Bearer access_token

Client-Key*

String

Get Membership Package

GET /profile/membership/package

Headers

Name
Type
Description

Authorization*

String

Bearer access_token

Client-Key*

String

Example Request

Example Request With Update Member

Example Request Change Password

Example Request Change Social Media

Last updated