---
title: Answer types
description: Survicate supports numerous question types.
source_url:
  html: 'https://developers.survicate.com/webhooks/answer-types/'
  md: 'https://developers.survicate.com/webhooks/answer-types.md'
---
# Answer types

Survicate supports numerous question types.

### Choice

This is an answer that will be sent to following question types:

* Single choice
* Net Promoter Score
* Rating
* Smiley scale
* Dropdown

```json title="For single choice, rating, smiley scale, and dropdown"
"choice": {
        "id": 201139,
        "body": "Companies or organizations (B2B)",
        "comment": "mostly SMBs"
      }
```

```json title="For NPS"
"choice": {
        "id": 9,
        "body": "promoter",
        "comment": null
      }
```

Attributes:

* `id` is answer id in Survicate
* `body` contains answer presented as a string
* `comment` is additional comment provided by respondent

Attributes for NPS:

* `id` is answer value
* `body` contains answer presented as a string

### Fields

Fields are answers to contact form added to your survey.

```json
"fields": {
      "firstName":"Alan",
      "lastName":"Fresco",
      "email":"alan@example.com",
      "organization":"Example Corp",
      "department":"Product",
      "jobTitle":"Product Manager",
      "phone":"+48 123456789",
      "comment":"Comment",
      "addressOne":"Example Street",
      "addressTwo":"00000 City",
      "city":"Nashville",
      "state":"Tennessee",
      "annualRevenue":"0",
      "employees":"50",
      "industry":"IT"
    }
```

`fields` attribute contains all answers collected through fields in contact form.

### Choices

Choices are answers to multiple answer question - checkboxes.

```json
"choices": [
          {
            "id": 1021,
            "body": "IT/Product",
            "comment": "most important for our company"
          },
          {
            "id": 1022,
            "body": "Customer support",
            "comment": null
          },
          {
            "id": 1023,
            "body": "Marketing",
            "comment": null
          }
        ]
```

Choices are presented as an array of responses.
`body` contains answer presented as a string.
`comment` is additional comment provided by respondent

### Text

Question type: Text question

```json
"text": "Awesome platform and great support!"
```

`text` contains answer presented as a string.

### Date

Question type: Date

```json
"date": "2019-05-22"
```

`date` contains answer presented as a string.

### Matrix

Question type: Matrix

```json
"matrix": [
    {
      "id": 43393,
      "body": "Ease of use",
      "value": "Significant"
    },
    {
      "id": 43394,
      "body": "Price",
      "value": "Neutral"
    }
]
```

Answers to a matrix question are available in a form of an array of responses.
`body` contains the content of each matrix question row, described as `answer choice` in the survey editor.
`value` is the answer to the particular matrix question row selected by the respondent. Values possible for a respondent to select are defined as `Columns` in the survey editor.

### Ranking

Question type: Ranking

```json
"ranking": [
    {
        "id": 3234397,
        "body": "Ease of use",
        "rankingPosition": 1
    },
    {
        "id": 3234396,
        "body": "Customer service",
        "rankingPosition": 2
    },
    {
        "id": 3234399,
        "body": "Price",
        "rankingPosition": 3
    }
]
```

An answer to a ranking question is available as an array.
`body` contains the `Answer choice` content.
`value` is the position of the particular 'answer choice', set by the respondent, in the ranking of all other answer choices.
