Survey Responses

Create a survey response

Changed on

Create a new survey response.

post/api/v2/survey_responses

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/survey_responses
  • Auth
    none 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_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum 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

      deleted the header request parameter X-Organization-Id

    This list may be incomplete.