- WriteText.ai API Overview
- Getting started
- CREDIT ENDPOINTS
- GENERATE ENDPOINTS
- GETText generation rules and limits
- GETAvailable text generation tones
- GETText generation styles
- GETTarget audiences for text generation
- GETAvailable text types for generation
- GETText generation history
- GETStatus of generated texts
- GETGenerated text for multiple records
- GETActive generation requests
- GETDetails of a specific generation request
- POSTText generation
- POSTCancel a bulk generation request
- POSTUpdate generated text fields
- POSTArchive record
- IMAGE ENDPOINTS
- KEYWORDS ENDPOINTS
- GETKeyword optimization data
- POSTOptimize keywords for text
- DELETEKeyword optimization
- PUTKeyword optimization
- GETKeyword optimization list
- PUTKeyword optimization data
- DELETERanking keywords
- PUTKeyword optimization pipelines
- GETKeyword state
- POSTKeyword pipeline
- DELETEKeyword pipeline
- POSTRestore keyword pipeline
- POSTAdd triggers to keyword pipeline
- POSTAdd triggers to a specific keyword pipeline
- POSTLock a specific keyword pipeline
- POSTUnlock a specific keyword pipeline
- GETPipeline snapshots
- PUTUpdate or create a snapshot
- POSTAdd manual keywords
- GETManual keywords
- REVIEW ENDPOINTS
- SUGGESTION ENDPOINTS
- TEMPLATE SETTINGS
- TOKEN
Start keyword optimization
Requirements
Content-Type: application/json
Parameter Name | Type | Description |
---|---|---|
storeId | string, required | The store identifier. Defaults to "default" if not provided. |
type | string, required | Specifies the type of entity, which can be either Product or Category. |
recordId | string, required | The ID of the record to update. |
languageCode | string, optional | The language in ISO 639-1 country/variant identifier (e.g., |
ipAddress | string, optional | The IP address of the client making the request. |
url | string, optional | A URL associated with the record. |
name | string, optional | The name of the record. |
imageId | array, optional | The ID of the associated image. |
intents | array, optional | A list of intents associated with the record. |
seedKeywords | array, optional | A list of seed keywords for optimization. |
products | array, optional | List of product names to be used for category keyword generation. This parameter allows you to supply representative product names that the system can analyze when building keyword sets for a category. |
countryCode | string, optional | The country code associated with the operation, in ISO 3166 alpha-2 (two-letter) code (e.g., |
clusters | integer, optional | The number of clusters for optimization. |
triggers | string, optional | Specifies the action to perform when the trigger condition (defined in
Notes:
|