Issue a token for an Open API app.
GET
/erupt-api/open-api/create-token
The token carries the permissions of the user bound to the app and is sent like a login token. Only one token per appid is valid at a time: issuing a new one revokes the previous.
Parameters
Query Parameters
appid*
Application id
Type
Requiredstring
Format
"string"secret*
Application secret
Type
Requiredstring
Format
"string"Responses
OK
*/*
JSON "data": { "token": "string", "expireTime": "yyyy-MM-dd HH:mm:ss" }, "message": "string", "success": true, "status": "SUCCESS", "promptWay": "DIALOG"
{
}