Skip to main content
POST
/
api
/
v1
/
auth
/
anonymous-token
获取匿名 Token
curl --request POST \
  --url https://api.end.shallow.ink/api/v1/auth/anonymous-token \
  --header 'Content-Type: application/json' \
  --data '
{
  "fingerprint": "<string>"
}
'
{
  "code": 0,
  "data": {
    "token": "anon_xxxx",
    "expires_in": 7200
  }
}

Body

application/json
fingerprint
string
required

设备指纹(≥32字符)

Minimum string length: 32

Response

200 - application/json

获取成功

code
integer
Example:

0

data
object