Frayit Developer API
    Frayit Developer API
    • Exchange authorization code for access token
      POST
    • Fetch logged-in player profile (OAuth2 + client_secret header)
      GET
    • Fetch player by Frayit ID (Client Credentials)
      GET
    • Submit an anti-cheat report
      POST
    • Submit a toxicity report
      POST
    • Submit an AFK report
      POST
    • Submit a griefing report
      POST
    • Schemas
      • Schemas
        • ErrorResponse
        • Evidence
        • AnticheatReport
        • ToxicityReport
        • AfkReport
        • GriefingReport
        • Reportoffense
        • ReportSubmitResponse
        • PlayerPublic
        • PlayerDetailed
        • TokenRequest
        • TokenResponse

      Submit an anti-cheat report

      POST
      https://api.frayit.com/v1/anticheat/submitReport/{frayitId}
      Last modified:2025-08-31 14:10:00
      Normalizes anti-cheat inputs (binary, confidence, logs) and applies a trust score penalty (max -20). Requires client credentials headers.

      Request

      Authorization
      API Key
      Add parameter in header
      client_id
      Example:
      client_id: ********************
      API Key
      Add parameter in header
      client_secret
      Example:
      client_secret: ********************
      or
      Path Params

      Body Params application/json

      Examples

      Responses

      🟢201Created
      application/json
      Report submitted and trust score updated
      Body

      🟠400Bad Request
      🟠401Unauthorized
      🟠404Record Not Found
      🔴500Server Error
      Request Request Example
      Shell
      JavaScript
      Java
      Swift
      cURL
      curl --location --request POST 'https://api.frayit.com/v1/anticheat/submitReport/' \
      --header 'client_id: <api-key>' \
      --header 'client_secret: <api-key>' \
      --header 'Content-Type: application/json' \
      --data-raw '{
          "report": {
              "isCheatDetected": true,
              "type": "aimbot",
              "description": "Player caught using an aimbot",
              "severity": "high",
              "evidence": [
                  {
                      "type": "video",
                      "url": "https://clips.game/cheat1.mp4"
                  }
              ]
          }
      }'
      Response Response Example
      201 - Example 1
      {
          "message": "Report submitted successfully",
          "playerId": "PLAYER123",
          "gameId": "66d06b7d9b2c3a0012f9e999",
          "trustScore": 83,
          "penaltyApplied": 15,
          "report": {
              "_id": "66d06b7d9b2c3a0012f9e123",
              "player": "string",
              "game": "string",
              "studio": "string",
              "type": "cheating",
              "description": "string",
              "severity": "low",
              "penaltyPoints": 0,
              "evidence": [
                  {
                      "type": "screenshot",
                      "url": "https://cdn.example.com/clip.mp4",
                      "content": "Raw log payload or text snippet",
                      "submittedAt": "2019-08-24T14:15:22Z"
                  }
              ],
              "reviewedByAdmin": true,
              "resolved": true,
              "createdAt": "2019-08-24T14:15:22Z",
              "updatedAt": "2019-08-24T14:15:22Z",
              "resolvedAt": "2019-08-24T14:15:22Z"
          },
          "timestamp": "2019-08-24T14:15:22Z"
      }
      Modified at 2025-08-31 14:10:00
      Previous
      Fetch player by Frayit ID (Client Credentials)
      Next
      Submit a toxicity report
      Built with