Submit feedback with source
curl --request POST \
--url https://api.meetsquad.ai/v1/data-ingress/{feedbackSource} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: text/plain' \
--data 'I found the dashboard confusing to navigate'import requests
url = "https://api.meetsquad.ai/v1/data-ingress/{feedbackSource}"
payload = "I found the dashboard confusing to navigate"
headers = {
"Authorization": "<api-key>",
"Content-Type": "text/plain"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'text/plain'},
body: 'I found the dashboard confusing to navigate'
};
fetch('https://api.meetsquad.ai/v1/data-ingress/{feedbackSource}', 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.meetsquad.ai/v1/data-ingress/{feedbackSource}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "I found the dashboard confusing to navigate",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: text/plain"
],
]);
$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.meetsquad.ai/v1/data-ingress/{feedbackSource}"
payload := strings.NewReader("I found the dashboard confusing to navigate")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "text/plain")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.meetsquad.ai/v1/data-ingress/{feedbackSource}")
.header("Authorization", "<api-key>")
.header("Content-Type", "text/plain")
.body("I found the dashboard confusing to navigate")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetsquad.ai/v1/data-ingress/{feedbackSource}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'text/plain'
request.body = "I found the dashboard confusing to navigate"
response = http.request(request)
puts response.read_body{
"data": {
"insight": "I had trouble with the checkout process on your website",
"source": "SLACK",
"workspaceId": "c0e195d9-b918-4a3a-bd8b-f730361d044f",
"organisationId": "a5f3c6e1-9d20-4f7b-8e31-d09a2b63c184"
}
}Submit Feedback
Submit feedback with source
Submit plain text feedback with a source label (e.g. MOBILE_APP, WEB_FORM) for tracking where feedback originates. The target workspace is determined by the API key used to authenticate.
POST
/
v1
/
data-ingress
/
{feedbackSource}
Submit feedback with source
curl --request POST \
--url https://api.meetsquad.ai/v1/data-ingress/{feedbackSource} \
--header 'Authorization: <api-key>' \
--header 'Content-Type: text/plain' \
--data 'I found the dashboard confusing to navigate'import requests
url = "https://api.meetsquad.ai/v1/data-ingress/{feedbackSource}"
payload = "I found the dashboard confusing to navigate"
headers = {
"Authorization": "<api-key>",
"Content-Type": "text/plain"
}
response = requests.post(url, data=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: '<api-key>', 'Content-Type': 'text/plain'},
body: 'I found the dashboard confusing to navigate'
};
fetch('https://api.meetsquad.ai/v1/data-ingress/{feedbackSource}', 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.meetsquad.ai/v1/data-ingress/{feedbackSource}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => "I found the dashboard confusing to navigate",
CURLOPT_HTTPHEADER => [
"Authorization: <api-key>",
"Content-Type: text/plain"
],
]);
$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.meetsquad.ai/v1/data-ingress/{feedbackSource}"
payload := strings.NewReader("I found the dashboard confusing to navigate")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "<api-key>")
req.Header.Add("Content-Type", "text/plain")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.meetsquad.ai/v1/data-ingress/{feedbackSource}")
.header("Authorization", "<api-key>")
.header("Content-Type", "text/plain")
.body("I found the dashboard confusing to navigate")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.meetsquad.ai/v1/data-ingress/{feedbackSource}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = '<api-key>'
request["Content-Type"] = 'text/plain'
request.body = "I found the dashboard confusing to navigate"
response = http.request(request)
puts response.read_body{
"data": {
"insight": "I had trouble with the checkout process on your website",
"source": "SLACK",
"workspaceId": "c0e195d9-b918-4a3a-bd8b-f730361d044f",
"organisationId": "a5f3c6e1-9d20-4f7b-8e31-d09a2b63c184"
}
}Authorizations
API key authentication for public API endpoints. This key is scoped by workspace so a unique key is required per workspace within an organisation.
Path Parameters
The source of the feedback (e.g. MOBILE_APP, WEB_FORM). Must be UPPERCASE_WITH_UNDERSCORES.
Body
text/plain
Plain text feedback content
Example:
"I found the dashboard confusing to navigate"
Response
Feedback processed successfully
Response data for processed insight
Show child attributes
Show child attributes
⌘I