Migrate from KeyAuth (drop-in)

If your app already uses a KeyAuth SDK, you do not need to rewrite it. Ghotz Auth speaks the same API (1.0, 1.1, and 1.2). Change the server URL and your credentials from the Ghotz dashboard.

One-line rule

Replace every keyauth.win / keyauth.cc API URL with:

https://keyghotz.space/api/1.2/

Step by step

  1. Keep your existing KeyAuth SDK file (C#, C++, Python, Java, Swift, Dart, etc.).
  2. Change only the API URL from https://keyauth.win/api/1.2/ (or keyauth.cc) to https://keyghotz.space/api/1.2/
  3. Use the same application name, ownerid, and version from Manage Apps on keyghotz.space.
  4. Optional: rename UI text KeyAuth → Ghotz Auth (not required for the API to work).
  5. Do not put application secret inside EXE/APK — only name, ownerid, version, and API URL.

Where to change the URL (by SDK)

LanguageWhat to edit
C# / .NET / UnityIn KeyAuth Auth.cs (or api.cs): public static string url = "https://keyghotz.space/api/1.2/";
C++std::string url = "https://keyghotz.space/api/1.2/"; or GHOTZ_API_URL in config
PythonIn KeyAuth api.py: change url variable to Ghotz URL
PHP / JS / Java / Lua / Go / RustSame — find url / apiurl in the SDK file
iOS SwiftKeyAuthAPI(..., url: "https://keyghotz.space/api/1.2/")
Android KotlinKeyAuthAPI(..., url = "https://keyghotz.space/api/1.2/")
Flutter / DartKeyAuth(..., url: 'https://keyghotz.space/api/1.2/')

What stays the same

Credentials

Create an app on Manage Apps at keyghotz.space. Copy name, ownerid, and version (must match App Settings).

API versions

VersionURL
1.2 (recommended)https://keyghotz.space/api/1.2/
1.1https://keyghotz.space/api/1.1/
1.0 (encrypted)https://keyghotz.space/api/1.0/
Do not call keyauth.win or keyauth.cc from your app — use only your Ghotz host. Your users and keys live on your server.

Full tutorial · API reference · Download Ghotz SDKs