How it works
After creating an API integration, you receive an API token that authenticates your requests. Push product data to Cernel’s REST endpoints, and your products appear in the Catalog ready for enrichment. Configure webhooks to receive real-time notifications when enrichment completes or products change.Why you would use this
Custom integrations
Connect Cernel to any system that can make HTTP requests - your ERP, PIM, custom tools, or internal workflows.
Real-time notifications
Webhooks notify your systems when AI generates new content or products are updated, enabling automated downstream workflows.
Setting up the API integration
Create the integration
Go to Tools > Integrations, click Add Integration, and select API Integration.Configure the basics:
- Integration Name - A descriptive name
- Integration Languages - The languages this integration pushes and pulls product data in. You can pick one language or several — the first one you add is marked Primary and is used as the fallback when a property is pushed without a language. Open Edit Languages later from the integration detail panel to change the list.
- Product Identifier Field - The field name used as the unique identifier (e.g.,
id,sku) - Product Title Field - The field name used as the product title (e.g.,
title,name)

Properties you push can carry a
locale field — Cernel stores each localized value separately and surfaces it for the matching language. Properties pushed without a locale are stored against the integration’s primary language.Get your API token
After creating the integration, go to Settings > API. Your API token is displayed here. Use the copy button to copy it to your clipboard.

Access the API documentation
Click Visit Documentation or go directly to the API Reference to open the full API documentation. This covers all available endpoints, request formats, authentication, and response schemas.
Your API integration is ready. Use your token to authenticate requests and start pushing product data to Cernel.
Configuring webhooks
Webhooks notify your systems when events occur in Cernel. Configure them in Settings > Webhooks.Available webhook types
| Webhook | Trigger | Use case |
|---|---|---|
| Attribute Result | When an attribute value is generated for a product | Sync enriched content to external systems in real-time |
| Product Created | When a new product is created in Cernel | Trigger downstream workflows when products arrive |
| Product Updated | When a product is updated | Keep external systems in sync with product changes |
Set the webhook URL
For each webhook type, enter the URL where Cernel should send POST requests when the event occurs.
Building a custom product pipeline
If your products come from an ERP, PIM, custom database, or supplier feed, you can build a fully automated pipeline: push products in via the API, enrich them with AI using Automations, and get the results back programmatically.Pushing products
Use the create products endpoint to push product data from your system:Patching products (partial updates)
Use the patch endpoint when you only need to change a few properties on a product — without re-pushing the full payload:product_id (Cernel’s ID) or by identifier (your system’s identifier — exactly one of the two), then sets, removes, or appends localized property values. Each item in the batch is applied as its own transaction, so a bad operation only fails that one item, not the whole batch.
Use this when you want to update a single field (e.g., a price change) on thousands of products without re-sending every property you’ve already pushed.
Listing products
Use the list products endpoint to fetch products that already exist on the integration, with filters:Getting enriched data back
Option A: Webhooks (real-time) Set up webhooks in Settings > Webhooks to receive notifications when attribute values are generated, products are updated, or new products are created. Cernel sends a POST request to your webhook URL with the event data. Option B: Changes endpoint (polling) Poll the changes endpoint to get a chronological list of enrichment updates:Example: ERP to Cernel to e-commerce platform
- Nightly export from your ERP pushes new/updated products to Cernel via API
- Automation enriches each product with descriptions, meta content, and materials
- Morning review: your content team reviews results on the Dashboard and approves
- Changes endpoint: your e-commerce platform polls for approved changes and publishes them
Managing the product lifecycle
Updating products
Updating products
You have two options:
- Full update — push the complete product payload to
POST /products. The identifier field matches against existing products; Cernel replaces the property values you send. - Partial update — send a
PATCH /productsoperation that only includes the properties you want to change. Locate the product byproduct_idoridentifier(exactly one of the two), then set, remove, or append localized values. Each operation runs in its own transaction, so a single failure doesn’t roll back the batch.
Working with multiple languages
Working with multiple languages
An API integration can be configured for any number of languages — see Setting up the API integration for the Integration Languages picker.When you push or patch product properties, each property can carry a
locale field. Cernel stores each localized variant separately and exposes the matching language to enrichment, the product UI, and the /changes endpoint. Properties pushed without a locale are stored against the integration’s Primary language.This lets one API integration cover, for example, a Danish reference catalog with English and German translations alongside it, without setting up separate integrations per language.Deleting products
Deleting products
Use the delete endpoint to remove products:You can choose to fully delete the product or just unlink it from the integration while keeping it in Cernel.
Tracking enrichment changes
Tracking enrichment changes
The changes endpoint returns enrichment updates in chronological order. Use it to build an audit trail or sync enriched content to downstream systems.Pass
include_all_properties=true to get the full product snapshot with each change (useful for full syncs, but limited to 10 results per request).Frequently asked questions
Where can I find the full API documentation?
Where can I find the full API documentation?
The full API reference is available at api.platform.cernel.com/api/v1/docs, also accessible from the API Docs tab at the top of this site or from Settings > Developer > API in the app. It covers all endpoints, authentication, request/response formats, and error codes.
How do I rotate my API token?
How do I rotate my API token?
Go to Settings > API and click New key. A new token is generated immediately and the old one stops working. Update any systems using the old token.
What format do webhook payloads use?
What format do webhook payloads use?
Webhooks send JSON payloads via HTTP POST requests. The exact payload structure is documented in the API reference. Each webhook type includes the relevant product data and event details.
Can I have multiple webhook URLs for the same event?
Can I have multiple webhook URLs for the same event?
Each webhook type supports one URL. If you need to notify multiple systems, use your webhook endpoint as a relay that forwards to multiple destinations.
What’s next
API Reference
Browse the full API documentation — endpoints, schemas, authentication, and examples.
Enriching Products
Once products are pushed via API, enrich them with AI-generated content.
Automations
Set up automations to automatically enrich products pushed via API.
