Authentication
Getting an Access Token
Method: POST Content-Type: application/json URL: https://testapi.cmswager.com/api/v1/get_token
Parameter
Type
Mandatory
Description
clientUsername
String
Client username, provided by CmsWager
clientPassword
String
Client password, provided by CmsWager
Example Request
{
    "clientUsername": "test",
    "clientPassword": "test"
}Example Response
{
    "data": {
        "token": "B9MfbOYi7JCv8wqaLexrHRprjp62Sst7ZYNPRSEm",
        "type": "Bearer",
        "expiry": 3600
    },
    "result": "success"
}Last updated