Relays
Check bearer token
Check the validity of a bearer token.
access_tokenstring
user_idinteger
token_typestring
Response Body
application/json
application/json
application/json
application/json
curl -X POST "https://nox.hactazia.fr/api/relays/checkbearer" \ -H "Content-Type: application/json" \ -d '{ "access_token": "string", "user_id": 0, "token_type": "string" }'{
"valid": true,
"user": {
"id": 0,
"display": "string",
"server": "string"
},
"token_type": "string",
"access_token": "string"
}{
"error": {
"message": "Invalid field: limit, must be between 1 and 100.",
"code": 5,
"status": 400
}
}{
"error": {
"message": "Invalid field: limit, must be between 1 and 100.",
"code": 5,
"status": 400
}
}{
"error": {
"message": "Invalid field: limit, must be between 1 and 100.",
"code": 5,
"status": 400
}
}