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
| Task | API | Endpoint |
|---|---|---|
| Track a person | Person Enrich API with trackPerson | /v8/enrich/person |
| Track a company | Company Enrich API with trackCompany | /v8/enrich/company |
| Receive events | Register a Webhook API | /v2/registration |
| View tracked records | List Tracked Records API | /v1/tracked-entities |
| View one tracked record | Get a Tracked Record API | /v1/tracked-entities/{id} |
| Stop tracking | Untrack 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.
| Status | Meaning |
|---|---|
| Tracked successfully | Tracking started for the record. |
| Already tracked | The 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
recordIdto match the event to the record in your system.
Event Categories
Each change is classified into one or more categories.
Person Categories
| Category | Description |
|---|---|
| Job Change | The contact moved to a different company. |
| Job Promotion | The contact moved to a more senior title. |
| Role Added | The contact took on an additional role. |
| Title Update | The job title changed. |
| Seniority Level Update | The seniority level changed. |
| Department Update | The department or function changed. |
| Location Update | The work location changed. |
| Email Update | The work email changed. |
| Mobile Update | The mobile or direct dial number changed. |
| Opt Out | The contact opted out. |
| Experience Removed | One of the contact's experiences is no longer in SMARTe data. |
Company Categories
| Category | Description |
|---|---|
| Firmographic Update | Location, size, revenue, industry, website or phone changed. |
| Financial Update | Profit, income, market cap or stock listing changed. |
| Funding Update | Funding totals, rounds or dates changed. |
| Corporate Structure Update | Parent, subsidiary, MNC or legal status changed. |
| Company Removed | The 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
- Register an
enrich_livewebhook. - Call the Person Enrich API with
trackPersonand send the CRM contact ID asrecordId. - When a Job Change event arrives, use
recordIdto find the contact and update the owner or sequence.
2. Keep Account Data Current
- Call the Company Enrich API with
trackCompanyfor each account. - On Firmographic Update, Financial Update or Funding Update events, update the changed fields in your CRM.
- On Company Removed events, flag the account for review.
3. Review and Clean Up Tracked Records
- Call the List Tracked Records API to see the records tracked under the API key.
- Call the Get a Tracked Record API to view the last record delivered for a person or company.
- 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.
Updated about 2 hours ago

