Can I pass my access token to Intercom's API using Python?
Page 1 / 1
Python is not an officially supported SDK yet. However, the below should work with the requests package.
Â
import requests
Â
url = 'https://api.intercom.io/users?user_id=abcd#39;
headers = {'Authorization' : 'Bearer <Your access token>'}
Â
r = requests.get(url, headers=headers)
Â
Alternatively, you can install this third-party wrapper and use the below. Just bear in mind that it’s not officially supported.
Â
from intercom.client import Client
intercom = Client(personal_access_token='my_personal_access_token')
Reply
Join the Intercom Community 🎉
Already have an account? Login
Login to the community
No account yet? Create an account
Intercom Customers and Employees
Log in with SSOor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.