Skip to main content
POST
/
v2
/
restartSurvey
Restart a survey
curl --request POST \
  --url https://api.redem.io/v2/restartSurvey \
  --header 'Content-Type: application/json' \
  --header 'api-key: <api-key>' \
  --data '{
  "surveyName": "Global Vacation Insights 2024"
}'
{
"success": true,
"message": "Survey successfully restarted",
"results": {
"surveyId": "68e4f174adc679a59fe16324",
"surveyName": "Global Vacation Insights 2024",
"status": "RUNNING",
"previousStatus": "STOPPED"
}
}
A restarted survey resumes accepting new respondents, allowing further additions after being previously stopped.

Authorizations

api-key
string
header
required

Body

application/json

Request body for getting all respondents

surveyName
string
required

The name of the survey.

Response

Upon successful processing, the API returns a 200 OK status code along with the expected data.

success
boolean

A variable indicating whether the operation was successful.

message
string

A variable that human-readable message providing additional context or confirmation of the requested action.

results
object

This object serves as a container to hold the results for the requested data, encapsulating all relevant information and outputs in a structured format.

I