Heap Add Account Properties API

The Add Account Properties API from Heap — 1 operation(s) for add account properties.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/heap-add-account-properties-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

heap-add-account-properties-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Heap Server-Side Add Account Properties API
  description: 'Heap''s server-side APIs let backend services send events, attach

    identities, and update user/account properties in a Heap workspace.

    All requests are JSON POSTs against https://heapanalytics.com. The

    workspace is identified via the `app_id` (environment ID) included in

    each request body.

    '
  version: 1.0.0
  contact:
    name: Heap Developers
    url: https://developers.heap.io/
servers:
- url: https://heapanalytics.com
  description: Heap analytics ingestion server
tags:
- name: Add Account Properties
paths:
  /api/add_account_properties:
    post:
      summary: Add account properties
      description: 'Update properties on one or more accounts. Either provide a single

        `account_id`/`properties` pair or an `accounts` array for bulk updates.

        Account configuration (or Salesforce integration) must be enabled for

        the workspace.

        '
      operationId: addAccountProperties
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AddAccountPropertiesRequest'
      responses:
        '200':
          description: Account properties updated.
        '400':
          description: Invalid request parameters.
      tags:
      - Add Account Properties
components:
  schemas:
    AccountUpdate:
      type: object
      required:
      - account_id
      properties:
        account_id:
          type: string
          description: Identifier for the account.
        properties:
          $ref: '#/components/schemas/Properties'
    Properties:
      type: object
      description: 'Key-value pairs of properties. Keys and string values must be under

        1024 characters; values may be strings or numbers.

        '
      additionalProperties:
        oneOf:
        - type: string
        - type: number
    AddAccountPropertiesRequest:
      type: object
      required:
      - app_id
      properties:
        app_id:
          type: integer
          format: int32
          description: Environment ID of your Heap project.
        account_id:
          type: string
          description: Single account identifier (use with `properties`).
        properties:
          $ref: '#/components/schemas/Properties'
        accounts:
          type: array
          description: Bulk list of account updates.
          items:
            $ref: '#/components/schemas/AccountUpdate'