A single field/block response in a survey submission. Received in the onFeedback callback or via webhooks.
onFeedback
// Text input response{ blockId: 'block-1', value: 'Great product!', _t: 'text' } Copy
// Text input response{ blockId: 'block-1', value: 'Great product!', _t: 'text' }
// NPS rating response{ blockId: 'block-2', value: 9, _t: 'nps', meta: { range: [0, 10] } } Copy
// NPS rating response{ blockId: 'block-2', value: 9, _t: 'nps', meta: { range: [0, 10] } }
Block type discriminator.
Unique identifier for this block within the survey.
Optional
Optional human-readable label for this field.
Additional metadata about the response.
The user's response value.
A single field/block response in a survey submission. Received in the
onFeedbackcallback or via webhooks.Example
Example