curl --request POST \
--url https://www.closient.com/signals/api/v1/signals/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"batch": "LOT-2026-04",
"body": "The seal was broken when I opened it.",
"category": "quality_issue",
"contact_consent": true,
"contact_email": "shopper@example.com",
"gtin": "00012345678905",
"sentiment": "negative"
}
'import requests
url = "https://www.closient.com/signals/api/v1/signals/"
payload = {
"batch": "LOT-2026-04",
"body": "The seal was broken when I opened it.",
"category": "quality_issue",
"contact_consent": True,
"contact_email": "shopper@example.com",
"gtin": "00012345678905",
"sentiment": "negative"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
batch: 'LOT-2026-04',
body: JSON.stringify('The seal was broken when I opened it.'),
category: 'quality_issue',
contact_consent: true,
contact_email: 'shopper@example.com',
gtin: '00012345678905',
sentiment: 'negative'
})
};
fetch('https://www.closient.com/signals/api/v1/signals/', 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.closient.com/signals/api/v1/signals/",
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([
'batch' => 'LOT-2026-04',
'body' => 'The seal was broken when I opened it.',
'category' => 'quality_issue',
'contact_consent' => true,
'contact_email' => 'shopper@example.com',
'gtin' => '00012345678905',
'sentiment' => 'negative'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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.closient.com/signals/api/v1/signals/"
payload := strings.NewReader("{\n \"batch\": \"LOT-2026-04\",\n \"body\": \"The seal was broken when I opened it.\",\n \"category\": \"quality_issue\",\n \"contact_consent\": true,\n \"contact_email\": \"shopper@example.com\",\n \"gtin\": \"00012345678905\",\n \"sentiment\": \"negative\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.closient.com/signals/api/v1/signals/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"batch\": \"LOT-2026-04\",\n \"body\": \"The seal was broken when I opened it.\",\n \"category\": \"quality_issue\",\n \"contact_consent\": true,\n \"contact_email\": \"shopper@example.com\",\n \"gtin\": \"00012345678905\",\n \"sentiment\": \"negative\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.closient.com/signals/api/v1/signals/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"batch\": \"LOT-2026-04\",\n \"body\": \"The seal was broken when I opened it.\",\n \"category\": \"quality_issue\",\n \"contact_consent\": true,\n \"contact_email\": \"shopper@example.com\",\n \"gtin\": \"00012345678905\",\n \"sentiment\": \"negative\"\n}"
response = http.request(request)
puts response.read_body{
"batch": "LOT-2026-04",
"body": "The seal was broken when I opened it.",
"category": "quality_issue",
"contact_consent": true,
"created": "2026-06-19T14:30:00Z",
"gtin": "00012345678905",
"has_voice": false,
"id": "a1b2c3d4e5f6",
"modified": "2026-06-19T14:30:00Z",
"sentiment": "negative",
"status": "active"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}Submit a signal
Create a private feedback signal for the brand behind a scanned product. Requires an authenticated (social-auth) consumer. category and sentiment are stable codes, never labels. contact_email (if given) must be one of the consumer’s own verified addresses.
Abuse & safety baseline: rate-limited per identity — a low daily cap (~3/day) plus an hourly anti-flood cap and a per-year ceiling — and per IP. Feedback is a rare action, so the caps are deliberately tight; exceeding any of them returns 429 with a friendly message and creates no records. Identical rapid resubmits are deduped (return the original, no duplicate). A banned identity is rejected with 403. An oversized body returns 422. Profanity/abuse heuristics flag the signal for review but never block it.
curl --request POST \
--url https://www.closient.com/signals/api/v1/signals/ \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"batch": "LOT-2026-04",
"body": "The seal was broken when I opened it.",
"category": "quality_issue",
"contact_consent": true,
"contact_email": "shopper@example.com",
"gtin": "00012345678905",
"sentiment": "negative"
}
'import requests
url = "https://www.closient.com/signals/api/v1/signals/"
payload = {
"batch": "LOT-2026-04",
"body": "The seal was broken when I opened it.",
"category": "quality_issue",
"contact_consent": True,
"contact_email": "shopper@example.com",
"gtin": "00012345678905",
"sentiment": "negative"
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
batch: 'LOT-2026-04',
body: JSON.stringify('The seal was broken when I opened it.'),
category: 'quality_issue',
contact_consent: true,
contact_email: 'shopper@example.com',
gtin: '00012345678905',
sentiment: 'negative'
})
};
fetch('https://www.closient.com/signals/api/v1/signals/', 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.closient.com/signals/api/v1/signals/",
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([
'batch' => 'LOT-2026-04',
'body' => 'The seal was broken when I opened it.',
'category' => 'quality_issue',
'contact_consent' => true,
'contact_email' => 'shopper@example.com',
'gtin' => '00012345678905',
'sentiment' => 'negative'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$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.closient.com/signals/api/v1/signals/"
payload := strings.NewReader("{\n \"batch\": \"LOT-2026-04\",\n \"body\": \"The seal was broken when I opened it.\",\n \"category\": \"quality_issue\",\n \"contact_consent\": true,\n \"contact_email\": \"shopper@example.com\",\n \"gtin\": \"00012345678905\",\n \"sentiment\": \"negative\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
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.closient.com/signals/api/v1/signals/")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"batch\": \"LOT-2026-04\",\n \"body\": \"The seal was broken when I opened it.\",\n \"category\": \"quality_issue\",\n \"contact_consent\": true,\n \"contact_email\": \"shopper@example.com\",\n \"gtin\": \"00012345678905\",\n \"sentiment\": \"negative\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://www.closient.com/signals/api/v1/signals/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"batch\": \"LOT-2026-04\",\n \"body\": \"The seal was broken when I opened it.\",\n \"category\": \"quality_issue\",\n \"contact_consent\": true,\n \"contact_email\": \"shopper@example.com\",\n \"gtin\": \"00012345678905\",\n \"sentiment\": \"negative\"\n}"
response = http.request(request)
puts response.read_body{
"batch": "LOT-2026-04",
"body": "The seal was broken when I opened it.",
"category": "quality_issue",
"contact_consent": true,
"created": "2026-06-19T14:30:00Z",
"gtin": "00012345678905",
"has_voice": false,
"id": "a1b2c3d4e5f6",
"modified": "2026-06-19T14:30:00Z",
"sentiment": "negative",
"status": "active"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}{
"detail": "The requested resource was not found.",
"error_code": "not_found",
"retryable": false,
"status": 404,
"timestamp": "2026-03-31T12:00:00+00:00",
"title": "Not Found",
"type": "https://closient.com/docs/errors/not_found"
}Body
Payload to submit a new signal (consumer-facing).
URL-safe 22-character shortuuid encoding of the row's UUID primary key. Stable across the row's lifetime; suitable for sharing in URLs, log lines, and external SDK clients. Accepted on input as either the shortuuid form or the canonical UUID form (xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx).
22^[23456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz]{22}$Response
Created
A signal as the consumer (submitter) sees it.
Carries the full set of consumer-owned fields. category and
sentiment are stable codes, never labels. Identifier context
(gtin / batch / serial) is surfaced as the human-facing
identifier string, not the internal row id.