Skip to main content
PUT
/
feedback
/
feedback_form
/
{feedback_form_id}
Update a feedback form
curl --request PUT \
  --url https://api.partoo.co/v2/feedback/feedback_form/{feedback_form_id} \
  --header 'Content-Type: application/json' \
  --header 'x-APIKey: <api-key>' \
  --data '{
  "display_name": "Global Satisfaction"
}'
{
  "id": "674d791c13c9d976e20001b1",
  "org_id": 42,
  "email_reply_source": "noreply@example.com",
  "email_reply_subject": "About your feedback",
  "email_reply_to_business": false,
  "email_reply_expeditor_name": "MyCompany",
  "expiration_interval_seconds": 1209600,
  "display_name": "Global Satisfaction"
}

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_form_id
string
required

Body

application/json

Request body to post a reply

display_name
string

Name of your form

Example:

"Global Satisfaction"

Response

OK

id
string

Unique identifier of the form

Example:

"674d791c13c9d976e20001b1"

org_id
integer

The organization ID that the form is for

Example:

42

email_reply_source
string | null

The source email to use when replying to a feedback

Example:

"noreply@example.com"

email_reply_subject
string | null

The subject of the email used when replying to a feedback

Example:

"About your feedback"

email_reply_to_business
boolean
default:false

Whether to use the business email address when the feedback respondent wants to reply to your reply

Defaults to false, which means the respondent reply will be sent to the email_reply_source

email_reply_expeditor_name
string | null

Name to use as the expeditor when replying to a feedback

This is the name the user sees in his email inbox (which is by default the email_reply_source)

Example:

"MyCompany"

expiration_interval_seconds
integer
default:1209600

When a date parameter is set on the link sent to the customer, this will be used to disable answers to the feedback form after that many seconds

Does nothing when the date parameter is not used on the link sent to the customer

Defaults to 2 weeks

Example: In the link you sent the customer, you set the date parameter to 2025-01-01T00:00:00Z. By default, the customer will no longer be able to answer the survey after 2025-01-15T00:00:00Z.

display_name
string

Name of your form

Example:

"Global Satisfaction"