Authentication - Deprecated
Acquiring an access token from our Identity Server
Every request to the Ximble API must include an access token in the request header. These tokens need to be requested through authentication with our Identity Server, and are currently valid for one hour.
To retrieve the ACCESS_TOKEN, use the following endpoint:
$.ajax({
type: 'POST',
data: {
"scope":"XimbleApi",
"grant_type":"Partner",
"AuthToken":API_Key,
"response_type": "token"
},
url: 'https://id.ximble.com/identity/connect/Token',
async: false,
headers: {
Authorization: "Basic " + CLIENT_TOKEN,
Content-Type: "application/x-www-form-urlencoded"
},
success: function(data) {
$("#ajax").html(data);
}
});
{
"access_token": ACCESS_TOKEN,
"expires_in": 720000,
"token_type": "Bearer"
}
Updated almost 7 years ago