Recalculate Respondents
curl --request POST \
--url https://api.redem.io/v3/recalculateRespondents \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"surveyName": "Customer-Satisfaction-2025",
"respondentIds": [
"R123",
"R124"
],
"selectedChecks": {
"CHS": true,
"OES": true
},
"oesAllowedLanguages": [
"en",
"de"
],
"activateDuplicateDetection": true
}
'import requests
url = "https://api.redem.io/v3/recalculateRespondents"
payload = {
"surveyName": "Customer-Satisfaction-2025",
"respondentIds": ["R123", "R124"],
"selectedChecks": {
"CHS": True,
"OES": True
},
"oesAllowedLanguages": ["en", "de"],
"activateDuplicateDetection": True
}
headers = {
"api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
surveyName: 'Customer-Satisfaction-2025',
respondentIds: ['R123', 'R124'],
selectedChecks: {CHS: true, OES: true},
oesAllowedLanguages: ['en', 'de'],
activateDuplicateDetection: true
})
};
fetch('https://api.redem.io/v3/recalculateRespondents', 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.redem.io/v3/recalculateRespondents",
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([
'surveyName' => 'Customer-Satisfaction-2025',
'respondentIds' => [
'R123',
'R124'
],
'selectedChecks' => [
'CHS' => true,
'OES' => true
],
'oesAllowedLanguages' => [
'en',
'de'
],
'activateDuplicateDetection' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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://api.redem.io/v3/recalculateRespondents"
payload := strings.NewReader("{\n \"surveyName\": \"Customer-Satisfaction-2025\",\n \"respondentIds\": [\n \"R123\",\n \"R124\"\n ],\n \"selectedChecks\": {\n \"CHS\": true,\n \"OES\": true\n },\n \"oesAllowedLanguages\": [\n \"en\",\n \"de\"\n ],\n \"activateDuplicateDetection\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("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://api.redem.io/v3/recalculateRespondents")
.header("api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"surveyName\": \"Customer-Satisfaction-2025\",\n \"respondentIds\": [\n \"R123\",\n \"R124\"\n ],\n \"selectedChecks\": {\n \"CHS\": true,\n \"OES\": true\n },\n \"oesAllowedLanguages\": [\n \"en\",\n \"de\"\n ],\n \"activateDuplicateDetection\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.redem.io/v3/recalculateRespondents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"surveyName\": \"Customer-Satisfaction-2025\",\n \"respondentIds\": [\n \"R123\",\n \"R124\"\n ],\n \"selectedChecks\": {\n \"CHS\": true,\n \"OES\": true\n },\n \"oesAllowedLanguages\": [\n \"en\",\n \"de\"\n ],\n \"activateDuplicateDetection\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Recalculation queued",
"results": {
"surveyName": "Customer-Satisfaction-2025",
"totalRespondents": 2,
"estimatedCredits": 10
}
}Endpoints
Recalculate Respondents
This endpoint allows you to recalculate specific quality checks for a list of respondents within a given survey. It is useful for re-running checks with updated parameters or if they were skipped previously. Note that this operation requires the survey to be created with API version v3 and after the feature release date (2025-12-02).
POST
/
v3
/
recalculateRespondents
Recalculate Respondents
curl --request POST \
--url https://api.redem.io/v3/recalculateRespondents \
--header 'Content-Type: application/json' \
--header 'api-key: <api-key>' \
--data '
{
"surveyName": "Customer-Satisfaction-2025",
"respondentIds": [
"R123",
"R124"
],
"selectedChecks": {
"CHS": true,
"OES": true
},
"oesAllowedLanguages": [
"en",
"de"
],
"activateDuplicateDetection": true
}
'import requests
url = "https://api.redem.io/v3/recalculateRespondents"
payload = {
"surveyName": "Customer-Satisfaction-2025",
"respondentIds": ["R123", "R124"],
"selectedChecks": {
"CHS": True,
"OES": True
},
"oesAllowedLanguages": ["en", "de"],
"activateDuplicateDetection": True
}
headers = {
"api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
surveyName: 'Customer-Satisfaction-2025',
respondentIds: ['R123', 'R124'],
selectedChecks: {CHS: true, OES: true},
oesAllowedLanguages: ['en', 'de'],
activateDuplicateDetection: true
})
};
fetch('https://api.redem.io/v3/recalculateRespondents', 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.redem.io/v3/recalculateRespondents",
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([
'surveyName' => 'Customer-Satisfaction-2025',
'respondentIds' => [
'R123',
'R124'
],
'selectedChecks' => [
'CHS' => true,
'OES' => true
],
'oesAllowedLanguages' => [
'en',
'de'
],
'activateDuplicateDetection' => true
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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://api.redem.io/v3/recalculateRespondents"
payload := strings.NewReader("{\n \"surveyName\": \"Customer-Satisfaction-2025\",\n \"respondentIds\": [\n \"R123\",\n \"R124\"\n ],\n \"selectedChecks\": {\n \"CHS\": true,\n \"OES\": true\n },\n \"oesAllowedLanguages\": [\n \"en\",\n \"de\"\n ],\n \"activateDuplicateDetection\": true\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("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://api.redem.io/v3/recalculateRespondents")
.header("api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"surveyName\": \"Customer-Satisfaction-2025\",\n \"respondentIds\": [\n \"R123\",\n \"R124\"\n ],\n \"selectedChecks\": {\n \"CHS\": true,\n \"OES\": true\n },\n \"oesAllowedLanguages\": [\n \"en\",\n \"de\"\n ],\n \"activateDuplicateDetection\": true\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.redem.io/v3/recalculateRespondents")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"surveyName\": \"Customer-Satisfaction-2025\",\n \"respondentIds\": [\n \"R123\",\n \"R124\"\n ],\n \"selectedChecks\": {\n \"CHS\": true,\n \"OES\": true\n },\n \"oesAllowedLanguages\": [\n \"en\",\n \"de\"\n ],\n \"activateDuplicateDetection\": true\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"message": "Recalculation queued",
"results": {
"surveyName": "Customer-Satisfaction-2025",
"totalRespondents": 2,
"estimatedCredits": 10
}
}This endpoint allows you to recalculate specific quality checks for a list of respondents within a survey. It is useful when you need to re-evaluate respondents with updated check configurations (e.g., enabling OES or Duplicate Detection) or if previous checks were skipped.
Prerequisites:
- The survey must have been created with API version
v3. - The feature must be enabled and the survey created after the feature release date (2025-12-02).
- You must provide valid
respondentIdsbelonging to the specifiedsurveyName. - The number of
respondentIdsper request is limited to 100.
Body
application/json
Request body for recalculating respondents
🔒 Authentication: This endpoint is only accessible via a PRIVATE API key type

