Login

Generate Token

Below is the expected payload used to invoke the get token endpoint.

Request

ParameterTypeMandatoryDescription
Username
{username}
StringYESThe username shared to get a token.
Password
{password}
StringYESThe password required to login to the platform.

Sample Request

{
   "username":"TEST_USER",
   "password":"TEST_PASSWORD"
}

Response

ParameterTypeMandatoryDescription
Token Type
{token_type}
StringYESThis tells us the type of token to expect.
Expires In
{expires_in}
StringYESThis tells us how long the token is valid.
Access Token
{access_token}
StringYESThis holds the token to be used.

Sample Response

{
    "token_type": "bearer",
    "expires_in": 3600,
    "access_token": "eyJraWQiOiJjYXMtcGsiLCJhbGciOiJSUzUxMiJ9.eyJzdWIiOiI3IiwicGFyZW50IjoiR2VvcmdlX0dhdGhlY2EiLCJsZXZlbCI6IkNVU1RPTUVSIiwiaXNzIjoiaHR0cDovL2Nhcy1hcGkuZGV2ZWxvcG1lbnQ6ODA4MC8iLCJ1dHlwZSI6IkFQSSIsImF1ZCI6Ik1lc3NhZ2luZ1BsYXRmb3JtIiwicGhvbmUiOiIyNTQ3MjEwMDIwMCIsIm5hbWUiOiJyZWNvbi1hZG1pbiIsImNsaWVudCI6Ikdlb3JnZV9HYXRoZWNhIiwiZXhwIjoxNjg4NDYxNDE1LCJpYXQiOjE2ODg0NTc4MTUsImN1c3RfaWQiOjEsImp0aSI6IjI1NThjMDc2LTk0M2MtNGVjOS1iYzhiLWQ4MTUxNjlmMTcyYWQ5Yjc4MzE2LWQ0ODUtNDcwYi1hY2VmLWFkYTRmM2FjYjgyMCIsImVtYWlsIjoicmVjb24tYWRtaW5AY2VsbHVsYW50LmNvbSJ9.IjjLJJ8fvsKhuMW4kagi7uPT2vYrajILNDSAmtudWJFO97USs45kXmc32u3PGegMUM50hVfFyCbXIkcSbndPkZvts4-Sv9rWFvQgUKukJLDmMLlGCwIxanPyRFVdphFRT4HCfJgQG1ZTjVlPPqjylxLHeG3QdQBHsoP38yU08oK0JnKQOn6o7LZ_humxz0TKUBrvYtfH9io_syRs6RvwTe3z2Zq1dG97RHCLfZkEYiXRbUD28GOd4PJEiZ3iWD4xeUL9OBnQtk2smCSBIXsbr788nbk4wGsarj_sFZAXqsqgKZGazHr7I3WXvxllKLrkk_xX42wl_-1wOqQPwVkF7Q",
    "refresh_token": "eVZnMVd3OWpTTFF2MEd5Wm04eWFjRlkySjd4NEt0bmovYmQyNlFid3hmdDJIcVQyVnVucGlIV2VBTjhBTjJzZWJ2bHV0SFJWUnBrMzRXZGkzQjdpOVE9PQ=="
}
Language
Click Try It! to start a request and see the response here!