Skip to content

loginGJAccount.php

This endpoint is used to log into a players Geometry Dash account.

NOTE

This page is under the database/accounts directory.

Parameters

ParameterExplanationRequired
udidThe user's Universal Unique IdentifierYes
userNameThe username for the account the player is trying to log intoYes
passwordThe plaintext password for the account the player is trying to log intoYes
secretAccount Secret: Wmfv3899gc9Yes
sIDThe player's Steam ID

Note the sID parameter is only sent to the servers if the player is logging into their account from the steam release of Geometry Dash. From what has been observed, it has not been utilised.

Responses

A successful login attempt will return the players accountID and player ID seperated by a ,

py
# response = 71,16
accountID, playerID = response.split(",")

If the request was not successful, there are 7 different error codes that can be returned

Error CodeMeaning
-1Generic Error
-8If the user's password is less than 6 characters long
-9If the user's Username is less than 3 characters long
-10User account ID does not match the currently logged in ID (only used internally, not sent by servers)
-11If the user's login credentials are incorrect
-12If the user's account is disabled
-13If the account the user is trying to log into has a different steam ID to to that account (Unused)