const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
grant_type: 'authorization_code',
code: '<string>',
code_verifier: '<string>',
redirect_uri: '<string>',
client_id: '<string>',
install_id: '<string>',
user_agent: '<string>'
})
};
fetch('https://app.paperlink.online/api/auth/mobile/token', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));