Activate

Simple guide on how to activate a user with the universal api


name : username -> value : the username you're trying to activate the sub

name : password -> value : the password of the user

name : token -> value : the token to activate the sub

name : program_key -> value : the program key

name : api_key -> value : the program api/enc key

complete api link for activating the user's sub : https://cauth.me/api/uni_handler.php?type=activate


PHP Code-Example

All the examples related to the universal api can be found in the php implementation located here : PHP
Response example : {"success":false,"response":"invalid_password","message":"The user's password is wrong"}
it is a json encoded array with three elements, success, result and message.