python-intercom icon indicating copy to clipboard operation
python-intercom copied to clipboard

Support for API v2, merged Users/Leads into Contacts

Open pbadeer opened this issue 5 years ago • 4 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.

pbadeer avatar Feb 10 '20 19:02 pbadeer

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 avatar Feb 13 '20 14:02 pbadeer

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

umarovt avatar Mar 26 '20 10:03 umarovt

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.

aymericderbois avatar May 03 '20 16:05 aymericderbois

@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.

pbadeer avatar May 04 '20 02:05 pbadeer