---
# System prepended metadata

title: 會員資訊
tags: [會員]

---

# 會員資訊
**API 修改紀錄**
|版本|日期|備註|
| ------------ |------------ |------------ |
| v1 |2024/02/06 | 發佈 |
| v1.1 |2024/03/06 | 修改 |


#### 網址
https://{domain}/api/v1/member/info

#### Http Method
GET

#### HTTP Header
accept-language : language code
apikey : apk key

#### HTTP Body 傳入參數

|欄位名稱|必填|型態|欄位|備註|
| ------------ | :-----------: |:-----------: |------------ |------------ |


#### HTTP Response 回傳參數

|Name|Type|說明|
| ------------ | ------------ |------------ |
|account  |string |會員帳號 |
|name  |string |會員名字 |
|nickname  |string |暱稱 |
|avatar  |string |大頭照圖檔位置 |
|birthday  |string |生日 |
|gender  |int |0:未設定/1:男/2:女 |
|google_id  |string |google ID |
|apple_id  |string |apple ID |
|gender_list  |Array | 性別下拉選單資料 |


#### Request Header Authoriztion
```json
{
    "accept-language" : "en",     //or 'zh_tw'
    "apikey" : "api key string"
}
```

#### Json Example
Request Json
```json
```

Response Json Success
```json
{
    "status": true,
    "code": 200,
    "message": "成功",
    "result": {
        "name": "Jacksons",
        "gender": 1,
        "birthday": "2024-01-06",
        "avatar": "url.....",
        "account": "test@gmail.com",
        "google_id": "1234567890",
        "apple_id": null,
        "gender_list": [
            {
                "value": 0,
                "name": "未指定"
            },
            {
                "value": 1,
                "name": "男"
            },
            {
                "value": 2,
                "name": "女"
            }
        ]
    }
}
```

Response Json Error
```json
{
    "status": false,
    "code": 401,
    "message": "Token is Invalid",
    "result": null
}
```
