# Generate Authorization Token


POST $BASE_URL/client_login

# Request Payload

Nothing required in header.

Field Type Description
client_id String Client ID given by Admin
client_secret String Client Secret given by Admin
exp_time Number Expiry time of auth token in minutes
platform String Platform ID or Company code given by Admin
mail_id String Email ID of responsible HR
{
    "client_id": "6357089854012817022",
    "client_secret": "8316569880361691470",
    "exp_time":21600,
    "platform": "WPT",
    "mail_id": "suraj+3@perspect.ai"
}

# Response Payload

Field Type Description
CIS String Authorization token to access other APIs
Field Type Description
message String Message
data Object Data content
200 OK
{
    "message": "Authenticated",
    "data": {}
}