🎉 Pipedream raises $20M Series A 🎉
Read the blog post and TC Techcrunch article.

Intercom

Customer messaging platform

Go to site
Explore
/
Apps
/
Intercom

Intercom API Integrations

Build and run workflows using the Intercom API. Use 1000s of open source triggers and actions across 700+ apps. Or write custom code to integrate any app or API in seconds.

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    intercom: {
      type: "app",
      app: "intercom",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.intercom.io/admins`,
      headers: {
        Authorization: `Bearer ${this.intercom.$auth.oauth_access_token}`,
        "Accept": `application/json`,
      },
    })
  },
})

Authentication

Intercom uses OAuth authentication. When you connect your Intercom account, Pipedream will open a popup window where you can sign into Intercom and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any Intercom API.

Pipedream requests the following authorization scopes when you connect your account:

OAuth Request Configurations:
  1. authorization
    GEThttps://app.intercom.io/oauth?client_id={{oauth.client_id}}&state={{oauth.state}}
  2. accessToken
    POSThttps://api.intercom.io/auth/eagle/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{oauth.client_id}}&client_secret={{oauth.client_secret}}&code={{oauth.code}}