Skip to main content
POST
REVIEW (POST)
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
input
object
score
object