v1

latestSwagger 2.02026-08-06250450289.0 KB
response

Create a response

post/v3/responses

Request body

survey_idnumber required

ID of the survey

contact_idnumber

ID of the contact

channel_idnumber

ID of the channel

variablesProperties
trigger_workflowboolean

Should this response trigger workflow

Example request

{
  "survey_id": 1,
  "contact_id": 2,
  "channel_id": 3,
  "meta_data": {
    "os": "macOS",
    "browser": "Chrome",
    "time_zone": "Asia/Calcutta",
    "browser_language": "en-GB",
    "date_time": "2022-11-02T11:28:55.642Z",
    "ip": "127.0.0.1",
    "device_type": "COMPUTER",
    "language": "English"
  },
  "answers": [
    {
      "question_id": 1,
      "parent_question_id": 1
    }
  ]
}

Response

Successful