> For the complete documentation index, see [llms.txt](https://docs.feedbackly.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.feedbackly.com/v.5.0.2/api/questions.md). Agents can also search and read this documentation through its [MCP server](https://docs.feedbackly.com/~gitbook/mcp).

# Questions

Getting questions from Feedbackly

### Question data object

| Field         | Type      | Example                       | Description                                                                           |
| ------------- | --------- | ----------------------------- | ------------------------------------------------------------------------------------- |
| choicesString | string\[] | \["Lamb", "Beef", "Pork"]     | List of available choices in the preferred language (Word/Image)                      |
| title         | string    | "Which meat did you buy?"     | Question title in the preferred language                                              |
| questionType  | string    | "Button"                      | See [question types](https://docs.feedbackly.com/v.5.0.2/api/notes.md#question-types) |
| \_id          | string    | "59b8de18784d2f0001a1590d"    | Question id                                                                           |
| languages     | string\[] | \["en", "es"]                 | List of available languages for the question                                          |
| language      | string    | "en"                          | The language currently selected to display titles etc                                 |
| subtitle?     | string    | "Please select from below"    | A subtitle for the question (if specified)                                            |
| choices       | array     |                               | Array of possible choices                                                             |
| > fieldId     | string    | "1"                           | The id of the field                                                                   |
| > fieldName   | string    | "Beef"                        | The label of the choice                                                               |
| > type?       | string    | "string"                      | Type of field (Contact question type)                                                 |
| > subType?    | string    | "phone"                       | Subtype of the field (Contact question type)                                          |
| > imageUrl?   | string    | "<https://example.com/1.png>" | Image url of the choice (Image question type)                                         |
