## 获取token
```[tex]
请求参数说明:
application_id:应用id
expires: token有效期,单位s,默认2592000s(30天)
```
```[tex]
细节说明:
token和应用相关,token只能访问获取时,对应应用下的文件;
同一应用申请新的token不会导致旧Token失效,一个应用可申请多个token使用;
```
~~~[api]
get:https://open.wellsign.cn/sdk/sign/v1/applications/token
*application_id=***#应用id
expires=2592000#单位为秒,token有效期,不提交默认是2592000(30天)
<<<
success
{
"succeed": 0,
"msg": null,
"data": {
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE1NTA3NDAyNDQsImlhdCI6MTU1MDY1MDI0NCwiYXBwX3NpZ25faWQiOiJZRU9JUEpNOFAxIn0.WM-hVj_QMfhYmJ-3gpPMo6k4jpnkmdQW2wb28_7VxoY"
}
}
<<<
error
{
"succeed": 200,
"msg": {
"en": "Parameter error",
"cn": "参数错误"
},
"data": null
}
~~~