---
# System prepended metadata

title: 檢查Token合法性
tags: [Token]

---

# 檢查Token合法性

**檢查Token是否可以使用**

#### 網址
正式：https://api-v2.hillcorp.com/api/auth/check-token
測試：https://api-v2-s.hillcorp.com/api/auth/check-token

#### Method
`POST`

#### 認證方式
Authoriztion : Bearer Token

#### 傳入參數

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


#### 回傳參數

|Name|Type|說明|
| ------------ | ------------ |------------ |
|result  |string |message |


#### Request Authoriztion
```
{
    Bearer Token : "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOlwvXC9oaWxsY29ycC12ZXIxLmxvY2FsLmNvbVwvYXBpXC9hdXRoXC9nZXQtdG9rZW4iLCJpYXQiOjE1ODg2Njg3MjUsImV4cCI6MTU4ODg4NDcyNSwibmJmIjoxNTg4NjY4NzI1LCJqdGkiOiI4SFJxQ1RMOHJUbXRmaFVaIiwic3ViIjoyLCJwcnYiOiIyODgyZjdjYzkzNWUwNTAwMDY3YzYwMTQ1MWZhZjljYzUyNTk4YzY2In0.qZ2m6vNgm0Q5t-nA31z1XkL5l8Lluz-UWQoXcAdjNZM"
}
```

#### Json Example
```
Request
{

}
```
```
Response
{
    "true"
}
```
```
Error Response
{
    "status": "false",
    "message": "Token is Invalid",
    "errors": []
}
```
