Update a review form
curl --request PUT \
--url https://api.feedspace.io/v3/forms/{unique_form_id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"is_paused": true,
"description": "<string>",
"public_slug": "<string>",
"language_id": "<string>",
"page_title": "<string>",
"page_main_message": "<string>",
"messaging_description": "<string>",
"page_image": "<string>",
"favicon": "<string>",
"review_label_ids": [
"<string>"
],
"video_button_label": "<string>",
"screen_button_label": "<string>",
"audio_button_label": "<string>",
"text_button_label": "<string>",
"text_file_upload_label": "<string>",
"allow_files": [
"<string>"
],
"remark_placeholder": "<string>",
"additionalinfo": [
"<string>"
],
"other_text_label": "<string>",
"other_text_placeholder": "<string>",
"other_text2_label": "<string>",
"other_text2_placeholder": "<string>",
"other_text3_label": "<string>",
"other_text3_placeholder": "<string>",
"consent_label": "<string>",
"thankyou_title": "<string>",
"thankyou_message": "<string>",
"thankyou_reveal_text": "<string>",
"thankyou_redirection_url": "<string>",
"other_review_platforms": [
{
"url": "<string>",
"platform": "<string>",
"is_enabled": true,
"button_text": "<string>",
"icon": "<string>"
}
],
"thankyou_affiliate_link": "<string>",
"allow_star_redirection": true,
"star_redirection_min_rating": 123,
"star_redirection_platforms": [
{
"url": "<string>",
"platform": "<string>",
"is_enabled": true,
"button_text": "<string>",
"icon": "<string>",
"button_style": {}
}
],
"introduction_media": [
{
"details": {
"file": "<string>",
"file_name": "<string>",
"original_url": "<string>",
"original_path": "<string>"
}
}
],
"thankyou_message_media": [
{
"details": {
"file": "<string>",
"file_name": "<string>",
"original_url": "<string>",
"original_path": "<string>"
}
}
],
"reviews_widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"branding_affiliate_link": "<string>",
"submit_attributes": {},
"thankyou_attributes": {},
"form_attributes": {},
"custom_attributes": {},
"media_attributes": {}
}
'import requests
url = "https://api.feedspace.io/v3/forms/{unique_form_id}"
payload = {
"name": "<string>",
"is_paused": True,
"description": "<string>",
"public_slug": "<string>",
"language_id": "<string>",
"page_title": "<string>",
"page_main_message": "<string>",
"messaging_description": "<string>",
"page_image": "<string>",
"favicon": "<string>",
"review_label_ids": ["<string>"],
"video_button_label": "<string>",
"screen_button_label": "<string>",
"audio_button_label": "<string>",
"text_button_label": "<string>",
"text_file_upload_label": "<string>",
"allow_files": ["<string>"],
"remark_placeholder": "<string>",
"additionalinfo": ["<string>"],
"other_text_label": "<string>",
"other_text_placeholder": "<string>",
"other_text2_label": "<string>",
"other_text2_placeholder": "<string>",
"other_text3_label": "<string>",
"other_text3_placeholder": "<string>",
"consent_label": "<string>",
"thankyou_title": "<string>",
"thankyou_message": "<string>",
"thankyou_reveal_text": "<string>",
"thankyou_redirection_url": "<string>",
"other_review_platforms": [
{
"url": "<string>",
"platform": "<string>",
"is_enabled": True,
"button_text": "<string>",
"icon": "<string>"
}
],
"thankyou_affiliate_link": "<string>",
"allow_star_redirection": True,
"star_redirection_min_rating": 123,
"star_redirection_platforms": [
{
"url": "<string>",
"platform": "<string>",
"is_enabled": True,
"button_text": "<string>",
"icon": "<string>",
"button_style": {}
}
],
"introduction_media": [{ "details": {
"file": "<string>",
"file_name": "<string>",
"original_url": "<string>",
"original_path": "<string>"
} }],
"thankyou_message_media": [{ "details": {
"file": "<string>",
"file_name": "<string>",
"original_url": "<string>",
"original_path": "<string>"
} }],
"reviews_widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"branding_affiliate_link": "<string>",
"submit_attributes": {},
"thankyou_attributes": {},
"form_attributes": {},
"custom_attributes": {},
"media_attributes": {}
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
is_paused: true,
description: '<string>',
public_slug: '<string>',
language_id: '<string>',
page_title: '<string>',
page_main_message: '<string>',
messaging_description: '<string>',
page_image: '<string>',
favicon: '<string>',
review_label_ids: ['<string>'],
video_button_label: '<string>',
screen_button_label: '<string>',
audio_button_label: '<string>',
text_button_label: '<string>',
text_file_upload_label: '<string>',
allow_files: ['<string>'],
remark_placeholder: '<string>',
additionalinfo: ['<string>'],
other_text_label: '<string>',
other_text_placeholder: '<string>',
other_text2_label: '<string>',
other_text2_placeholder: '<string>',
other_text3_label: '<string>',
other_text3_placeholder: '<string>',
consent_label: '<string>',
thankyou_title: '<string>',
thankyou_message: '<string>',
thankyou_reveal_text: '<string>',
thankyou_redirection_url: '<string>',
other_review_platforms: [
{
url: '<string>',
platform: '<string>',
is_enabled: true,
button_text: '<string>',
icon: '<string>'
}
],
thankyou_affiliate_link: '<string>',
allow_star_redirection: true,
star_redirection_min_rating: 123,
star_redirection_platforms: [
{
url: '<string>',
platform: '<string>',
is_enabled: true,
button_text: '<string>',
icon: '<string>',
button_style: {}
}
],
introduction_media: [
{
details: {
file: '<string>',
file_name: '<string>',
original_url: '<string>',
original_path: '<string>'
}
}
],
thankyou_message_media: [
{
details: {
file: '<string>',
file_name: '<string>',
original_url: '<string>',
original_path: '<string>'
}
}
],
reviews_widget_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
branding_affiliate_link: '<string>',
submit_attributes: {},
thankyou_attributes: {},
form_attributes: {},
custom_attributes: {},
media_attributes: {}
})
};
fetch('https://api.feedspace.io/v3/forms/{unique_form_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.feedspace.io/v3/forms/{unique_form_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'is_paused' => true,
'description' => '<string>',
'public_slug' => '<string>',
'language_id' => '<string>',
'page_title' => '<string>',
'page_main_message' => '<string>',
'messaging_description' => '<string>',
'page_image' => '<string>',
'favicon' => '<string>',
'review_label_ids' => [
'<string>'
],
'video_button_label' => '<string>',
'screen_button_label' => '<string>',
'audio_button_label' => '<string>',
'text_button_label' => '<string>',
'text_file_upload_label' => '<string>',
'allow_files' => [
'<string>'
],
'remark_placeholder' => '<string>',
'additionalinfo' => [
'<string>'
],
'other_text_label' => '<string>',
'other_text_placeholder' => '<string>',
'other_text2_label' => '<string>',
'other_text2_placeholder' => '<string>',
'other_text3_label' => '<string>',
'other_text3_placeholder' => '<string>',
'consent_label' => '<string>',
'thankyou_title' => '<string>',
'thankyou_message' => '<string>',
'thankyou_reveal_text' => '<string>',
'thankyou_redirection_url' => '<string>',
'other_review_platforms' => [
[
'url' => '<string>',
'platform' => '<string>',
'is_enabled' => true,
'button_text' => '<string>',
'icon' => '<string>'
]
],
'thankyou_affiliate_link' => '<string>',
'allow_star_redirection' => true,
'star_redirection_min_rating' => 123,
'star_redirection_platforms' => [
[
'url' => '<string>',
'platform' => '<string>',
'is_enabled' => true,
'button_text' => '<string>',
'icon' => '<string>',
'button_style' => [
]
]
],
'introduction_media' => [
[
'details' => [
'file' => '<string>',
'file_name' => '<string>',
'original_url' => '<string>',
'original_path' => '<string>'
]
]
],
'thankyou_message_media' => [
[
'details' => [
'file' => '<string>',
'file_name' => '<string>',
'original_url' => '<string>',
'original_path' => '<string>'
]
]
],
'reviews_widget_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'branding_affiliate_link' => '<string>',
'submit_attributes' => [
],
'thankyou_attributes' => [
],
'form_attributes' => [
],
'custom_attributes' => [
],
'media_attributes' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.feedspace.io/v3/forms/{unique_form_id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"is_paused\": true,\n \"description\": \"<string>\",\n \"public_slug\": \"<string>\",\n \"language_id\": \"<string>\",\n \"page_title\": \"<string>\",\n \"page_main_message\": \"<string>\",\n \"messaging_description\": \"<string>\",\n \"page_image\": \"<string>\",\n \"favicon\": \"<string>\",\n \"review_label_ids\": [\n \"<string>\"\n ],\n \"video_button_label\": \"<string>\",\n \"screen_button_label\": \"<string>\",\n \"audio_button_label\": \"<string>\",\n \"text_button_label\": \"<string>\",\n \"text_file_upload_label\": \"<string>\",\n \"allow_files\": [\n \"<string>\"\n ],\n \"remark_placeholder\": \"<string>\",\n \"additionalinfo\": [\n \"<string>\"\n ],\n \"other_text_label\": \"<string>\",\n \"other_text_placeholder\": \"<string>\",\n \"other_text2_label\": \"<string>\",\n \"other_text2_placeholder\": \"<string>\",\n \"other_text3_label\": \"<string>\",\n \"other_text3_placeholder\": \"<string>\",\n \"consent_label\": \"<string>\",\n \"thankyou_title\": \"<string>\",\n \"thankyou_message\": \"<string>\",\n \"thankyou_reveal_text\": \"<string>\",\n \"thankyou_redirection_url\": \"<string>\",\n \"other_review_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\"\n }\n ],\n \"thankyou_affiliate_link\": \"<string>\",\n \"allow_star_redirection\": true,\n \"star_redirection_min_rating\": 123,\n \"star_redirection_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\",\n \"button_style\": {}\n }\n ],\n \"introduction_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"thankyou_message_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"reviews_widget_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"branding_affiliate_link\": \"<string>\",\n \"submit_attributes\": {},\n \"thankyou_attributes\": {},\n \"form_attributes\": {},\n \"custom_attributes\": {},\n \"media_attributes\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.feedspace.io/v3/forms/{unique_form_id}")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"is_paused\": true,\n \"description\": \"<string>\",\n \"public_slug\": \"<string>\",\n \"language_id\": \"<string>\",\n \"page_title\": \"<string>\",\n \"page_main_message\": \"<string>\",\n \"messaging_description\": \"<string>\",\n \"page_image\": \"<string>\",\n \"favicon\": \"<string>\",\n \"review_label_ids\": [\n \"<string>\"\n ],\n \"video_button_label\": \"<string>\",\n \"screen_button_label\": \"<string>\",\n \"audio_button_label\": \"<string>\",\n \"text_button_label\": \"<string>\",\n \"text_file_upload_label\": \"<string>\",\n \"allow_files\": [\n \"<string>\"\n ],\n \"remark_placeholder\": \"<string>\",\n \"additionalinfo\": [\n \"<string>\"\n ],\n \"other_text_label\": \"<string>\",\n \"other_text_placeholder\": \"<string>\",\n \"other_text2_label\": \"<string>\",\n \"other_text2_placeholder\": \"<string>\",\n \"other_text3_label\": \"<string>\",\n \"other_text3_placeholder\": \"<string>\",\n \"consent_label\": \"<string>\",\n \"thankyou_title\": \"<string>\",\n \"thankyou_message\": \"<string>\",\n \"thankyou_reveal_text\": \"<string>\",\n \"thankyou_redirection_url\": \"<string>\",\n \"other_review_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\"\n }\n ],\n \"thankyou_affiliate_link\": \"<string>\",\n \"allow_star_redirection\": true,\n \"star_redirection_min_rating\": 123,\n \"star_redirection_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\",\n \"button_style\": {}\n }\n ],\n \"introduction_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"thankyou_message_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"reviews_widget_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"branding_affiliate_link\": \"<string>\",\n \"submit_attributes\": {},\n \"thankyou_attributes\": {},\n \"form_attributes\": {},\n \"custom_attributes\": {},\n \"media_attributes\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.feedspace.io/v3/forms/{unique_form_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"is_paused\": true,\n \"description\": \"<string>\",\n \"public_slug\": \"<string>\",\n \"language_id\": \"<string>\",\n \"page_title\": \"<string>\",\n \"page_main_message\": \"<string>\",\n \"messaging_description\": \"<string>\",\n \"page_image\": \"<string>\",\n \"favicon\": \"<string>\",\n \"review_label_ids\": [\n \"<string>\"\n ],\n \"video_button_label\": \"<string>\",\n \"screen_button_label\": \"<string>\",\n \"audio_button_label\": \"<string>\",\n \"text_button_label\": \"<string>\",\n \"text_file_upload_label\": \"<string>\",\n \"allow_files\": [\n \"<string>\"\n ],\n \"remark_placeholder\": \"<string>\",\n \"additionalinfo\": [\n \"<string>\"\n ],\n \"other_text_label\": \"<string>\",\n \"other_text_placeholder\": \"<string>\",\n \"other_text2_label\": \"<string>\",\n \"other_text2_placeholder\": \"<string>\",\n \"other_text3_label\": \"<string>\",\n \"other_text3_placeholder\": \"<string>\",\n \"consent_label\": \"<string>\",\n \"thankyou_title\": \"<string>\",\n \"thankyou_message\": \"<string>\",\n \"thankyou_reveal_text\": \"<string>\",\n \"thankyou_redirection_url\": \"<string>\",\n \"other_review_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\"\n }\n ],\n \"thankyou_affiliate_link\": \"<string>\",\n \"allow_star_redirection\": true,\n \"star_redirection_min_rating\": 123,\n \"star_redirection_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\",\n \"button_style\": {}\n }\n ],\n \"introduction_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"thankyou_message_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"reviews_widget_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"branding_affiliate_link\": \"<string>\",\n \"submit_attributes\": {},\n \"thankyou_attributes\": {},\n \"form_attributes\": {},\n \"custom_attributes\": {},\n \"media_attributes\": {}\n}"
response = http.request(request)
puts response.read_body{
"message": "Form Updated Successfully"
}Review Forms
Update Review Form
Updates an existing review form by its unique_form_id.
PUT
/
forms
/
{unique_form_id}
Update a review form
curl --request PUT \
--url https://api.feedspace.io/v3/forms/{unique_form_id} \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"is_paused": true,
"description": "<string>",
"public_slug": "<string>",
"language_id": "<string>",
"page_title": "<string>",
"page_main_message": "<string>",
"messaging_description": "<string>",
"page_image": "<string>",
"favicon": "<string>",
"review_label_ids": [
"<string>"
],
"video_button_label": "<string>",
"screen_button_label": "<string>",
"audio_button_label": "<string>",
"text_button_label": "<string>",
"text_file_upload_label": "<string>",
"allow_files": [
"<string>"
],
"remark_placeholder": "<string>",
"additionalinfo": [
"<string>"
],
"other_text_label": "<string>",
"other_text_placeholder": "<string>",
"other_text2_label": "<string>",
"other_text2_placeholder": "<string>",
"other_text3_label": "<string>",
"other_text3_placeholder": "<string>",
"consent_label": "<string>",
"thankyou_title": "<string>",
"thankyou_message": "<string>",
"thankyou_reveal_text": "<string>",
"thankyou_redirection_url": "<string>",
"other_review_platforms": [
{
"url": "<string>",
"platform": "<string>",
"is_enabled": true,
"button_text": "<string>",
"icon": "<string>"
}
],
"thankyou_affiliate_link": "<string>",
"allow_star_redirection": true,
"star_redirection_min_rating": 123,
"star_redirection_platforms": [
{
"url": "<string>",
"platform": "<string>",
"is_enabled": true,
"button_text": "<string>",
"icon": "<string>",
"button_style": {}
}
],
"introduction_media": [
{
"details": {
"file": "<string>",
"file_name": "<string>",
"original_url": "<string>",
"original_path": "<string>"
}
}
],
"thankyou_message_media": [
{
"details": {
"file": "<string>",
"file_name": "<string>",
"original_url": "<string>",
"original_path": "<string>"
}
}
],
"reviews_widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"branding_affiliate_link": "<string>",
"submit_attributes": {},
"thankyou_attributes": {},
"form_attributes": {},
"custom_attributes": {},
"media_attributes": {}
}
'import requests
url = "https://api.feedspace.io/v3/forms/{unique_form_id}"
payload = {
"name": "<string>",
"is_paused": True,
"description": "<string>",
"public_slug": "<string>",
"language_id": "<string>",
"page_title": "<string>",
"page_main_message": "<string>",
"messaging_description": "<string>",
"page_image": "<string>",
"favicon": "<string>",
"review_label_ids": ["<string>"],
"video_button_label": "<string>",
"screen_button_label": "<string>",
"audio_button_label": "<string>",
"text_button_label": "<string>",
"text_file_upload_label": "<string>",
"allow_files": ["<string>"],
"remark_placeholder": "<string>",
"additionalinfo": ["<string>"],
"other_text_label": "<string>",
"other_text_placeholder": "<string>",
"other_text2_label": "<string>",
"other_text2_placeholder": "<string>",
"other_text3_label": "<string>",
"other_text3_placeholder": "<string>",
"consent_label": "<string>",
"thankyou_title": "<string>",
"thankyou_message": "<string>",
"thankyou_reveal_text": "<string>",
"thankyou_redirection_url": "<string>",
"other_review_platforms": [
{
"url": "<string>",
"platform": "<string>",
"is_enabled": True,
"button_text": "<string>",
"icon": "<string>"
}
],
"thankyou_affiliate_link": "<string>",
"allow_star_redirection": True,
"star_redirection_min_rating": 123,
"star_redirection_platforms": [
{
"url": "<string>",
"platform": "<string>",
"is_enabled": True,
"button_text": "<string>",
"icon": "<string>",
"button_style": {}
}
],
"introduction_media": [{ "details": {
"file": "<string>",
"file_name": "<string>",
"original_url": "<string>",
"original_path": "<string>"
} }],
"thankyou_message_media": [{ "details": {
"file": "<string>",
"file_name": "<string>",
"original_url": "<string>",
"original_path": "<string>"
} }],
"reviews_widget_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"branding_affiliate_link": "<string>",
"submit_attributes": {},
"thankyou_attributes": {},
"form_attributes": {},
"custom_attributes": {},
"media_attributes": {}
}
headers = {
"Authorization": "Basic <encoded-value>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PUT',
headers: {Authorization: 'Basic <encoded-value>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
is_paused: true,
description: '<string>',
public_slug: '<string>',
language_id: '<string>',
page_title: '<string>',
page_main_message: '<string>',
messaging_description: '<string>',
page_image: '<string>',
favicon: '<string>',
review_label_ids: ['<string>'],
video_button_label: '<string>',
screen_button_label: '<string>',
audio_button_label: '<string>',
text_button_label: '<string>',
text_file_upload_label: '<string>',
allow_files: ['<string>'],
remark_placeholder: '<string>',
additionalinfo: ['<string>'],
other_text_label: '<string>',
other_text_placeholder: '<string>',
other_text2_label: '<string>',
other_text2_placeholder: '<string>',
other_text3_label: '<string>',
other_text3_placeholder: '<string>',
consent_label: '<string>',
thankyou_title: '<string>',
thankyou_message: '<string>',
thankyou_reveal_text: '<string>',
thankyou_redirection_url: '<string>',
other_review_platforms: [
{
url: '<string>',
platform: '<string>',
is_enabled: true,
button_text: '<string>',
icon: '<string>'
}
],
thankyou_affiliate_link: '<string>',
allow_star_redirection: true,
star_redirection_min_rating: 123,
star_redirection_platforms: [
{
url: '<string>',
platform: '<string>',
is_enabled: true,
button_text: '<string>',
icon: '<string>',
button_style: {}
}
],
introduction_media: [
{
details: {
file: '<string>',
file_name: '<string>',
original_url: '<string>',
original_path: '<string>'
}
}
],
thankyou_message_media: [
{
details: {
file: '<string>',
file_name: '<string>',
original_url: '<string>',
original_path: '<string>'
}
}
],
reviews_widget_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
branding_affiliate_link: '<string>',
submit_attributes: {},
thankyou_attributes: {},
form_attributes: {},
custom_attributes: {},
media_attributes: {}
})
};
fetch('https://api.feedspace.io/v3/forms/{unique_form_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.feedspace.io/v3/forms/{unique_form_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PUT",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'is_paused' => true,
'description' => '<string>',
'public_slug' => '<string>',
'language_id' => '<string>',
'page_title' => '<string>',
'page_main_message' => '<string>',
'messaging_description' => '<string>',
'page_image' => '<string>',
'favicon' => '<string>',
'review_label_ids' => [
'<string>'
],
'video_button_label' => '<string>',
'screen_button_label' => '<string>',
'audio_button_label' => '<string>',
'text_button_label' => '<string>',
'text_file_upload_label' => '<string>',
'allow_files' => [
'<string>'
],
'remark_placeholder' => '<string>',
'additionalinfo' => [
'<string>'
],
'other_text_label' => '<string>',
'other_text_placeholder' => '<string>',
'other_text2_label' => '<string>',
'other_text2_placeholder' => '<string>',
'other_text3_label' => '<string>',
'other_text3_placeholder' => '<string>',
'consent_label' => '<string>',
'thankyou_title' => '<string>',
'thankyou_message' => '<string>',
'thankyou_reveal_text' => '<string>',
'thankyou_redirection_url' => '<string>',
'other_review_platforms' => [
[
'url' => '<string>',
'platform' => '<string>',
'is_enabled' => true,
'button_text' => '<string>',
'icon' => '<string>'
]
],
'thankyou_affiliate_link' => '<string>',
'allow_star_redirection' => true,
'star_redirection_min_rating' => 123,
'star_redirection_platforms' => [
[
'url' => '<string>',
'platform' => '<string>',
'is_enabled' => true,
'button_text' => '<string>',
'icon' => '<string>',
'button_style' => [
]
]
],
'introduction_media' => [
[
'details' => [
'file' => '<string>',
'file_name' => '<string>',
'original_url' => '<string>',
'original_path' => '<string>'
]
]
],
'thankyou_message_media' => [
[
'details' => [
'file' => '<string>',
'file_name' => '<string>',
'original_url' => '<string>',
'original_path' => '<string>'
]
]
],
'reviews_widget_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'branding_affiliate_link' => '<string>',
'submit_attributes' => [
],
'thankyou_attributes' => [
],
'form_attributes' => [
],
'custom_attributes' => [
],
'media_attributes' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.feedspace.io/v3/forms/{unique_form_id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"is_paused\": true,\n \"description\": \"<string>\",\n \"public_slug\": \"<string>\",\n \"language_id\": \"<string>\",\n \"page_title\": \"<string>\",\n \"page_main_message\": \"<string>\",\n \"messaging_description\": \"<string>\",\n \"page_image\": \"<string>\",\n \"favicon\": \"<string>\",\n \"review_label_ids\": [\n \"<string>\"\n ],\n \"video_button_label\": \"<string>\",\n \"screen_button_label\": \"<string>\",\n \"audio_button_label\": \"<string>\",\n \"text_button_label\": \"<string>\",\n \"text_file_upload_label\": \"<string>\",\n \"allow_files\": [\n \"<string>\"\n ],\n \"remark_placeholder\": \"<string>\",\n \"additionalinfo\": [\n \"<string>\"\n ],\n \"other_text_label\": \"<string>\",\n \"other_text_placeholder\": \"<string>\",\n \"other_text2_label\": \"<string>\",\n \"other_text2_placeholder\": \"<string>\",\n \"other_text3_label\": \"<string>\",\n \"other_text3_placeholder\": \"<string>\",\n \"consent_label\": \"<string>\",\n \"thankyou_title\": \"<string>\",\n \"thankyou_message\": \"<string>\",\n \"thankyou_reveal_text\": \"<string>\",\n \"thankyou_redirection_url\": \"<string>\",\n \"other_review_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\"\n }\n ],\n \"thankyou_affiliate_link\": \"<string>\",\n \"allow_star_redirection\": true,\n \"star_redirection_min_rating\": 123,\n \"star_redirection_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\",\n \"button_style\": {}\n }\n ],\n \"introduction_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"thankyou_message_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"reviews_widget_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"branding_affiliate_link\": \"<string>\",\n \"submit_attributes\": {},\n \"thankyou_attributes\": {},\n \"form_attributes\": {},\n \"custom_attributes\": {},\n \"media_attributes\": {}\n}")
req, _ := http.NewRequest("PUT", url, payload)
req.Header.Add("Authorization", "Basic <encoded-value>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.put("https://api.feedspace.io/v3/forms/{unique_form_id}")
.header("Authorization", "Basic <encoded-value>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"is_paused\": true,\n \"description\": \"<string>\",\n \"public_slug\": \"<string>\",\n \"language_id\": \"<string>\",\n \"page_title\": \"<string>\",\n \"page_main_message\": \"<string>\",\n \"messaging_description\": \"<string>\",\n \"page_image\": \"<string>\",\n \"favicon\": \"<string>\",\n \"review_label_ids\": [\n \"<string>\"\n ],\n \"video_button_label\": \"<string>\",\n \"screen_button_label\": \"<string>\",\n \"audio_button_label\": \"<string>\",\n \"text_button_label\": \"<string>\",\n \"text_file_upload_label\": \"<string>\",\n \"allow_files\": [\n \"<string>\"\n ],\n \"remark_placeholder\": \"<string>\",\n \"additionalinfo\": [\n \"<string>\"\n ],\n \"other_text_label\": \"<string>\",\n \"other_text_placeholder\": \"<string>\",\n \"other_text2_label\": \"<string>\",\n \"other_text2_placeholder\": \"<string>\",\n \"other_text3_label\": \"<string>\",\n \"other_text3_placeholder\": \"<string>\",\n \"consent_label\": \"<string>\",\n \"thankyou_title\": \"<string>\",\n \"thankyou_message\": \"<string>\",\n \"thankyou_reveal_text\": \"<string>\",\n \"thankyou_redirection_url\": \"<string>\",\n \"other_review_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\"\n }\n ],\n \"thankyou_affiliate_link\": \"<string>\",\n \"allow_star_redirection\": true,\n \"star_redirection_min_rating\": 123,\n \"star_redirection_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\",\n \"button_style\": {}\n }\n ],\n \"introduction_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"thankyou_message_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"reviews_widget_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"branding_affiliate_link\": \"<string>\",\n \"submit_attributes\": {},\n \"thankyou_attributes\": {},\n \"form_attributes\": {},\n \"custom_attributes\": {},\n \"media_attributes\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.feedspace.io/v3/forms/{unique_form_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Put.new(url)
request["Authorization"] = 'Basic <encoded-value>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"is_paused\": true,\n \"description\": \"<string>\",\n \"public_slug\": \"<string>\",\n \"language_id\": \"<string>\",\n \"page_title\": \"<string>\",\n \"page_main_message\": \"<string>\",\n \"messaging_description\": \"<string>\",\n \"page_image\": \"<string>\",\n \"favicon\": \"<string>\",\n \"review_label_ids\": [\n \"<string>\"\n ],\n \"video_button_label\": \"<string>\",\n \"screen_button_label\": \"<string>\",\n \"audio_button_label\": \"<string>\",\n \"text_button_label\": \"<string>\",\n \"text_file_upload_label\": \"<string>\",\n \"allow_files\": [\n \"<string>\"\n ],\n \"remark_placeholder\": \"<string>\",\n \"additionalinfo\": [\n \"<string>\"\n ],\n \"other_text_label\": \"<string>\",\n \"other_text_placeholder\": \"<string>\",\n \"other_text2_label\": \"<string>\",\n \"other_text2_placeholder\": \"<string>\",\n \"other_text3_label\": \"<string>\",\n \"other_text3_placeholder\": \"<string>\",\n \"consent_label\": \"<string>\",\n \"thankyou_title\": \"<string>\",\n \"thankyou_message\": \"<string>\",\n \"thankyou_reveal_text\": \"<string>\",\n \"thankyou_redirection_url\": \"<string>\",\n \"other_review_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\"\n }\n ],\n \"thankyou_affiliate_link\": \"<string>\",\n \"allow_star_redirection\": true,\n \"star_redirection_min_rating\": 123,\n \"star_redirection_platforms\": [\n {\n \"url\": \"<string>\",\n \"platform\": \"<string>\",\n \"is_enabled\": true,\n \"button_text\": \"<string>\",\n \"icon\": \"<string>\",\n \"button_style\": {}\n }\n ],\n \"introduction_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"thankyou_message_media\": [\n {\n \"details\": {\n \"file\": \"<string>\",\n \"file_name\": \"<string>\",\n \"original_url\": \"<string>\",\n \"original_path\": \"<string>\"\n }\n }\n ],\n \"reviews_widget_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"branding_affiliate_link\": \"<string>\",\n \"submit_attributes\": {},\n \"thankyou_attributes\": {},\n \"form_attributes\": {},\n \"custom_attributes\": {},\n \"media_attributes\": {}\n}"
response = http.request(request)
puts response.read_body{
"message": "Form Updated Successfully"
}Authorizations
HTTP Basic Authentication using API Key and Secret Key. The credentials should be Base64 encoded in the format 'api_key:secret_key'. You can obtain your API Key and Secret Key from Feedspace → Automation → API (https://app.feedspace.io/automation/api).
Path Parameters
Body
application/json
Request body for creating or updating a review form. Most fields are optional.
On create (POST /forms), only name is validated. Every other field is accepted and stored as provided. The conditional requirements described below, and the is_paused short-circuit, are enforced on update (PUT /forms/{unique_form_id}) only.
Label for the text review button (required if allow_text_review is 1)