Retrieve Token
HTTP REQUEST
POST Parameters
Parameter
Required
Description
var params = {
grant_type: 'client_credentials',
client_id: 153,
client_secret: 'J7SZDPssR885Fo0xczGKqkJfa5XyMK8wxbrOYjio'
}
$.ajax({
url: 'https://five.epicollect.net/api/oauth/token',
type: 'POST',
contentType: 'application/vnd.api+json',
data: JSON.stringify(params),
success: function(response) {
console.log(JSON.stringify(response));
},
error: function(xhr, status, error) {
console.log(xhr.responseText);
}
});HTTP Response
Last updated