API Documentation
Complete reference for integrating Cension AI's powerful product text generation capabilities into your applications.
Quick Navigation
/api/CreateText
Create perfect descriptions, titles, and metadata in any language, all at once. Fully SEO-optimized for each product in your inventory.
Base URL: https://cension-endpoint-container.ambitiousmushroom-5bf5cb04.swedencentral.azurecontainerapps.io
Authentication
We use Bearer Token authentication. You'll need your API key, which is provided once you have an active paying account.
Header Format:
Authorization: Bearer {your_access_token}
Note: Replace {your_access_token}
with your actual API key from the Cension dashboard.
Request Parameters
Required ParametersRequired
user_id
integerYour user ID from the Cension platform.
title
stringThe name/title of the product.
image
stringAn image URL for the product.
field_ids
arrayOutput field IDs that determine the nature of your text output. Each field has a unique ID found in the Cension platform.
language
stringThe language for the output. Use standard language prefixes, or send "all" for all configured languages.
Optional ParametersOptional
brand
stringProduct brand name.
article_number
stringArticle number, EAN, GTIN, etc.
og_id
stringUnique product ID for workspace uploads.
project_id
integerProject ID from workspace settings.
enable_external_specification
integerEnable web scraping for richer product data. 0 = inactive (default), 1 = active.
internal_specification
arrayExtra product data (specs/features) for the AI to use.
Example Request
Response Format
{ "apiResponses": [ { "success": true, "data": { "fieldId": "field-123", "text": "Your generated text content here" }, "error": null }, { "success": true, "data": { "fieldId": "field-456", "text": "Another generated text content" }, "error": null } ], "specification": "Detailed product specification text here", "keywords": [ "keyword1", "keyword2", "keyword3" ] }