Skip to main content
POST
/
feedback
/
feedback_result
/
{feedback_result_id}
/
reply
Reply to a feedback result
curl --request POST \
  --url https://api.partoo.co/v2/feedback/feedback_result/{feedback_result_id}/reply \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "content": "Merci ❤️",
  "reply_suggestion": {
    "reply_suggestion_id": 123,
    "reply_suggestion_modified": true
  }
}'
{
  "id": 1,
  "created": "2024-11-15T10:00:15+00:00",
  "author_name": "Jane Doe",
  "content": "Thank you for your feedback",
  "feedback_result_id": 1,
  "user_id": "5309c3a237bbc544d8e26737",
  "is_reply_suggestion": false
}

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

Body

application/json

Request body to post a reply

content
string<text>
required

Content of your reply

Example:

"Merci ❤️"

reply_suggestion
object

Suggestion details for the reply

Response

OK

id
integer

Unique identifier of the reply

Example:

1

created
string<datetime>

Date the reply was created

Example:

"2024-11-15T10:00:15+00:00"

author_name
string

Author of the reply

Example:

"Jane Doe"

content
string

Content of the reply

Example:

"Thank you for your feedback"

feedback_result_id
integer

Identifier of the feedback result

Example:

1

user_id
string

User id

Example:

"5309c3a237bbc544d8e26737"

is_reply_suggestion
boolean

Whether the reply was created using an AI suggestion

Example:

false