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

PlayerDetailed

{
    "frayitId": "player_12345",
    "fullName": "John Doe",
    "gamerTag": "ShadowHunter",
    "trustScore": 83,
    "isKycVerified": true,
    "games": [
        {
            "gameTitle": "Battle Royale X"
        }
    ],
    "offenses": [
        {
            "_id": "66d06b7d9b2c3a0012f9e321",
            "player": "66d06b7d9b2c3a0012f9e100",
            "game": "66d06b7d9b2c3a0012f9e200",
            "studio": "66d06b7d9b2c3a0012f9e300",
            "type": "toxicity",
            "description": "Multiple slurs in chat",
            "severity": "high",
            "penaltyPoints": 8,
            "evidence": [
                {
                    "type": "text",
                    "content": "chat excerpt",
                    "submittedAt": "2025-08-31T12:30:00Z"
                }
            ],
            "reviewedByAdmin": false,
            "resolved": false,
            "createdAt": "2025-08-31T12:31:00Z",
            "updatedAt": "2025-08-31T12:31:00Z"
        }
    ]
}
Built with