Description:

Authenticates user and gives back an access token which can be used to perform the action as an authenticated user

URL: v3/api/login

Method: POST

Response Format: JSON

Parameters :

Name Data Type Required / Optional Description
user_name String Required Username/Email of the Agent
password String Required Password of the Agent

Success Response :

{
    "success": true,
    "data": {
        "id": 1,
        "first_name": "Test",
        "last_name": "Name",
        "email": "test@test.com",
        "user_name": "test@test.com",
        "token": "oauthtoken"
    }
}
Tagged:

Leave a Reply

Your email address will not be published. Required fields are marked *