Get keyword optimization data

get /text/Keywords/Optimization
This endpoint retrieves keyword-optimization data, including current status, ranking keywords, pipelines, and more.

Requirements

Authentication Required
Bearer access_token
Request Headers
Authorization: Bearer access_token
Parameters Type Description
storeId string, optional 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, optional The object or record ID to retrieve optimization data for.
languageCode string, optional A 2-letter code indicating the language, e.g., "en". Defaults to "en" if not provided.

Example API Request

//https://api-eu.writetext.ai/text/Keywords/Optimization?storeId=default&type=Product&recordId=123XYZ&languageCode=en HTTP/1.1

Response

200
404
500
//When successful, the response contains a JSON object reflecting a Keyword Optimization Response.
//This error occurs if the specified data does not exist (for example, an invalid recordId).
//The server encountered an error when processing the request.