First, we need to get the authentication info from Intercom by creating a “New app”. Click “New app” in the Developer Hub page.
Then you should be able to see Client ID, Client secret, and access token in your app. Great, now we can use these info to access data in Python.
from requests.auth import HTTPBasicAuth
token = 'xxx'
ID = 'xxx'