Generate suggested replies
POST/api/v2/reviews/:review_id/suggestions
Generate AI suggested replies to a given review
The lang query is optional. The AI will automatically respond in the reviews language, unless provided.
Request
Path Parameters
review_id integerrequired
Query Parameters
lang locale
Default value: en
Get results in a specific language
Responses
- 201
- 400
- 401
- 403
- 404
- 422
- 500
- application/json
- Schema
- Example (from schema)
Schema
content stringrequired
Suggested reply for the review
{
"content": "Thank you for your feedback!"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
statusCode integerrequired
HTTP status code
message string
Error message
location stringrequired
Possible values: [query
, body
, response
, param
]
Where in the request the error occurred
errors
object[]
required
path stringrequired
Possible values: non-empty
Path to the property with the error
constraints
object
required
property name* string
Error message
{
"statusCode": 404,
"message": "Cannot find item",
"location": "query",
"errors": [
{
"path": "business.id",
"constraints": {
"object_required_property": "Required property"
}
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
statusCode integerrequired
HTTP status code
message string
Error message
error string
Error name
{
"statusCode": 404,
"message": "Cannot find item",
"error": "Not Found"
}
Loading...