Skip to main content

Can I return Intercom user data to my server using NodeJS?

  • November 5, 2021
  • 1 reply
  • 100 views

var Intercom = require('intercom-client');
const client = new Intercom.Client({ token: my_token});
client.users.list(function (err, d) {
// err is an error response object, or null
// d is a successful response object, or null
try{
console.log('success')
}catch(err){
console.error(err)
}
});

 I need to fetch the users data from intercom to my server. I fellow the instruction https://github.com/intercom/intercom-node.But I don't know if I connect my workspace or not. And the second snap only return d as null.

1 reply

Eric Fitz
Employee
Forum|alt.badge.img+5
  • Employee
  • 1630 replies
  • November 8, 2021

Hey @roy s11​, as our resident integrations king, do you think you might be able to help out here?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings