Customer Feedback
Create a customer feedback request
Create a single customer feedback request. Sends an email and/or SMS notification to the customer requesting feedback.
POST
/
customer-feedback-system
Create a customer feedback request
curl --request POST \
--url https://www.renovationfind.com/rest-api-v1/customer-feedback-system \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customerName": "John Doe",
"email": "john@example.com",
"phone": "5551234567"
}
'import requests
url = "https://www.renovationfind.com/rest-api-v1/customer-feedback-system"
payload = {
"customerName": "John Doe",
"email": "john@example.com",
"phone": "5551234567"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({customerName: 'John Doe', email: 'john@example.com', phone: '5551234567'})
};
fetch('https://www.renovationfind.com/rest-api-v1/customer-feedback-system', 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://www.renovationfind.com/rest-api-v1/customer-feedback-system",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'customerName' => 'John Doe',
'email' => 'john@example.com',
'phone' => '5551234567'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://www.renovationfind.com/rest-api-v1/customer-feedback-system"
payload := strings.NewReader("{\n \"customerName\": \"John Doe\",\n \"email\": \"john@example.com\",\n \"phone\": \"5551234567\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.post("https://www.renovationfind.com/rest-api-v1/customer-feedback-system")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"customerName\": \"John Doe\",\n \"email\": \"john@example.com\",\n \"phone\": \"5551234567\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.renovationfind.com/rest-api-v1/customer-feedback-system")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"customerName\": \"John Doe\",\n \"email\": \"john@example.com\",\n \"phone\": \"5551234567\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Duplicate request detected. Skipped."
}{
"success": true,
"data": {
"id": 123,
"customerName": "<string>",
"email": "<string>",
"phone": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"dateModified": "2023-11-07T05:31:56Z",
"dateRequestSent": "2023-11-07T05:31:56Z",
"feedbackCompleted": true,
"flaggedFeedback": true,
"comments": "<string>",
"reviewCompleted": true,
"googleReviewCompleted": true,
"facebookReviewCompleted": true,
"bbbReviewCompleted": true,
"otherReviewCompleted": true,
"referralCompleted": true,
"referralByEmailTextCompleted": true,
"referralByFbCompleted": true,
"referralConversionCount": 123
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "Rate limit exceeded. Maximum 250 requests per 5 minutes. Please retry later."
}Authorizations
JWT token issued from the RenovationFind Manager Portal
Query Parameters
If true, silently skips when a duplicate email/phone already exists for this vendor.
Body
application/json
At least one of email or phone must be provided.
Phone numbers are automatically normalized to xxx-xxx-xxxx format.
Full name of the customer
Example:
"John Doe"
Customer email address. If comma-separated, only the first is used. At least one of email or phone is required.
Example:
"john@example.com"
Customer phone number. At least one of email or phone is required. Automatically normalized to xxx-xxx-xxxx.
Example:
"5551234567"
Previous
Batch import customer feedback requestsImport multiple customer feedback requests at once (1-1500 per call).
Requests are queued with PENDING delivery status and sent in the next batch cycle (daily at 5:25 PM).
Next
⌘I
Create a customer feedback request
curl --request POST \
--url https://www.renovationfind.com/rest-api-v1/customer-feedback-system \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"customerName": "John Doe",
"email": "john@example.com",
"phone": "5551234567"
}
'import requests
url = "https://www.renovationfind.com/rest-api-v1/customer-feedback-system"
payload = {
"customerName": "John Doe",
"email": "john@example.com",
"phone": "5551234567"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({customerName: 'John Doe', email: 'john@example.com', phone: '5551234567'})
};
fetch('https://www.renovationfind.com/rest-api-v1/customer-feedback-system', 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://www.renovationfind.com/rest-api-v1/customer-feedback-system",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'customerName' => 'John Doe',
'email' => 'john@example.com',
'phone' => '5551234567'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://www.renovationfind.com/rest-api-v1/customer-feedback-system"
payload := strings.NewReader("{\n \"customerName\": \"John Doe\",\n \"email\": \"john@example.com\",\n \"phone\": \"5551234567\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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.post("https://www.renovationfind.com/rest-api-v1/customer-feedback-system")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"customerName\": \"John Doe\",\n \"email\": \"john@example.com\",\n \"phone\": \"5551234567\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.renovationfind.com/rest-api-v1/customer-feedback-system")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"customerName\": \"John Doe\",\n \"email\": \"john@example.com\",\n \"phone\": \"5551234567\"\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Duplicate request detected. Skipped."
}{
"success": true,
"data": {
"id": 123,
"customerName": "<string>",
"email": "<string>",
"phone": "<string>",
"dateCreated": "2023-11-07T05:31:56Z",
"dateModified": "2023-11-07T05:31:56Z",
"dateRequestSent": "2023-11-07T05:31:56Z",
"feedbackCompleted": true,
"flaggedFeedback": true,
"comments": "<string>",
"reviewCompleted": true,
"googleReviewCompleted": true,
"facebookReviewCompleted": true,
"bbbReviewCompleted": true,
"otherReviewCompleted": true,
"referralCompleted": true,
"referralByEmailTextCompleted": true,
"referralByFbCompleted": true,
"referralConversionCount": 123
}
}{
"success": false,
"error": "<string>"
}{
"success": false,
"error": "Rate limit exceeded. Maximum 250 requests per 5 minutes. Please retry later."
}
