intercom / intercom-node

Node.js bindings for the Intercom API
https://developers.intercom.com
Other
367 stars 118 forks source link

Support api.eu.intercom.io #285

Closed punkle closed 2 years ago

punkle commented 3 years ago

Version info

Expected behavior

Ability to pass the base url for the api client as api.eu.intercom.io

Actual behavior

It may already by possible but I am not sure how.

Steps to reproduce

N/A

Logs

N/A

SeanHealy33 commented 2 years ago

@punkle Howdy!

All newly generated api tokens come with some region based information in the EU. If you use them to query api.intercom.io they will automatically proxy requests to the EU api.

api.eu.intercom.io still works though so I think it still makes sense to put your pr in :)