Retrieve Secret Code

In case players cannot use the QR Code (broken phone camera, unauthorised camera...), then they can enter a 6 digit secret code.

API Request

PATCH/players/{custom_id}/secret

Retrieve a new Secret Code for the given Custom ID (profile). This will invalidate the old profile.

The code is available for 5 minutes.

DEPRECATED

This feature is now deprecated, and you should use [Profiles] Retrieve Secret Code instead.

JSON Parameters

Nothing

Response example

{
  "success": true,
  "message": null,
  "code": 200,
  "data": {
    "custom_id": "5",
    "code": "742689",
    "expires_at": "2023-01-01T15:34:55+01:00"
  }
}

What's next?

Powered by Doctave