KeyAuth
KeyAuth Website
Socials
  • KeyAuth Discord
  • KeyAuth Telegram
  • KeyAuth YouTube
KeyAuth Website
Socials
  • KeyAuth Discord
  • KeyAuth Telegram
  • KeyAuth YouTube
  1. Getting Started
  • Overview
    • Security Pratices
    • Premade Examples - SDKS
    • QnA
    • Rate Limiting
  • API
    • Getting Started
      • License
        • License Login
        • Redeem License (Upgrade)
      • ⚠️ Initialization ⚠️
        GET
      • Login
        GET
      • Logout
        GET
      • Register
        GET
    • Features
      • Chatroom/Messages
        • Retrieve Messages
        • Send Message
      • User Variables
        • Retrieve User Variables
        • Set User Variable
      • 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
    • Global Variables
      • Create A New Global Variable
      • Delete Global Variable
      • Delete All Global Variables
      • Edit Existing Global Variable
      • Retrieve All Global Variables
      • Retrieve An Existing Global Variable
    • Licenses
      • Add Time To All Unused Licenses
      • Assign A License To A User
      • Ban License
      • Create A New License
      • Create A New User Using A License
      • Delete All Licenses
      • Delete An Existing License
      • Delete Multiple Licenses
      • Delete All Used Licenses
      • Delete All Unused Licenses
      • Retrieve All Licenses
      • Retrieve License Information
      • Set Note On Existing License
      • Unban A License
      • Verify License Exists
    • Logs
      • Retrieve All Logs
      • Delete All Logs
    • Sessions
      • End Selected Session
      • End All Sessions
      • Retrieve All Sessions
    • Subscriptions
      • Create A New Subscription
      • Delete An Existing Subscription
      • Edit An Existing Subscription
      • Retrieve All Subscriptions
      • Pause An Existing Subscription
      • Unpause An Existing Subscription
    • Users
      • Add An HWID To An Existing User
      • Ban User
      • Create A New User
      • Change Users Password
      • Change Users Email
      • Change User's Username
      • Delete An Existing User
      • Delete All Expired Users
      • Delete A Users Variable
      • Delete All User Variables Using The Variable Name
      • Delete A Users Subscription
      • Delete All Users
      • Extend Users Expiration
      • Pause A User
      • Retrieve All Users
      • Retrieve All User's Variables
      • Retrieve All Usernames
      • Retrieve All Users Subscriptions
      • Retrieve License From User
      • Retrieve User Variable Data
      • Reset A Users HWID
      • Reset All Users HWID
      • Retrieve User Data
      • Set A User Variable
      • Subtract Time From A Users Expiration
      • Set Users HWID Reset Cooldown Duration
      • Unban A User
      • Unpause A User
      • Verify A User Exists
    • Webhooks
      • Create A New Webhook
      • Delete All Webhooks
      • Delete Webhook
      • Retrieve All Webhooks
    • Web Loader
      • Create A New Web Loader Button
      • Delete A Web Loader Button
      • Delete All Web Loader Buttons
      • Retrieve All Web Loader Buttons
    • Whitelists
      • Add IP To Whitelist
      • Delete All Whitelists
      • Delete Existing IP Whitelist
    • Reseller/Manager Accounts
      • Add Balance To Reseller
      • Create A New Reseller/Manager Account
      • Delete A Reseller or Manager Account
      • Retrieve All Resellers and Managers
      • Retrieve Balance From Reseller
  • Custom Domain Setup
    • Custom Domain (API)
  1. Getting Started

⚠️ Initialization ⚠️

GET
https://keyauth.win/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.cc/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.win/api/1.3/?type=init&ver=&name=&ownerid=&hash&token&thash'

Responses

🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2025-03-29 20:53:54
Previous
Redeem License (Upgrade)
Next
Login
Built with