Getting Started

This guide explains how to register a webhook, start tracking a person or company, and receive change events.

Authentication Method

All Tracking requests use API key authentication. Include your API key in the apikey header of every request. Use the same API key to register the webhook and to track records, because webhooks and tracked records are scoped to the API key. See Authentication.

Select an Endpoint

TaskAPIEndpoint
Track a personPerson Enrich API with trackPerson/v8/enrich/person
Track a companyCompany Enrich API with trackCompany/v8/enrich/company
Receive eventsRegister a Webhook API/v2/registration
View tracked recordsList Tracked Records API/v1/tracked-entities
View one tracked recordGet a Tracked Record API/v1/tracked-entities/{id}
Stop trackingUntrack Records API/v1/tracked-entities/untrack

Step 1: Register a Webhook

Register an HTTPS endpoint before you track any record. Without a webhook, the record is enriched but not tracked.

  • Set the service to enrich_live.
  • Provide an HTTPS URL that accepts POST requests and returns a 2xx response. SMARTe checks that the URL is reachable at registration.
  • Optionally add custom headers, such as a secret token. SMARTe sends them with every event so you can confirm the event came from SMARTe.

Each service can have one webhook per API key. To change or remove a webhook, contact SMARTe Support.

Step 2: Start Tracking a Record

Add trackPerson or trackCompany set to true to a Person Enrich or Company Enrich request. All other parameters stay the same.

  • Tracking starts only when a record is matched.
  • Send your own reference, such as a CRM ID, as recordId. It is returned in the response and in every event for the record.
  • Tracking a person also tracks the person's current employer.

Step 3: Check the Tracking Status

The response is the standard Enrich response with a tracking status: personTrackedStatus for people and companyTrackedStatus for companies.

StatusMeaning
Tracked successfullyTracking started for the record.
Already trackedThe record is already tracked under the API key. It is not charged again.
Tracking failed: Webhook not configured.No webhook is registered for the API key. The enrichment result is still returned.

Step 4: Receive Events

When a tracked record changes, SMARTe sends an event to your webhook. Each event contains the current record and a change set that lists the category of the change and the fields that were updated.

  • Return a 2xx response quickly, then process the event in a queue.
  • Use the transaction ID in each event to skip duplicate deliveries.
  • Use the broadcast version to process events for a record in order.
  • Use recordId to match the event to the record in your system.

Event Categories

Each change is classified into one or more categories.

Person Categories

CategoryDescription
Job ChangeThe contact moved to a different company.
Job PromotionThe contact moved to a more senior title.
Role AddedThe contact took on an additional role.
Title UpdateThe job title changed.
Seniority Level UpdateThe seniority level changed.
Department UpdateThe department or function changed.
Location UpdateThe work location changed.
Email UpdateThe work email changed.
Mobile UpdateThe mobile or direct dial number changed.
Opt OutThe contact opted out.
Experience RemovedOne of the contact's experiences is no longer in SMARTe data.

Company Categories

CategoryDescription
Firmographic UpdateLocation, size, revenue, industry, website or phone changed.
Financial UpdateProfit, income, market cap or stock listing changed.
Funding UpdateFunding totals, rounds or dates changed.
Corporate Structure UpdateParent, subsidiary, MNC or legal status changed.
Company RemovedThe company is no longer in SMARTe data, or is inactive or closed.

A change to a tracked person's employer is delivered as a person event.

Common Workflows

1. Track Job Changes for CRM Contacts

  1. Register an enrich_live webhook.
  2. Call the Person Enrich API with trackPerson and send the CRM contact ID as recordId.
  3. When a Job Change event arrives, use recordId to find the contact and update the owner or sequence.

2. Keep Account Data Current

  1. Call the Company Enrich API with trackCompany for each account.
  2. On Firmographic Update, Financial Update or Funding Update events, update the changed fields in your CRM.
  3. On Company Removed events, flag the account for review.

3. Review and Clean Up Tracked Records

  1. Call the List Tracked Records API to see the records tracked under the API key.
  2. Call the Get a Tracked Record API to view the last record delivered for a person or company.
  3. Call the Untrack Records API with up to 50 IDs to stop tracking records you no longer need.

What's Next

See Authentication to learn how API keys work with Tracking.


Did this page help you?