Heap

Fuel product growth and team agility. Heap automatically captures web and mobile app behavioral data. Retroactively analyze behavioral data without writing code.

Go to site

Heap API Integrations

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

// From the docs: https://docs.heap.io/reference#track-1
// "Requests are limited to 30 requests per 30 seconds per identity per app_id"
return await require("@pipedreamhq/platform").axios(this, {
  method: "POST",
  url: `https://heapanalytics.com/api/track`,
  headers: {
    "Content-Type": "application/json",
  },
  data: {
    app_id: auths.heap.app_id,
    identity: params.identity,
    event: params.event,
    timestamp: params.timestamp || (new Date()).toISOString(),
    properties: params.properties,
  }
})
Add Account Properties

This API allows you to attach custom account properties to users. An account ID or use of our Salesforce integration is required for this to work. Note that, as your set of accounts and their properties change, you’ll need to periodically call this API with an account ID as well as any account-level properties.

 
Try it
Add User Properties

This API allows you to attach custom properties to any identified users from your servers, such as Sign Up Date (in ISO8601 format), Total # Transactions Completed, or Total Dollars Spent. Note that Heap will create a new property if it doesn’t already exist, and will overwrite the previous property if one already exists with the same name.

 
Try it

Authentication

Heap uses API keys for authentication. When you connect your Heap account, Pipedream securely stores the keys so you can easily authenticate to Heap APIs in both code and no-code steps.

Your Heap app ID is the number given to you by Heap when you first installed the app, found in your tracking code.