curl --request POST \ --url https://prod.rtymgt.com/api/v4/respondents/review/{publishable_key} \ --header 'Content-Type: application/json' \ --data '{ "q_id": "3333", "text": "I am very satisfied because the features meet all my needs.", "s_text_length": "50", "sn_ud": "T_test", "sy_nr": "test", "question": "How satisfied are you with the current product features?"}'
import requests
url = "https://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}"
payload = {
"q_id": "3333",
"text": "I am very satisfied because the features meet all my needs.",
"s_text_length": "50",
"sn_ud": "T_test",
"sy_nr": "test",
"question": "How satisfied are you with the current product features?"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
q_id: '3333',
text: 'I am very satisfied because the features meet all my needs.',
s_text_length: '50',
sn_ud: 'T_test',
sy_nr: 'test',
question: 'How satisfied are you with the current product features?'
})
};
fetch('https://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}', 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://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}",
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([
'q_id' => '3333',
'text' => 'I am very satisfied because the features meet all my needs.',
's_text_length' => '50',
'sn_ud' => 'T_test',
'sy_nr' => 'test',
'question' => 'How satisfied are you with the current product features?'
]),
CURLOPT_HTTPHEADER => [
"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://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}"
payload := strings.NewReader("{\n \"q_id\": \"3333\",\n \"text\": \"I am very satisfied because the features meet all my needs.\",\n \"s_text_length\": \"50\",\n \"sn_ud\": \"T_test\",\n \"sy_nr\": \"test\",\n \"question\": \"How satisfied are you with the current product features?\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}")
.header("Content-Type", "application/json")
.body("{\n \"q_id\": \"3333\",\n \"text\": \"I am very satisfied because the features meet all my needs.\",\n \"s_text_length\": \"50\",\n \"sn_ud\": \"T_test\",\n \"sy_nr\": \"test\",\n \"question\": \"How satisfied are you with the current product features?\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"q_id\": \"3333\",\n \"text\": \"I am very satisfied because the features meet all my needs.\",\n \"s_text_length\": \"50\",\n \"sn_ud\": \"T_test\",\n \"sy_nr\": \"test\",\n \"question\": \"How satisfied are you with the current product features?\"\n}"
response = http.request(request)
puts response.read_body
{ "model": { "rw_context_risk_score": 12, "rw_context_risk_level": "low", "rw_context_description": "Yes, contextually correct", "rw_llm_risk_score": 1, "rw_llm_risk_level": "low", "rw_llm_description": "LLM not detected" }, "input": { "sy_nr": "test", "q_id": "3333", "question": "How satisfied are you with the current product features?", "sn_ud": "T_test", "text": "I am very satisfied because the features meet all my needs.", "similarity_text_length": "50" }, "score": { "garbage_words_score": 0, "pasted_response_score": 0, "typed_response_time": 0, "page_view_time": 0, "profanity_check_score": 0, "composite_score": 0, "garbage_words": 0, "language_detected_score": 0.01, "engagement_score": 1, "similarity_text": 1, "profanity_check": 0, "language_detected": "English", "pasted_response": 0 }}
Text analysis of an open-ended survey response, submitted as a JSON body. POST supports a higher number of characters than the GET method.Send q_id, text, and s_text_length (plus sn_ud, sy_nr, and question) in the request body with Content-Type: application/json.For full parameter definitions, response fields, and the copy/paste JS library, see the REVIEW guide.
Path Parameters
publishable_key
string
required
Your Research Defender publishable key (client-side).
Body
application/json
q_id
string
required
text
string
required
s_text_length
string
sn_ud
string
sy_nr
string
question
string
c_text
string
Pasted text from the JS library, base64-encoded.
t_page_load
string
Page-load time (base64-encoded).
t_text_typed
string
Time when typing started (base64-encoded).
t_submit
string
Time on submit (base64-encoded).
p_fields
string
Behavioral data (keystrokes, mouse, and scroll) collected by the JS library.
country_code
string
Respondent country code (ISO 3166-1 alpha-2), used for locale-based validation.
Response
200 - application/json
Open-end text analysis result.
model
object
Show child attributes
input
object
Show child attributes
score
object
Show child attributes
Was this page helpful?
REVIEW (POST)
curl --request POST \ --url https://prod.rtymgt.com/api/v4/respondents/review/{publishable_key} \ --header 'Content-Type: application/json' \ --data '{ "q_id": "3333", "text": "I am very satisfied because the features meet all my needs.", "s_text_length": "50", "sn_ud": "T_test", "sy_nr": "test", "question": "How satisfied are you with the current product features?"}'
import requests
url = "https://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}"
payload = {
"q_id": "3333",
"text": "I am very satisfied because the features meet all my needs.",
"s_text_length": "50",
"sn_ud": "T_test",
"sy_nr": "test",
"question": "How satisfied are you with the current product features?"
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)
const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
q_id: '3333',
text: 'I am very satisfied because the features meet all my needs.',
s_text_length: '50',
sn_ud: 'T_test',
sy_nr: 'test',
question: 'How satisfied are you with the current product features?'
})
};
fetch('https://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}', 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://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}",
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([
'q_id' => '3333',
'text' => 'I am very satisfied because the features meet all my needs.',
's_text_length' => '50',
'sn_ud' => 'T_test',
'sy_nr' => 'test',
'question' => 'How satisfied are you with the current product features?'
]),
CURLOPT_HTTPHEADER => [
"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://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}"
payload := strings.NewReader("{\n \"q_id\": \"3333\",\n \"text\": \"I am very satisfied because the features meet all my needs.\",\n \"s_text_length\": \"50\",\n \"sn_ud\": \"T_test\",\n \"sy_nr\": \"test\",\n \"question\": \"How satisfied are you with the current product features?\"\n}")
req, _ := http.NewRequest("POST", url, payload)
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://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}")
.header("Content-Type", "application/json")
.body("{\n \"q_id\": \"3333\",\n \"text\": \"I am very satisfied because the features meet all my needs.\",\n \"s_text_length\": \"50\",\n \"sn_ud\": \"T_test\",\n \"sy_nr\": \"test\",\n \"question\": \"How satisfied are you with the current product features?\"\n}")
.asString();
require 'uri'
require 'net/http'
url = URI("https://prod.rtymgt.com/api/v4/respondents/review/{publishable_key}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"q_id\": \"3333\",\n \"text\": \"I am very satisfied because the features meet all my needs.\",\n \"s_text_length\": \"50\",\n \"sn_ud\": \"T_test\",\n \"sy_nr\": \"test\",\n \"question\": \"How satisfied are you with the current product features?\"\n}"
response = http.request(request)
puts response.read_body
{ "model": { "rw_context_risk_score": 12, "rw_context_risk_level": "low", "rw_context_description": "Yes, contextually correct", "rw_llm_risk_score": 1, "rw_llm_risk_level": "low", "rw_llm_description": "LLM not detected" }, "input": { "sy_nr": "test", "q_id": "3333", "question": "How satisfied are you with the current product features?", "sn_ud": "T_test", "text": "I am very satisfied because the features meet all my needs.", "similarity_text_length": "50" }, "score": { "garbage_words_score": 0, "pasted_response_score": 0, "typed_response_time": 0, "page_view_time": 0, "profanity_check_score": 0, "composite_score": 0, "garbage_words": 0, "language_detected_score": 0.01, "engagement_score": 1, "similarity_text": 1, "profanity_check": 0, "language_detected": "English", "pasted_response": 0 }}
{"docsConfig":{"theme":"sequoia","$schema":"https://mintlify.com/docs.json","name":"Rep Data Documentation","colors":{"primary":"#9B31CF","light":"#9B31CF","dark":"#9B31CF"},"logo":{"light":"https://mintcdn.com/repdata/oPuIFCbtr5tUZERq/public/rep-data-logo-inline-light.png?fit=max\u0026auto=format\u0026n=oPuIFCbtr5tUZERq\u0026q=85\u0026s=82f5eeb30e8795397f8c2368e92e9bc1","dark":"https://mintcdn.com/repdata/M70fS1kJzi8uECBc/public/logo.svg?fit=max\u0026auto=format\u0026n=M70fS1kJzi8uECBc\u0026q=85\u0026s=17c7f815fad9b0adde887ba0f9f6c87a"},"favicon":"https://mintcdn.com/repdata/pylBvYgIEi2ZHBns/public/favicon.png?fit=max\u0026auto=format\u0026n=pylBvYgIEi2ZHBns\u0026q=85\u0026s=3d54ba9b8677d7b231163af74f4621ca","styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"repdata","hasAudioNarration":false,"actualSubdomain":"repdata","customDomains":["docs.repdata.com"],"gitSource":{"type":"github","owner":"repdata-team","repo":"product-documentation","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10bda99ffae5051c403b02"},"feedback":{"thumbs":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6b0ea829de330cb387d81bcc","clientVersion":"0.0.4448","searchFilterCounts":[{"language":"default","tag":"ReDem Application \u0026 API","count":53},{"language":"default","tag":"Research Desk","count":38},{"language":"default","tag":"Research Defender","count":34},{"language":"default","tag":"API Documentation","count":30},{"language":"default","tag":"Research Desk Supply API","count":30},{"language":"default","tag":"Integration Guide","count":29},{"language":"default","tag":"Research Desk Demand API","count":27},{"language":"default","tag":"v3 (Latest)","count":21},{"language":"default","tag":"Endpoints","count":21},{"language":"default","tag":"Overview","count":17}]},"assistantConfig":{"enableStarterQuestions":false},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"accordion#us-genpop-survey-request code-block{display:block;max-height:28rem;overflow-y:auto}:root{--rd-border-light: #64748b;--rd-border-strong: #475569}.dark{--rd-border-light: #94a3b8;--rd-border-strong: #cbd5e1}a.card{border-color:var(--rd-border-light)!important;border-width:1.5px!important;transition:border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease}a.card:hover{border-color:#16a34a!important;box-shadow:0 8px 24px -12px rgba(22, 163, 74, 0.35);transform:translateY(-2px)}div[class*=\"card-group\"],div[class*=\"CardGroup\"],.card-group,#card-group{border-color:transparent!important;background-color:transparent!important;box-shadow:none!important}div[class*=\"callout\"]{border-width:1.5px!important}table{border-color:var(--rd-border-strong)!important}table th,table td{border-color:var(--rd-border-light)!important}pre,code{border-color:var(--rd-border-light)!important}hr{border-color:var(--rd-border-strong)!important;border-top-width:1.5px!important}details,[class*=\"accordion\"]{border-color:var(--rd-border-light)!important}"}]}
{"page":{"pagePath":"research-defender/endpoints/post-api-v4-respondents-review-publishable_key","slug":"/research-defender/endpoints/post-api-v4-respondents-review-publishable_key","pageMetadata":{"title":"REVIEW (POST)","openapi":"POST /api/v4/respondents/review/{publishable_key}","description":"","href":"/research-defender/endpoints/post-api-v4-respondents-review-publishable_key"},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Text analysis of an open-ended survey response, submitted as a JSON body. POST supports a higher number of characters than the GET method.`}),`\n`,_jsxs(_components.p,{children:[`Send `,_jsx(_components.code,{children:`q_id`}),`, `,_jsx(_components.code,{children:`text`}),`, and `,_jsx(_components.code,{children:`s_text_length`}),` (plus `,_jsx(_components.code,{children:`sn_ud`}),`, `,_jsx(_components.code,{children:`sy_nr`}),`, and `,_jsx(_components.code,{children:`question`}),`) in the request body with `,_jsx(_components.code,{children:`Content-Type: application/json`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`For full parameter definitions, response fields, and the copy/paste JS library, see the `,_jsx(_components.a,{href:`https://docs.repdata.com/research-defender/guides/review/01-overview`,children:`REVIEW guide`}),`.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"REVIEW (POST)","openapi":"POST /api/v4/respondents/review/{publishable_key}","description":"","href":"/research-defender/endpoints/post-api-v4-respondents-review-publishable_key"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"Review_ReviewPost","summary":"REVIEW (POST)","description":"","parameters":["4b3eb44c-e4d1-4f10-be95-880df5848708"],"responses":{"200":"08f4a885-73d4-4dbe-bad8-f27a48830c5f"},"requestBody":"a580ad0a-ae01-4195-8f9a-98ea8f8716da","method":"post","type":"path","servers":["0adf279b-9ba8-4c82-b3c0-c666a6d48ebb","8516ca4d-b84c-4fff-8bc8-f7e8717604d0"],"security":[],"path":"/api/v4/respondents/review/{publishable_key}","baseUrlOptions":["https://prod.rtymgt.com","https://staging.rtymgt.com"],"title":"REVIEW (POST)","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"4b3eb44c-e4d1-4f10-be95-880df5848708":{"name":"publishable_key","in":"path","required":true,"description":"Your Research Defender publishable key (client-side).","schema":{"type":"string","isRequired":true,"description":"Your Research Defender publishable key (client-side).","uniqueKey":"","typeLabel":"string"},"example":"9fc32a73-8165-4dd4-ae19-458bed3c8db5"}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["q_id","text"],"properties":{"q_id":{"type":"string","isRequired":true,"uniqueKey":"q_id","typeLabel":"string"},"text":{"type":"string","isRequired":true,"uniqueKey":"text","typeLabel":"string"},"s_text_length":{"type":"string","uniqueKey":"s_text_length","typeLabel":"string"},"sn_ud":{"type":"string","uniqueKey":"sn_ud","typeLabel":"string"},"sy_nr":{"type":"string","uniqueKey":"sy_nr","typeLabel":"string"},"question":{"type":"string","uniqueKey":"question","typeLabel":"string"},"c_text":{"type":"string","description":"Pasted text from the JS library, base64-encoded.","uniqueKey":"c_text","typeLabel":"string"},"t_page_load":{"type":"string","description":"Page-load time (base64-encoded).","uniqueKey":"t_page_load","typeLabel":"string"},"t_text_typed":{"type":"string","description":"Time when typing started (base64-encoded).","uniqueKey":"t_text_typed","typeLabel":"string"},"t_submit":{"type":"string","description":"Time on submit (base64-encoded).","uniqueKey":"t_submit","typeLabel":"string"},"p_fields":{"type":"string","description":"Behavioral data (keystrokes, mouse, and scroll) collected by the JS library.","uniqueKey":"p_fields","typeLabel":"string"},"country_code":{"type":"string","description":"Respondent country code (ISO 3166-1 alpha-2), used for locale-based validation.","uniqueKey":"country_code","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"q_id":"3333","text":"I am very satisfied because the features meet all my needs.","s_text_length":"50","sn_ud":"T_test","sy_nr":"test","question":"How satisfied are you with the current product features?"},"examples":{"Example":{"title":"Example","value":{"q_id":"3333","text":"I am very satisfied because the features meet all my needs.","s_text_length":"50","sn_ud":"T_test","sy_nr":"test","question":"How satisfied are you with the current product features?"}}},"exampleType":"examples"}},"exampleType":"examples"},"responses":{"08f4a885-73d4-4dbe-bad8-f27a48830c5f":{"description":"Open-end text analysis result.","content":{"application/json":{"schema":{"type":"object","properties":{"model":{"type":"object","properties":{"rw_context_risk_score":{"type":"integer","uniqueKey":"model.rw_context_risk_score","typeLabel":"integer"},"rw_context_risk_level":{"type":"string","uniqueKey":"model.rw_context_risk_level","typeLabel":"string"},"rw_context_description":{"type":"string","uniqueKey":"model.rw_context_description","typeLabel":"string"},"rw_llm_risk_score":{"type":"integer","uniqueKey":"model.rw_llm_risk_score","typeLabel":"integer"},"rw_llm_risk_level":{"type":"string","uniqueKey":"model.rw_llm_risk_level","typeLabel":"string"},"rw_llm_description":{"type":"string","description":"Whether the response appears LLM-generated.","uniqueKey":"model.rw_llm_description","typeLabel":"string"},"locale_mismatch":{"type":"integer","uniqueKey":"model.locale_mismatch","typeLabel":"integer"},"behavioral_tracking_risk_score":{"type":"integer","uniqueKey":"model.behavioral_tracking_risk_score","typeLabel":"integer"},"behavioral_tracking_risk_level":{"type":"string","uniqueKey":"model.behavioral_tracking_risk_level","typeLabel":"string"},"behavioral_tracking_description":{"type":"string","uniqueKey":"model.behavioral_tracking_description","typeLabel":"string"}},"uniqueKey":"model","typeLabel":"object"},"input":{"type":"object","properties":{"sy_nr":{"type":"string","uniqueKey":"input.sy_nr","typeLabel":"string"},"q_id":{"type":"string","uniqueKey":"input.q_id","typeLabel":"string"},"question":{"type":"string","uniqueKey":"input.question","typeLabel":"string"},"sn_ud":{"type":"string","uniqueKey":"input.sn_ud","typeLabel":"string"},"text":{"type":"string","uniqueKey":"input.text","typeLabel":"string"},"similarity_text_length":{"type":"string","uniqueKey":"input.similarity_text_length","typeLabel":"string"},"country_code":{"type":"string","uniqueKey":"input.country_code","typeLabel":"string"}},"uniqueKey":"input","typeLabel":"object"},"score":{"type":"object","properties":{"composite_score":{"type":"integer","description":"Primary measure of response quality.","uniqueKey":"score.composite_score","typeLabel":"integer"},"similarity_text":{"type":"integer","description":"1 if a duplicate open-end is detected.","uniqueKey":"score.similarity_text","typeLabel":"integer"},"profanity_check":{"type":"integer","description":"1 if profanity detected, else 0.","uniqueKey":"score.profanity_check","typeLabel":"integer"},"engagement_score":{"type":"number","description":"Response length relative to others for the question ID.","uniqueKey":"score.engagement_score","typeLabel":"number"},"language_detected":{"type":"string","uniqueKey":"score.language_detected","typeLabel":"string"},"language_detected_score":{"type":"number","uniqueKey":"score.language_detected_score","typeLabel":"number"},"pasted_response_score":{"type":"number","uniqueKey":"score.pasted_response_score","typeLabel":"number"},"page_view_time":{"type":"number","uniqueKey":"score.page_view_time","typeLabel":"number"},"typed_response_time":{"type":"number","uniqueKey":"score.typed_response_time","typeLabel":"number"},"profanity_check_score":{"type":"number","uniqueKey":"score.profanity_check_score","typeLabel":"number"},"pasted_response":{"type":"integer","uniqueKey":"score.pasted_response","typeLabel":"integer"},"garbage_words":{"type":"integer","uniqueKey":"score.garbage_words","typeLabel":"integer"},"garbage_words_score":{"type":"integer","uniqueKey":"score.garbage_words_score","typeLabel":"integer"},"programmatic_browsing":{"type":"integer","uniqueKey":"score.programmatic_browsing","typeLabel":"integer"},"teleporting_mouse":{"type":"integer","uniqueKey":"score.teleporting_mouse","typeLabel":"integer"},"unnatural_scrolling":{"type":"integer","uniqueKey":"score.unnatural_scrolling","typeLabel":"integer"}},"uniqueKey":"score","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"example":{"model":{"rw_context_risk_score":12,"rw_context_risk_level":"low","rw_context_description":"Yes, contextually correct","rw_llm_risk_score":1,"rw_llm_risk_level":"low","rw_llm_description":"LLM not detected"},"input":{"sy_nr":"test","q_id":"3333","question":"How satisfied are you with the current product features?","sn_ud":"T_test","text":"I am very satisfied because the features meet all my needs.","similarity_text_length":"50"},"score":{"garbage_words_score":0,"pasted_response_score":0,"typed_response_time":0,"page_view_time":0,"profanity_check_score":0,"composite_score":0,"garbage_words":0,"language_detected_score":0.01,"engagement_score":1,"similarity_text":1,"profanity_check":0,"language_detected":"English","pasted_response":0}},"examples":{"Example":{"title":"Example","value":{"model":{"rw_context_risk_score":12,"rw_context_risk_level":"low","rw_context_description":"Yes, contextually correct","rw_llm_risk_score":1,"rw_llm_risk_level":"low","rw_llm_description":"LLM not detected"},"input":{"sy_nr":"test","q_id":"3333","question":"How satisfied are you with the current product features?","sn_ud":"T_test","text":"I am very satisfied because the features meet all my needs.","similarity_text_length":"50"},"score":{"garbage_words_score":0,"pasted_response_score":0,"typed_response_time":0,"page_view_time":0,"profanity_check_score":0,"composite_score":0,"garbage_words":0,"language_detected_score":0.01,"engagement_score":1,"similarity_text":1,"profanity_check":0,"language_detected":"English","pasted_response":0}}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{},"servers":{"0adf279b-9ba8-4c82-b3c0-c666a6d48ebb":{"url":"https://prod.rtymgt.com","description":"Production"},"8516ca4d-b84c-4fff-8bc8-f7e8717604d0":{"url":"https://staging.rtymgt.com","description":"Staging"}}},"originalFileLocation":"public/research-defender-openapi.json"},"subdomain":"repdata","siteName":"Rep Data Documentation","title":"REVIEW (POST) - Rep Data Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-19T16:04:10.141Z","originalFileLocation":"research-defender/endpoints/post-api-v4-respondents-review-publishable_key.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"application-name\" content=\"Rep Data Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/repdata/awZMcsoe6C3Qodff/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/repdata/awZMcsoe6C3Qodff/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/repdata/awZMcsoe6C3Qodff/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/repdata/awZMcsoe6C3Qodff/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/repdata/awZMcsoe6C3Qodff/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/repdata/awZMcsoe6C3Qodff/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/repdata/awZMcsoe6C3Qodff/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/repdata/awZMcsoe6C3Qodff/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/repdata/awZMcsoe6C3Qodff/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"REVIEW (POST) - Rep Data Documentation\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Rep Data Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.repdata.com/research-defender/endpoints/post-api-v4-respondents-review-publishable_key\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://repdata.mintlify.site/_mintlify/api/og/v2?division=REVIEW\u0026amp;title=REVIEW+%28POST%29\u0026amp;theme=fc0818212b70ef127e987125\u0026amp;signature=0a6669ccec85a7b13fe44c16f11e018e88833c9854923e1dca9e0806e3847dbb\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"REVIEW (POST) - Rep Data Documentation\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://repdata.mintlify.site/_mintlify/api/og/v2?division=REVIEW\u0026amp;title=REVIEW+%28POST%29\u0026amp;theme=fc0818212b70ef127e987125\u0026amp;signature=0a6669ccec85a7b13fe44c16f11e018e88833c9854923e1dca9e0806e3847dbb\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/repdata/awZMcsoe6C3Qodff/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Rep Data Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#9B31CF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.repdata.com/research-defender/endpoints/post-api-v4-respondents-review-publishable_key\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/research-defender/endpoints/post-api-v4-respondents-review-publishable_key.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.repdata.com/#organization\",\"name\":\"Rep Data Documentation\",\"url\":\"https://docs.repdata.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/repdata/oPuIFCbtr5tUZERq/public/rep-data-logo-inline-light.png?fit=max\u0026auto=format\u0026n=oPuIFCbtr5tUZERq\u0026q=85\u0026s=82f5eeb30e8795397f8c2368e92e9bc1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.repdata.com#website\",\"name\":\"Rep Data Documentation\",\"url\":\"https://docs.repdata.com\",\"publisher\":{\"@id\":\"https://docs.repdata.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.repdata.com/research-defender/endpoints/post-api-v4-respondents-review-publishable_key#webpage\",\"url\":\"https://docs.repdata.com/research-defender/endpoints/post-api-v4-respondents-review-publishable_key\",\"name\":\"REVIEW (POST)\",\"dateModified\":\"2026-10-19T16:04:10.141Z\",\"isPartOf\":{\"@id\":\"https://docs.repdata.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.repdata.com/research-defender/endpoints/post-api-v4-respondents-review-publishable_key#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.repdata.com/research-defender/endpoints/post-api-v4-respondents-review-publishable_key#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Rep Data Documentation\",\"item\":\"https://docs.repdata.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"REVIEW (POST)\",\"item\":\"https://docs.repdata.com/research-defender/endpoints/post-api-v4-respondents-review-publishable_key\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.repdata.com/research-defender/endpoints/post-api-v4-respondents-review-publishable_key#apireference\",\"headline\":\"REVIEW (POST)\",\"name\":\"REVIEW (POST)\",\"url\":\"https://docs.repdata.com/research-defender/endpoints/post-api-v4-respondents-review-publishable_key\",\"mainEntityOfPage\":{\"@id\":\"https://docs.repdata.com/research-defender/endpoints/post-api-v4-respondents-review-publishable_key#webpage\"},\"dateModified\":\"2026-10-19T16:04:10.141Z\",\"publisher\":{\"@id\":\"https://docs.repdata.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.repdata.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Rep Data Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Rep Data Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/research-defender/endpoints/post-api-v4-respondents-review-publishable_key.md","siteName":"Rep Data Documentation","nav":{"global":null,"products":[{"product":"Home","icon":"house","description":"Rep Data documentation hub","pages":[{"title":"Home","href":""}]},{"product":"Research Desk","icon":"desktop","description":"Self-serve sampling platform","pages":[{"title":"Research Desk","href":"/research-desk"}]},{"product":"Research Desk Demand API","icon":"code","description":"Create projects, surveys, and manage respondents","pages":[{"title":"Research Desk Demand API","href":"/demand"}]},{"product":"Research Desk MCP","icon":"plug","description":"Connect an AI assistant to Research Desk","pages":[{"title":"Research Desk MCP","href":"/mcp/getting-started"}]},{"product":"Research Desk Supply API","icon":"server","description":"Survey streams, redirects, and reconciliation","pages":[{"title":"Research Desk Supply API","href":"/supply"}]},{"product":"SightX","icon":"chart-pie","description":"User guides and knowledge base for the SightX application.","pages":[{"title":"SightX","href":"/sightx/knowledge-base"}]},{"product":"SightX API","icon":"chart-mixed","description":"Watch this space for new documentation","pages":[{"title":"SightX API","href":"/coming-soon/sightx-api"}]},{"product":"Research Defender","icon":"shield-halved","description":"Fraud detection and respondent quality scoring","tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":"/research-defender"}]},{"tab":"Integration Guide","pages":[{"title":"Integration Guide","href":"/research-defender/guides/search/01-overview"}]},{"tab":"API Reference","groups":[{"group":"LOOKUP","pages":[{"title":"FAILURE_REASON","openapi":"GET /api/v2/respondents/reason_codes/","href":"/research-defender/endpoints/get-api-v2-respondents-reason_codes"},{"title":"DESTINATION_PLATFORM","openapi":"GET /api/v3/respondents/destination_platforms/{private_key}","href":"/research-defender/endpoints/get-api-v3-respondents-destination_platforms-private_key"},{"title":"DUPLICATE_DETAILS","openapi":"GET /api/v2/respondents/dupe_details/","href":"/research-defender/endpoints/get-api-v2-respondents-dupe_details"}]},{"group":"SEARCH","pages":[{"title":"SEARCH (POST)","openapi":"POST /api/v4/respondents/search/{publishable_key}","href":"/research-defender/endpoints/post-api-v4-respondents-search-publishable_key"},{"title":"SEARCH (GET)","openapi":"GET /api/v4/respondents/search/{publishable_key}","description":"","href":"/research-defender/endpoints/get-api-v4-respondents-search-publishable_key"}]},{"group":"REVIEW","pages":[{"title":"REVIEW (POST)","openapi":"POST /api/v4/respondents/review/{publishable_key}","href":"/research-defender/endpoints/post-api-v4-respondents-review-publishable_key"},{"title":"REVIEW (GET)","openapi":"GET /api/v4/respondents/review/{publishable_key}","description":"","href":"/research-defender/endpoints/get-api-v4-respondents-review-publishable_key"}]},{"group":"ACTIVITY","pages":[{"title":"ACTIVITY (POST)","openapi":"POST /activity","href":"/research-defender/endpoints/post-activity"},{"title":"ACTIVITY (GET)","openapi":"GET /activity","href":"/research-defender/endpoints/get-activity"}]},{"group":"PREDUPE","pages":[{"title":"PREDUPE (POST)","openapi":"POST /predupes","href":"/research-defender/endpoints/post-predupes"},{"title":"PREDUPE (GET)","openapi":"GET /predupes","href":"/research-defender/endpoints/get-predupes"}]},{"group":"ACTIVATION","pages":[{"title":"ACTIVATION","openapi":"POST /activation","href":"/research-defender/endpoints/post-activation"}]},{"group":"GETTOKEN","pages":[{"title":"GETTOKEN","openapi":"GET /api/v3/respondents/get_token/{publishable_key}","href":"/research-defender/endpoints/get-api-v3-respondents-get_token-publishable_key"},{"title":"GETTOKEN (new stack)","openapi":"GET /token","href":"/research-defender/endpoints/get-token"}]},{"group":"Changelog","pages":[{"title":"API Changelog","href":"/research-defender/changelog/api-changelog"}]}]}]},{"product":"ReDem Application \u0026 API","icon":"broom-wide","description":"Data quality analytics and cleaning for survey data","pages":[{"title":"ReDem Application \u0026 API","href":"/redem/welcome"}]},{"product":"SightX Application \u0026 API","hidden":true,"pages":[{"title":"SightX Application \u0026 API","href":"/sightx"}]},{"product":"SightX Application","hidden":true,"pages":[{"title":"SightX Application","href":"/sightx/knowledge-base"}]}]},"basePath":"","title":"REVIEW (POST) - Rep Data Documentation","deploymentId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","buildId":"dpl_XLevHnGPjzxq9mbREha5Faad63Sp","dynamics":["c2aa737661","b0f84f53ff","a9bb46feb3","2b790eda92"],"chunks":["OpenApiReferenceProvider-BD9G1WMi.js","snippetPresets-Bcqr8I2u.js","utils-BrYn4XiY.js","style-to-object-BY3JEAdk.js","utils-CYrCnchl.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-CNFO66BS.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BneVo7uA.js","_Uint8Array-n4RvRzp3.js","isObject-FP1Yky1u.js","Page-DBPN_x5x.js","api-description-markdown-1J-AA_Kv.js","DynamicMarkdown-Dgh_e4rL.js","CodeSnippet-grFP6YU_.js","use-playground-group-access-BBqHUxQK.js","SectionHeading-BP6Np9Uh.js","ApiExamples-C1YMsTjy.js","usePlaygroundInputsStore-DayW4kZ9.js","shallow-DDCzdKmR.js","isEqual-CBVoazy8.js","CodeSnippets-CWandYY5.js","MethodPill-4k_Ty_Xv.js","getPastedJson-CWUNKLcr.js","Check2Icon-Cs4FQb2J.js","axios-CsQoIw0U.js","Markdown-CR8c2fXT.js","AssistantPageLink-BBR7elHb.js","dist-DjFwSv8l.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}