Authentication
Create an Access Token
curl --request POST \
--url https://api.iadvize.com/oauth2/token \
--data "username={EMAIL}&password={PASSWORD}&grant_type=password"const axios = require('axios');
const querystring = require('querystring');
const authEndpoint = 'https://api.iadvize.com/oauth2/token';
const username = 'YOUR_IADVIZE_USER_EMAIL';
const password = 'YOUR_PASSWORD'
axios
.post(
authEndpoint,
querystring.stringify({
grant_type: 'password',
username,
password
})
)
.then(function (response) {
console.log(response);
});Response (example):
Authenticate your API calls
Check the validity of an access_token
Last updated