Inbound API

How it works

Kernel operates differently from static database providers (like ZoomInfo/Cognism).

We collect and classify data in real time, which means the process is asynchronous.

You initiate an enrichment task and periodically poll for results as data becomes available.

There are two main ways to use inbound enrichment:

  • API‑triggered inbound — Your systems call the Inbound API directly for just‑in‑time enrichment of a specific record, then poll for results.

  • Scheduled inbound via your CRM — Kernel polls configured objects in your CRM (for example, Salesforce) on a schedule, automatically enriching new or updated records that meet your criteria.

Understanding Data Availability (Fast vs. Slow)

  • Asynchronous Population: The output JSON payload populates gradually. When you poll, fields for which data hasn't been found or processed yet will typically have a value of null.

  • Fast Data Points: For example, certain firmographic data points are usually available relatively quickly (potentially within minutes). These often include:

    • Country

    • State/Region

    • Industry

    • Headcount

    • Headcount Growth

  • Slower Data Points: Other data points may require more extensive analysis or different data sources and can take longer (potentially hours) to populate.

  • Polling Strategy: Your polling logic should handle partially populated payloads and continue polling until the status is complete or error. The specifics regarding the fast/slow data points depend on your custom setup.

Error Handling Strategy

When interacting with the API, you might encounter different types of errors. Here's the recommended default strategy:

  1. HTTP 502/503/504 Server Errors:

    • Meaning: These indicate a temporary issue, either on the server-side.

    • Default Action: Retry the request after some time.

  2. GET Response "status": "error":

    • Meaning: The specific enrichment workflow identified by the executionId encountered an error during processing.

    • Default Action: Retry the request after some time, if the error persists, contact Kernel support.

Rate Limits

The API enforces rate limiting to ensure fair usage:

  • Rate Limit: 5 requests per second per API key

  • Concurrency Limit: Maximum of 200 accounts can be processing simultaneously

  • 429 Response: When rate limit is exceeded, you'll receive a 429 status code. Please wait before retrying.

Base path

Initiate asynchronous enrichment for an account

post

Input Data Requirements:

  • salesforceId (string): This is the Salesforce record ID (e.g., Lead IDs often start with 00Q, Account IDs with 001).

  • You must provide either:

    • linkedinUrl (string): The LinkedIn profile URL (e.g., https://www.linkedin.com/company/example).

    • OR both name (string) and website (string).

  • Contextual Data (Optional but helpful): While the core requirement is above, providing additional context like emailDomain (e.g., kernel.ai from [email protected]) will be beneficial depending on the specific workflow configuration, even if it is not strictly required by the current endpoint setup. Check with your Kernel contact to see if these are utilized.

  • Data Privacy: Do not send Personally Identifiable Information (PII) such as first name or last name, unless explicitly part of the agreed schema. You should send email_domain if available and relevant to the configuration.

Header parameters
x-api-keystringRequired

API key for authentication

Body

Request body for initiating inbound enrichment

or
or
Responses
post
/api/v1/inbound/enrichment

Polling for Enrichment Status and Results

get

Because enrichment happens asynchronously, you need to periodically check the status of your request using the executionId.

Query parameters
executionIdnumberRequired

The executionId returned from the POST /enrichment request

Example: 12345
Header parameters
x-api-keystringRequired

API key for authentication

Responses
get
/api/v1/inbound/enrichment

Scheduled inbound from Salesforce

In addition to just‑in‑time enrichments that you trigger directly via the API, Kernel can run the inbound process on a schedule using our existing Salesforce integration.

  • Kernel polls your Salesforce org on a defined cadence (for example, every minute, hourly, or daily) using the authorized integration user.

  • We identify new (or updated) records on a configured object (for example, Account, Lead) that match your agreed criteria for enrichment (such as record type, lifecycle stage, region, or other custom filters).

  • For each matching record, Kernel initiates an enrichment workflow.

  • Once enrichment is complete, Kernel writes the enriched fields back to those Salesforce records via the standard integration.

This pattern is useful when you want continuous, automatic enrichment of data in Salesforce without having to build or operate your own orchestration layer against the Inbound API. It works on any standard or custom object in your CRM that is included in your Kernel Salesforce configuration.

This scheduled inbound process requires no additional setup or access beyond the existing Salesforce integration. Kernel reuses the same Connected App, integration user, and permission set described in the Salesforce integration, including any standard or custom objects you have enabled for Kernel.

Last updated