- 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
- 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
Add triggers to pipeline
post
/text/Keywords/Optimization/Pipelines/Triggers
This API endpoint is used to add triggers to a pipeline. These triggers define specific actions or conditions associated with the pipeline.
Requirements
Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Content-Type: application/json
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 pipeline, which can be either Product or Category. |
recordId | string, required | The Object ID associated with the pipeline. |
languageCode | string, required | Two-letter language code, e.g., en . Default is en . |
triggers | object, required | Contains additional trigger configurations for the pipeline. |
triggers.additionalProp1 | object, optional | Additional trigger with options, value, action, and text types. |
triggers.additionalProp1.option | string, optional | Trigger option (e.g., None ). |
triggers.additionalProp1.value | integer, optional | Value associated with the trigger. |
triggers.additionalProp1.action | string, optional | Trigger action (e.g., FlagForRewrite ). |
triggers.additionalProp1.textTypes | array, optional | Types of text associated with the trigger. |
Request body parameters
Response
200
400
404
500
//The request was successful, and the triggers were added to the pipeline.
//The request failed due to invalid input or missing required parameters.
//The specified pipeline or related resource could not be found.
//The server encountered an error when processing the request.