Frayit Developer API
  1. Schemas
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
  1. Schemas

ReportSubmitResponse

{
    "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"
}
Built with