The Click Jogos API allows you to integrate your game to our platform and utilize several advantages, as offer achievements for your user, and receive real-time stats about your game.

API Object

Click Jogos API has by default the object ‘CJApi’ and you will see many references to that object in this documentation, so is important to keep in mind that this call can not be changed to code respond exactly like the documentation.

Packages Keys Salt Security


All API's functions were divided into packages to make the data manipulation easier. Each function package will be related to a set of data that can be manipulated

The package Users contain methods that allow the developer to obtain data from users that are logged at ClickJogos, the package Services , allow the developer to display some Click Jogos specific services during the game, for example display a login pop-up or a user registration pop-up. The package Stats allows the developer to send values, any time, from the game to the stats that were defined on the DevCenter


Developer Key

Your developer key is one way to ensure that only you can perform actions within your game, it is generated after you register on our DevCenter, and can be seen in the edition of your developer profile.


Game Key

Your game key is one way to ensure that only your game can request actions to our server, it is generated after you register a game on our DevCenter, and can be seen in the edition of the game, its is unique and can’t be edited or deleted.


Salt Security

For every requisition to our server, you will need to send a encripted salt parameter in 64-base to authenticate your request.

You need to create your salt parameter using the slash ‘/’ between the atributes to define all the parts of the body. The slash is the point that the split is done and your access keys are verified.

This salt parameter should contain the strings corresponding to your developer key obtained when registering in DevCenter, your game key where this request is sent, the timestamp of the request, and an encode MD5 containing the timestamp of the request and your developer key.

Veja na documentação específica para cada linguagem a maneira que o parâmetro salt deve ser declarado, e como ele deve ser usado.

Specific documentation for each language