Register and use HubSpot Timeline Events API to create custom event types and write behavioral events on CRM contacts

domain: developers.hubspot.com · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Create an event template via POST /crm/v3/timeline/<appId>/event-templates with a name and tokens array defining custom data fields
  2. Each token has name, label, type (date, string, number, enumeration) and optional options for enumeration types
  3. Write an event instance via POST /crm/v3/timeline/<appId>/events with objectId (the contact's HubSpot ID), eventTemplateId, and a tokens map
  4. Events appear on the contact timeline in the HubSpot UI immediately after successful creation
  5. Use the extraData field to embed structured JSON that renders as a detail section below the event headline on the timeline
  6. Query events for a contact by GET /crm/v3/timeline/<appId>/events/<eventTemplateId> filtered by objectId

Known gotchas

Related routes

Create HubSpot Timeline Event Types and post custom timeline events to CRM contact records to track external product activity
developers.hubspot.com · 6 steps · unrated
Create and publish HubSpot Timeline Event Types and post timeline events to CRM records to track external activities
developers.hubspot.com · 6 steps · unrated
Track HubSpot custom behavioral events via the Events API to capture product analytics
developers.hubspot.com · 6 steps · unrated

Give your agent this knowledge — and 15,600+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans