Submit feedback for a lead using query parameters
curl --request GET \
--url https://app.leadconduit.com/feedbackimport requests
url = "https://app.leadconduit.com/feedback"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.leadconduit.com/feedback', 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://app.leadconduit.com/feedback",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.leadconduit.com/feedback"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.leadconduit.com/feedback")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.leadconduit.com/feedback")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"outcome": "success",
"reason": "<string>",
"price": 123,
"lead": {
"id": "5fd4371e940df5a34a3888b2",
"first_name": "Joe",
"last_name": "Blow",
"email": "joeblow@gmail.com",
"phone_1": "5125551212"
}
}{
"outcome": "success",
"reason": "<string>",
"price": 123,
"lead": {
"id": "5fd4371e940df5a34a3888b2",
"first_name": "Joe",
"last_name": "Blow",
"email": "joeblow@gmail.com",
"phone_1": "5125551212"
}
}{
"message": "Feedback not available in this flow"
}{
"message": "Event not found"
}Not capable of generating content according to the Accept header{
"outcome": "success",
"reason": "<string>",
"price": 123,
"lead": {
"id": "5fd4371e940df5a34a3888b2",
"first_name": "Joe",
"last_name": "Blow",
"email": "joeblow@gmail.com",
"phone_1": "5125551212"
}
}{
"error": "A Lead was ID provided, but feedback requires an event ID"
}Feedback
Submit feedback for a lead using query parameters
An alternative to POST /feedback for senders that cannot issue a request body. The
feedback fields are read from the query string alongside event_id. Behavior is
otherwise identical to the POST form, including the caveat that a 201 reports the
submission was processed, not that it was accepted.
GET
/
feedback
Submit feedback for a lead using query parameters
curl --request GET \
--url https://app.leadconduit.com/feedbackimport requests
url = "https://app.leadconduit.com/feedback"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.leadconduit.com/feedback', 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://app.leadconduit.com/feedback",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.leadconduit.com/feedback"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://app.leadconduit.com/feedback")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.leadconduit.com/feedback")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"outcome": "success",
"reason": "<string>",
"price": 123,
"lead": {
"id": "5fd4371e940df5a34a3888b2",
"first_name": "Joe",
"last_name": "Blow",
"email": "joeblow@gmail.com",
"phone_1": "5125551212"
}
}{
"outcome": "success",
"reason": "<string>",
"price": 123,
"lead": {
"id": "5fd4371e940df5a34a3888b2",
"first_name": "Joe",
"last_name": "Blow",
"email": "joeblow@gmail.com",
"phone_1": "5125551212"
}
}{
"message": "Feedback not available in this flow"
}{
"message": "Event not found"
}Not capable of generating content according to the Accept header{
"outcome": "success",
"reason": "<string>",
"price": 123,
"lead": {
"id": "5fd4371e940df5a34a3888b2",
"first_name": "Joe",
"last_name": "Blow",
"email": "joeblow@gmail.com",
"phone_1": "5125551212"
}
}{
"error": "A Lead was ID provided, but feedback requires an event ID"
}Query Parameters
Response
The feedback submission was processed. Check the outcome field to see whether it
was accepted.
The result of a feedback submission. Returned as JSON by default, or as XML
(wrapped in a <result> root element) when requested via the Accept header.