# Web 계정 로그인 정보 확인

<mark style="color:green;">`POST`</mark> `https://{auth-domain}/v1.0/auth/web/account/info`

#### Headers

| Name                                            | Type   | Description                 |
| ----------------------------------------------- | ------ | --------------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Bearer {{web-access-token}} |

{% tabs %}
{% tab title="200: OK 성공" %}

```javascript
{
    "return": 0,
    "message": "success",
    "value": {
        "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjMzMzcxYzVmLTVjZDctNDlhOS05ODhlLWFhOTQ0ZDA5OTgxMSIsImF1X2lkIjozMzA2MiwiZXhwIjoxNjQ4NTQ0ODE2NjIzLCJpbm5vX3VpZCI6Ikprb1l1RnZFaEhIenVUYXBsNHlvN3M1SEx3Q08vOWVOSSs4c29icGJsRk1kdS8rNW9UTnNiSm91MHJpR1RnRUMiLCJsb2dpbl90eXBlIjo0LCJzb2NpYWxfdHlwZSI6MX0.tLdhg2KJ-ek9RrEHCAn65P_6jLNaH7CNi2vPutWCkmE",
        "refresh_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdV9pZCI6MzMwNjIsImV4cCI6MTY0ODU0NDgxNjYyMywiaW5ub191aWQiOiJKa29ZdUZ2RWhISHp1VGFwbDR5bzdzNUhMd0NPLzllTkkrOHNvYnBibEZNZHUvKzVvVE5zYkpvdTByaUdUZ0VDIiwibG9naW5fdHlwZSI6NCwicmVmcmVzaF91dWlkIjoiYTZkMGNjYzktNTg0Zi00NWJkLTkwNTMtMmNkN2QyNmE4MmM1Iiwic29jaWFsX3R5cGUiOjF9.NraWQHvfAf8NGOzP3_veLymkhrup5K42UcxLG8AB4s4",
        "access_uuid": "33371c5f-5cd7-49a9-988e-aa944d099811",
        "refresh_uuid": "a6d0ccc9-584f-45bd-9053-2cd7d26a82c5",
        "access_token_expire_dt": 1648544816623,
        "refresh_token_expire_dt": 1648544816623,
        "inno_uid": "JkoYuFvEhHHzuTapl4yo7s5HLwCO/9eNI+8sobpblFMdu/+5oTNsbJou0riGTgEC",
        "au_id": 33062,
        "social_type": 1
    }
}
```

{% endtab %}
{% endtabs %}

{% tabs %}
{% tab title="Example Body" %}

```
{
    "inno_uid": "JkoYuFvEhHHzuTapl4yo7s5HLwCO/9eNI+8sobpblFMdu/+5oTNsbJou0riGTgEC"
}
```

{% endtab %}

{% tab title="Example Curl" %}

```
curl --location --request POST 'https://{auth-domain}/v1.0/auth/web/account/info' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhY2Nlc3NfdXVpZCI6IjQ1ZGMzNDFmLTJiZjItNDk2Ni05ZGZmLTkxMGQ4MTI5YTBkMiIsImF1X2lkIjozMzA2MiwiZXhwIjoxNjQ4MDQwNDM1ODcyLCJpbm5vX3VpZCI6Ikprb1l1RnZFaEhIenVUYXBsNHlvN3M1SEx3Q08vOWVOSSs4c29icGJsRk1kdS8rNW9UTnNiSm91MHJpR1RnRUMiLCJsb2dpbl90eXBlIjo0fQ.58MN8xwqza8S0ZWAglDBBDibhKXnUEqnAHoQJdVw26Y'
```

{% endtab %}

{% tab title="Response Value" %}

<table><thead><tr><th width="226.13953488372093">key</th><th>data type</th><th>desc.</th></tr></thead><tbody><tr><td>au_id</td><td>int</td><td>계정 UID  </td></tr><tr><td>social_type</td><td>int</td><td>소셜 타입(소셜 리스트 API로 부터 전달받은 소셜 정보 참고 부탁 드립니다.)</td></tr><tr><td>inno_uid</td><td>string</td><td>inno 플랫폼 유저 id</td></tr><tr><td>access_token</td><td>string</td><td>액세스 토큰<br>토근 만료시간 : 6시간</td></tr><tr><td>refresh_token</td><td>string</td><td>리프레시 토큰<br>토근 만료시간 : 6시간</td></tr><tr><td>access_uuid</td><td>string</td><td>액세스 토큰 uuid</td></tr><tr><td>refresh_uuid</td><td>string</td><td>리프레시 토큰 uuid</td></tr><tr><td>access_token_expire_dt</td><td>int64</td><td>액세스 토큰 만료시간 UTC (ms)</td></tr><tr><td>refresh_token_expire_dt</td><td>int64</td><td>리프레시 토큰 만료시간 UTC (ms)</td></tr></tbody></table>
{% endtab %}

{% tab title="Result Code" %}

| return        | message           | desc.               |
| ------------- | ----------------- | ------------------- |
| 0             | success           | 성공                  |
| 20000         | Invalid jwt token | 유효하지 않은 AccessToken |
| 20001         | Expired jwt token | 만료된 AccessToken     |
| {% endtab %}  |                   |                     |
| {% endtabs %} |                   |                     |
