Intercom is a customer relationship management and messaging tool for web app owners
This library provides connectivity with the Intercom API (https://api.intercom.io)
Project is based on PHP version found here: https://github.com/nubera-ebusiness/intercom-php
Project is in development mode and as such not tested completely.
Basic usage:
Include Intercom Sources with Maven
<dependency> <groupId>si.majeric</groupId> <artifactId>intercom-api-services</artifactId> <version>1.0.0</version> </dependency>
Configure Intercom with your access credentials
Intercom intercom = new Intercom("dummy-app-id", "dummy-api-key");
Get all users
Intercom intercom = new Intercom("dummy-app-id", "dummy-api-key"); JsonElement response = _intercom.getAllUsers(page, 100);
Create a new user
Intercom intercom = new Intercom("dummy-app-id", "dummy-api-key"); intercom.createUser("userId001", "email@example.com", null, null, System.currentTimeMillis(), null, null, null, null);
