Retrieve Expressions

Expressions provides all expressions of a product based on the productId, clientId and feature provided. Only English(en) language is supported currently.

GET /expressions

curl -X 'GET' \
  'http://[stg.]api.bazaarvoice.com/sentiment/v1/expressions? productId=29366&feature=comfort&limit=3' \
--header‘Authorization: passKey’
  -H 'accept: application/json'
'http://[stg.]api.bazaarvoice.com/sentiment/v1/expressions? productId=29366&feature=comfort&limit=3' \
--header‘Authorization: passKey’
HeaderDescription
AuthorizationPasskey (API key) provided to client for authentication

Query Parameters

Request ParameterDescriptionRequired
productIdUnique identifier of the product for which you want to retrieve featuresYes
featureFeature of a product for which expression is to be retrieved.Yes
limitNumber of expressions. Default value: 10No
languageLanguage in which you want to retrieve the
features.
Supported Language – English (en) only
Yes

Sample Response

{
  "nativeFeature": "comfort",
  "expressions": [
    "comforted",
    "relieved",
    "tranquility"
  ]
}

Response Parameters

Response Field NameData TypeDescription
nativeFeatureStringGives the nativeFeature of a Product
expressionArrayGives an array of expressions for the feature of a product.