CREATE

Create Survey Response

Creates a new response for the specified survey, optionally pre-populating one or more question answers.

Endpoint

PUT v5/survey/{survey_id}/surveyresponse

Requires authentication

Path Parameters

The survey for which the response will be created.

survey_id
string
required
The ID of the survey to create a response for.

Query Parameters

status
string
The status to set on the response. Accepted values: Complete, Partial, Disqualified.
data
object
required
Keyed object of question answers to populate. Each key is either the question's numeric ID or its shortname — both are interchangeable. At least one data parameter is required.

Response

Returns the result of the creation request and the full response object.

result_ok
boolean
Whether the request succeeded.
data
object
The newly created survey response object.

Examples

Request (cURL)
curl -X PUT "https://api.alchemer.com/v5/survey/12345/surveyresponse/?api_token=YOUR_API_TOKEN&api_token_secret=YOUR_API_TOKEN_SECRET&data[2][value]=John&data[3][value]=Smith"
Response
{
  "result_ok": true,
  "data": {
    "id": "94",
    "contact_id": "",
    "status": "Complete",
    "is_test_data": "0",
    "date_submitted": "2026-03-25 16:53:09 EDT",
    "date_updated": "2026-03-25 16:53:09",
    "session_id": "1774471989_69c44b350d8135.54354437",
    "language": "English",
    "date_started": "2026-03-25 16:53:09 EDT",
    "link_id": null,
    "url_variables": [],
    "ip_address": "204.132.224.66",
    "referer": null,
    "user_agent": "SurveyGizmo REST API",
    "response_time": null,
    "data_quality": [],
    "longitude": "-105.01560211182",
    "latitude": "39.907299041748",
    "country": "United States",
    "city": "Denver",
    "region": "CO",
    "postal": "80234",
    "dma": "751",
    "survey_data": {
      "2": {
        "id": 2,
        "type": "TEXTBOX",
        "question": "First Name",
        "section_id": 1,
        "answer": "John",
        "shown": true
      },
      "3": {
        "id": 3,
        "type": "TEXTBOX",
        "question": "Last Name",
        "section_id": 1,
        "answer": "Smith",
        "shown": false
      }
    }
  }
}