"Sign In with Hytale"
Authenticate Hytale players in your websites, servers and bots. Get started in minutes.
# Create an auth session
$ curl -X POST https://www.hyauth.com/api/auth/create \
-H "Authorization: Bearer hy_demo_k7x9..." \
-H "Content-Type: application/json" \
-d '{"scopes":{"gameProfiles":true}}'
# Response
{
"success": true,
"sessionId": "a1b2c3d4-e5f6-7890...",
"loginUrl": "https://www.hyauth.com/login?session=a1b2...",
"expiresIn": 599
}