NoxVR Documentation
Integrity

Verify integrity token

Verify an integrity token for server-to-server communication. Requires challenge authentication.

POST
/integrity/verify
Authorization<token>

Integrity token authentication (format "Integrity ")

In: header

typestring
Value in"in" | "out"
tokenstring
user_idinteger

Response Body

application/json

application/json

application/json

curl -X POST "https://nox.hactazia.fr/api/integrity/verify" \  -H "Content-Type: application/json" \  -d '{    "type": "in",    "token": "string",    "user_id": 0  }'
{
  "valid": true
}
{
  "error": {
    "message": "Invalid field: {0}, {1}.",
    "code": 5,
    "status": 400
  },
  "data": null
}
{
  "error": {
    "message": "You are not logged in.",
    "code": 7,
    "status": 401
  },
  "data": null
}