HubSpot · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Marketing Campaigns Public Spend API

5 actions 5 updates phrasing extends openapi/hubspot-spend-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 5

$.info
$.paths['/marketing/campaigns/2026-03/{campaignGuid}/spend'].post
$.paths['/marketing/campaigns/2026-03/{campaignGuid}/spend/{spendId}'].get
$.paths['/marketing/campaigns/2026-03/{campaignGuid}/spend/{spendId}'].put
$.paths['/marketing/campaigns/2026-03/{campaignGuid}/spend/{spendId}'].delete

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 Spend API
  version: 1.0.0
extends: openapi/hubspot-spend-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: 4
- target: $.paths['/marketing/campaigns/2026-03/{campaignGuid}/spend'].post
  update:
    x-apievangelist-phrasing:
      intent: Add a spend item to a campaign
      effect: write
      questions:
      - How do I record money spent on a marketing campaign?
      - Can I add a line item with a description to a campaign's budget spend?
      instructions:
      - text: Add a spend item {name} of {amount} to campaign {campaignGuid}.
        slots:
          name: requestBody.name
          amount: requestBody.amount
          campaignGuid: path.campaignGuid
      - text: Log spend {name} for {amount} on campaign {campaignGuid} at position {order} with note {description}.
        slots:
          name: requestBody.name
          amount: requestBody.amount
          campaignGuid: path.campaignGuid
          order: requestBody.order
          description: requestBody.description
      method: generated
      generated: '2026-09-24'
- target: $.paths['/marketing/campaigns/2026-03/{campaignGuid}/spend/{spendId}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a campaign spend item
      effect: read
      questions:
      - Where can I see the amount recorded for one spend item on a campaign?
      - What details are stored on a single campaign spend entry?
      instructions:
      - text: Show spend item {spendId} on campaign {campaignGuid}.
        slots:
          spendId: path.spendId
          campaignGuid: path.campaignGuid
      - text: Get the amount and name of campaign {campaignGuid} spend {spendId}.
        slots:
          campaignGuid: path.campaignGuid
          spendId: path.spendId
      method: generated
      generated: '2026-09-24'
- target: $.paths['/marketing/campaigns/2026-03/{campaignGuid}/spend/{spendId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a campaign spend item
      effect: write
      questions:
      - How do I correct the amount on a spend item I already logged for a campaign?
      - Can I rename an existing campaign spend entry?
      instructions:
      - text: Change spend item {spendId} on campaign {campaignGuid} to {amount}, named {name}.
        slots:
          spendId: path.spendId
          campaignGuid: path.campaignGuid
          amount: requestBody.amount
          name: requestBody.name
      - text: Update the description of campaign {campaignGuid} spend {spendId} to {description}.
        slots:
          campaignGuid: path.campaignGuid
          spendId: path.spendId
          description: requestBody.description
      method: generated
      generated: '2026-09-24'
- target: $.paths['/marketing/campaigns/2026-03/{campaignGuid}/spend/{spendId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a campaign spend item
      effect: destructive
      questions:
      - Can I remove a spend entry that was logged against the wrong campaign?
      - What happens to a campaign's spend when I delete one line item?
      instructions:
      - text: Delete spend item {spendId} from campaign {campaignGuid}.
        slots:
          spendId: path.spendId
          campaignGuid: path.campaignGuid
      - text: Remove campaign {campaignGuid} spend entry {spendId}.
        slots:
          campaignGuid: path.campaignGuid
          spendId: path.spendId
      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-spend-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.