Introduction

Interaction with the API occurs via the HTTPS protocol.

To make a request, use the following URL structure:

https://api.cheatchecker.net/{section}?{parameters}

Replace {section} with the specific API section you wish to access and {parameters} with the required parameters for your request.

Example

To retrieve all temporary tokens, make a GET request to the following endpoint:

/alltemptokens?token=xqe82uqs9l1pgvwmln2zpwpigijupa

Response

Upon successful request, you will receive a JSON response outlining the status and details of each temporary token available. An example of the successful JSON response is as follows:

{
  "status": "success",
  "tokens": [
    { 
      "id": 1,
      "tempToken": "471739244f81853c2a03857f71e64f",
      "duration": 3600,
      "created at": "2024-02-14 12:00:56"
    },
    {
      "id": 2,
      "tempToken": "f0ad2231e4261401a23b1e54ae72b4",
      "duration": 3600,
      "created at": "2024-02-14 12:00:58"
    }
  ]
}

Required parameters

  • Token - your authentication token

Processing the Answer

If the request is successful, the field has a value of success. Every response from the API has a status field, which contains the status of the request.

{
    "status": "success",
}

If the request ends with an error, the status field will have the value error. In this case, next to this field will be the message field containing the error message:

{
    "status":"failed",
    "message":"Token is not specified in the URL parameter."
}

Last updated