Authentication

Before you can effectively use API, you need to authenticate. With your Bealder Plateform account (email and password), you will get Token.

POST https://api.bealder.com/v2/auth

Parameters

Name Type Description
email String Your Email
password String Your password

Example

curl -X POST https://api.bealder.com/v2/auth \
 -H "content-Type:application/json" \
 -d '{"email":"example@bealder.com","password":"password"}' 

Success Response

{
    "status": "success",
    "session": {
        "token": "e3af52364f769c73f826c2fccdae57c9",
        "email": "example@bealder.com",
        "valid": "2015-06-24T15:03:31+0200"
    },
    "code": 200,
}

Error Response

{
    "status": "error",
    "error_message": "no user found",
    "code": 404
}

Use TOKEN

Use this token for all call to API