HubSpot · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Marketing Campaigns Public Metrics API

4 actions 4 updates phrasing extends openapi/hubspot-metrics-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for HubSpot's API. It is a proposal applied on top of the contract, not a document HubSpot publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/marketing/campaigns/2026-03/{campaignGuid}/reports/contacts/{contactType}'].get
$.paths['/marketing/campaigns/2026-03/{campaignGuid}/reports/metrics'].get
$.paths['/marketing/campaigns/2026-03/{campaignGuid}/reports/revenue'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Marketing Campaigns Public Metrics API
  version: 1.0.0
extends: openapi/hubspot-metrics-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-09-24'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/marketing/campaigns/2026-03/{campaignGuid}/reports/contacts/{contactType}'].get
  update:
    x-apievangelist-phrasing:
      intent: List contacts a campaign reached
      effect: read
      questions:
      - Which contact IDs did my marketing campaign influence?
      - Can I pull a campaign's contact list for just one date range?
      instructions:
      - text: Get the {contactType} contact IDs for campaign {campaignGuid}.
        slots:
          contactType: path.contactType
          campaignGuid: path.campaignGuid
      - text: List {contactType} contacts for campaign {campaignGuid} between {startDate} and {endDate}.
        slots:
          contactType: path.contactType
          campaignGuid: path.campaignGuid
          startDate: query.startDate
          endDate: query.endDate
      method: generated
      generated: '2026-09-24'
- target: $.paths['/marketing/campaigns/2026-03/{campaignGuid}/reports/metrics'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a campaign's attribution metrics
      effect: read
      questions:
      - How many sessions and new contacts did my campaign drive?
      - What are a campaign's influenced contact counts for last month?
      instructions:
      - text: Show sessions, new contacts and influenced contacts for campaign {campaignGuid}.
        slots:
          campaignGuid: path.campaignGuid
      - text: Get attribution metrics for campaign {campaignGuid} from {startDate} to {endDate}.
        slots:
          campaignGuid: path.campaignGuid
          startDate: query.startDate
          endDate: query.endDate
      method: generated
      generated: '2026-09-24'
- target: $.paths['/marketing/campaigns/2026-03/{campaignGuid}/reports/revenue'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a campaign's attributed revenue
      effect: read
      questions:
      - How much deal revenue is attributed to my campaign?
      - Can I change the attribution model used for campaign revenue?
      instructions:
      - text: Show attributed revenue for campaign {campaignGuid}.
        slots:
          campaignGuid: path.campaignGuid
      - text: Get revenue for campaign {campaignGuid} using the {attributionModel} model.
        slots:
          campaignGuid: path.campaignGuid
          attributionModel: query.attributionModel
      method: generated
      generated: '2026-09-24'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • 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 overlay
curl "https://apis.io/api/v1/overlays/hubspot-metrics-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

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

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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