Method: authenticate

Description:

Validate email address and password of a Lipperhey account. If the account is valid the API will respond with account information and the login key of the user.

Requires:

apikey, email, password

Available in:

Version 1.0

Parameters:

apikey: The API key that is provided with your reseller account.

email: Valid email addres that was used to create the Lipperhey account.

password: SHA1 encrypted password.

http://www.lipperhey.com/api/1.0/?apikey=[your-api-key]&method=authenticate&email=test@demo.com&password=c533ada01519f35e2b32ff13c88d6a08dff6d61c

Response:

If there are no errors, the API will respond with account information and the login key of the user. With this key you can redirect the user to directly to his Lipperhey account. The user doesn't have to login, the key will be validated by Lipperhey and the user will be logged in automatically.

The url points to the login page and contains the key with slashes ../login/key/

http://www.lipperhey.com/en/login/19c1aa546fd706753s949b383be245d149c1eb17/

<!--Lipperhey API Response-->
<response queries="6" time="15 ms" calls-left="9985">
    <error/>
    <websites/>
    <users results="1">
        <user timestamp="2009-07-07 10:54:21">
            <email>info@domain.com</email>
            <firstname>John</firstname>
            <lastname>Do</lastname>
            <key>19c1aa546fd706753s949b383be245d149c1eb17</key>
        </user>
    </users>
</response>

If an error occured a description of the error wil be available in the error field.

Examples:

Download API examples