Skip to main content
GET
/
feedback
/
feedback_result
/
fetch-suggestion
/
{feedback_result_id}
/
{index}
Fetch AI reply suggestion for feedback results
curl --request GET \
  --url https://api.partoo.co/v2/feedback/feedback_result/fetch-suggestion/{feedback_result_id}/{index} \
  --header 'x-APIKey: <api-key>'
{
  "id": 1,
  "index": 0,
  "content": "Thank you for your feedback.",
  "feedback_result_id": 123,
  "report": {
    "id": 3587,
    "user_id": "xyz123",
    "created_at": "2025-05-12T12:57:21.895170Z"
  }
}

Authorizations

x-APIKey
string
header
required

The authentication system on Partoo API is using API Key that should be put in the header of the request (the name of the header is x-APIKey). An api_key is linked to a user. This user's role will give you different access level to the API features.

Path Parameters

feedback_result_id
integer
required

ID of the feedback result

index
integer
required

Index of the reply suggestion (0, 1, or 2)

Required range: 0 <= x <= 2

Response

OK

id
integer

Unique identifier of the reply suggestion

Example:

1

index
integer

Index of the reply suggestion

Example:

0

content
string

Content of the reply suggestion

Example:

"Thank you for your feedback."

feedback_result_id
integer

Identifier of the feedback result

Example:

123

report
object

Report details if the suggestion was reported (can be null)