API Documentation
For complete API documentation, including endpoints, authentication, request/response formats, and code examples, visit our official API docs:Cernel API Documentation
Complete REST API reference with interactive examples
What You Can Do with the API
Product Management
- List products
- Get product details
- Update product attributes
- Search and filter products
Enrichment Operations
- Start enrichment jobs
- Select attributes to generate
- Monitor job progress
- Retrieve enriched content
Job Management
- List enrichment jobs
- Get job status and details
- Retry failed items
- Cancel running jobs
Catalog Operations
- Manage collections
- Create and update groups
- Assign primary taxonomy
- Bulk operations
Authentication
The Cernel API uses API keys for authentication.Generating an API Key
1
Log in to Cernel
Go to platform.cernel.com
2
Navigate to Settings
Click Settings → Developer → API
3
Generate New Key
Click “Generate New API Key”
4
Name the Key
Give it a descriptive name (e.g., “Production Integration”)
5
Copy and Store Securely
Important: The key is only shown once. Store it in a password manager or environment variable immediately.
Using Your API Key
Include the API key in theAuthorization header of all requests:
Base URL
All API requests should use the base URL:Quick Start Example
Here’s a simple example to get started:1. List Products
2. Start Enrichment
3. Check Job Status
Error Handling
The API uses standard HTTP status codes:| Status Code | Meaning |
|---|---|
| 200 | Success |
| 201 | Created (for POST requests) |
| 400 | Bad Request (invalid parameters) |
| 401 | Unauthorized (invalid or missing API key) |
| 403 | Forbidden (insufficient permissions) |
| 404 | Not Found |
| 429 | Too Many Requests (rate limit exceeded) |
| 500 | Internal Server Error |
