Survey Fields

Creates a survey field

Changed on

Create a new survey field.

post/api/v2/survey_fields

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_fields
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "surveys",
    "attributes": {
      "title": "Client Satisfaction Q1 2026"
    },
    "relationships": {
      "project": {
        "data": {
          "type": "projects",
          "id": "6899"
        }
      }
    }
  }
}

Response

Single survey field

Example response

{
  "data": {
    "id": "45",
    "type": "survey_fields",
    "attributes": {
      "label": "How satisfied are you with the project outcome?",
      "field_type": "rating",
      "required": true,
      "position": 1
    },
    "relationships": {
      "survey": {
        "data": {
          "type": "surveys",
          "id": "7"
        }
      }
    }
  },
  "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

    • breaking

      the // response's property type changed from integer to no type for status

    • breaking

      the // response's property type changed from string to no type, and format from date-time to no format for status

    • breaking

      the // response's property type changed from integer to no type for status

    • breaking

      the // response's property type changed from boolean to no type for status

    • warning

      deleted the header request parameter X-Organization-Id

    This list may be incomplete.