Authentication


All API requests are required token authentication. All requests are using same authentication system. So authentication request is taken here separately. Token authentication type is Bearer Token. Expired time is 1 hour. You need to have an account in our service to get access token.

Request

Syntax:

POST /api/get_auth_token HTTP/1.1
Host: ServiceURL
Content-Type: multipart/form-data
Connection: keep-alive

Argument:

Parameter Description Mandatory
email Email of your account Yes
password Password of your account Yes

Response

Success:


    {
        "success": true,
        "token": "access token",
        "debug": ""
    }

                    

Error:


    {
        "success": false,
        "token": "",
        "debug": "Error message"
    }