intercom / python-intercom

Python wrapper for the Intercom API.

Home Page:https://keyes.ie/things/python-intercom/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for API v2, merged Users/Leads into Contacts

pbadeer opened this issue · comments

"Users is no longer available as a resource. In order to see information and take action on users, you should use the Contacts API."

"Contacts (for Leads only) is no longer available as a resource. In order to see information and take action on leads, you should be using the Contacts API."
Documentation referece

Using intercom.users.find now returns a 400 error, and the user.leads.find function automatically searches for Leads only making it impossible to search for users on the new API.

In the meantime, it's possible for you to change your Intercom API token to use a different API version.

  1. Go to developer.intercom.com
  2. Select "Your Apps" from the top nav bar
  3. Log in and select your app from the list
  4. Under the main landing page (Configure > Basic Information) there's a button near the bottom called "Change Version"
  5. Click this and change to 1.4

@pbadeer Hey. If I create a PR for API version 2.0 can it be reviewed and merged at some point?

This repo will not be updated, and is not maintained by Intercom. As they said in Readme :

Please note that this is NOT an official Intercom SDK. The third party that maintained it reached out to us to note that they were unable to host it any longer. As it was being used by some Intercom customers we offered to host it to allow the current Python community to continue to use it. However, it will not be maintained or updated by Intercom. It is a community maintained SDK.

So, I think your PR will not be reviewed and merged in this repo.

@umarovt PR requests and issues are actively monitored on this repo, I think you'll be alright. The most recent merge was only days ago.