Skip to content

Instantly share code, notes, and snippets.

View joshje's full-sized avatar

Josh Emerson joshje

View GitHub Profile
@joshje
joshje / update-intercom-company.js
Created November 24, 2016 16:19
Update intercom company
const intercomClient = new require('intercom-client').Client({appId:"he1f413x" ,appApiKey: "************"});
intercomClient.companies.create({ company_id: '636e7949-f0ac-4b73-bedf-ba8204205714', custom_attributes: { plan:"STARTER_ANNUAL", trial_ended: true } }, function (r) { console.log(r); });

Keybase proof

I hereby claim:

  • I am joshje on github.
  • I am joshje (https://keybase.io/joshje) on keybase.
  • I have a public key ASDCnV5pterqvlBYRNzpVFNwU1ov27u0PY1_HhnenBFcgQo

To claim this, I am signing this object: