EpicAuth
  1. Getting Started
EpicAuth
  • Overview
    • Security Pratices
    • Premade Examples - SDKS
    • QnA
    • Rate Limiting
  • Dashboard
    • Manage Applications
    • App
      • Licenses
      • Users
      • Tokens
      • Subscriptions
      • Chats
      • Sessions
      • Webhooks
      • Files
      • Global Variables
      • Logs
      • Blacklists
      • Whitelists
      • Audit Logs
      • Settings
    • Seller
      • Settings
      • Web Loader
      • Logs
    • Settings
      • Forms
      • Resellers | Manager
      • Settings
  • API
    • Getting Started
      • License
        • License Login
        • Redeem License (Upgrade)
      • Initialization
        GET
      • Login
        GET
      • Logout
        GET
      • Register
        GET
    • Features
      • Ban User
      • Check Blacklist
      • Check Session
      • Disable 2FA
      • Change Username
      • Download File
      • Enable 2FA
      • Fetch Online Users
      • Forgot Password
      • Fetch Stats
      • Log
      • Webhook
      • Retrieve Global Variable
    • Displaying Data
      • Displaying Data
  • Seller API
    • Application Settings
      • Add Application Hash
      • Edit Application Settings
      • Retrieve Application Details
      • Retrieve Current Application Settings
      • Retrieve Stats
      • Pause Application
      • Reset Application hash
      • Unpause Application
    • Blacklists
      • Create New Blacklist
      • Delete An Existing Blacklist
      • Delete All Blacklists
      • Retrieve All Blacklists
    • Chats
      • Create A New Chat Channel
      • Delete Channel Messages
      • Delete Existing Chat Channel
      • Edit Existing Chat Channel
      • Retrieve All Mutes
      • Retrieve All Chat Channels
      • Mute A User
      • Unmute A User
    • Files
      • Delete Existing File
      • Delete All Files
      • Retrieve All Existing Files
      • Retrieve An Existing File
      • Edit An Existing File
      • Upload A New File
  1. Getting Started

Initialization

GET
https://keyauth.site/api/1.3/
INFO
This is the main function that you need before running any other KeyAuth
functions. Make sure you are only using this function 1 time in
your code. Using it multiple times will cause an error.

Request

Query Params
type
string 
required
The type of request. (init)
Example:
init
ver
string 
optional
The version of the application.
name
string 
required
The name of the application.
ownerid
string 
required
Your owner ID
hash
string 
optional
MD5 hash to prevent people from altering the program
token
string 
optional
If token validation is enabled via the application settings, a user will be required to enter a token that is assigned to their account via https://keyauth.site/app/?page=tokens to be able to log in. (OPTIONAL! AND IS TYPICALLY STORED IN A .txt file! https://www.youtube.com/watch?v=I9rxt821gMk&t=1s)
thash
string 
optional
If token validation is enabled via the application settings, a hash will need to be assigned! This hash comes from the text file that is storing the token. https://www.youtube.com/watch?v=I9rxt821gMk&t=1s

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://keyauth.site/api/1.3/?type=init&ver=&name=&ownerid=&hash&token&thash'

Responses

🟢200Success
application/json
Body
string 
optional
Example
{
    "success": true,
    "message": "Initialized",
    "sessionid": "",
    "appInfo": {
        "numUsers": "",
        "numOnlineUsers": "",
        "numKeys": "",
        "version": "",
        "customerPanelLink": "https://keyauth.site/panel/{owner}/{name}"
    }
}
🟠400 Failure
🔴500Server Error
Modified at 2025-06-02 21:00:46
Previous
Redeem License (Upgrade)
Next
Login
Built with