IntercomX
This is an unofficial Intercom API client. It uses HTTPoison for requests and Poison for dealing with JSON payloads.
Installation
The package can be installed by adding intercomx
to your list of dependencies in mix.exs
:
def deps do
[
{:intercomx, "~> 0.1.1"}
]
end
Configuration
First go to https://developers.intercom.com/building-apps/docs/authentication-types#section-access-tokens and follow the documentation to generate your access token. Then configure IntercomX to use your token:
# config/config.exs
config :intercomx,
endpoint: "https://api.intercom.io/",
token: "your-api-token"