Create a survey response
Changed onCreate a new survey response.
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/survey_responses
- Authnone declared
Request body
Example request
{
"data": {
"type": "survey_responses",
"attributes": {
"answers": {
"45": 5
}
},
"relationships": {
"survey": {
"data": {
"type": "surveys",
"id": "7"
}
}
}
}
}Response
Single survey response
Example response
{
"data": {
"id": "67",
"type": "survey_responses",
"attributes": {
"submitted_at": "2026-03-15T10:00:00.000+00:00",
"answers": {
"45": 5
}
},
"relationships": {
"survey": {
"data": {
"type": "surveys",
"id": "7"
}
},
"person": {
"data": {
"type": "people",
"id": "12"
}
}
}
},
"included": []
}Changes
- warning
added the new
bad_decimal_formatenum value to the//response property for the response status - warning
added the new
non_finite_numberenum value to the//response property for the response status - warning
added the new
null_bytes_in_paramsenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- warning
deleted the
headerrequest parameterX-Organization-Id
This list may be incomplete.
- warning