Update a survey
Changed onUpdate a survey.
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/surveys/{id}
- Authnone declared
Path parameters
The ID of the survey to update.
Request body
Example request
{
"data": {
"type": "surveys",
"attributes": {
"title": "Client Satisfaction Q1 2026"
},
"relationships": {
"project": {
"data": {
"type": "projects",
"id": "6899"
}
}
}
}
}Response
Single survey
Example response
{
"data": {
"id": "7",
"type": "surveys",
"attributes": {
"title": "Client Satisfaction Q1 2026",
"status": "published",
"created_at": "2026-01-15T10:00:00.000+00:00"
},
"relationships": {
"project": {
"data": {
"type": "projects",
"id": "6899"
}
}
}
},
"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
- info
added the non-success response with the status
- warning
- warning
deleted the
headerrequest parameterX-Organization-Id
This list may be incomplete.
- warning