Skip to content
Get started

Get a feedback record by ID

GET/v1/feedback-records/{id}

Retrieves a single feedback record data point by its UUID

Path ParametersExpand Collapse
id: string

Feedback Record ID (UUID)

formatuuid
ReturnsExpand Collapse
FeedbackRecordData = object { id, collected_at, created_at, 17 more }
id: string

UUIDv7 primary key

formatuuid
collected_at: string

When the feedback was collected

formatdate-time
created_at: string

When this record was created

formatdate-time
field_id: string

Identifier for the question/field

field_type: string

Type of field

source_type: string

Type of feedback source

updated_at: string

When this record was last updated

formatdate-time
field_group_id: optional string

Stable identifier grouping related fields (for ranking, matrix, grid questions)

field_group_label: optional string

Human-readable question text for the group

field_label: optional string

The actual question text

language: optional string

ISO language code. NULL bytes not allowed.

metadata: optional map[unknown]

Additional context

source_id: optional string

Reference to survey/form/ticket ID

source_name: optional string

Human-readable name

tenant_id: optional string

Tenant/organization identifier. NULL bytes not allowed.

user_identifier: optional string

User identifier

value_boolean: optional boolean

Boolean response

value_date: optional string

Date response

formatdate-time
value_number: optional number

Numeric response

formatdouble
value_text: optional string

Text response. NULL bytes not allowed.

Get a feedback record by ID

curl http://localhost:8080/v1/feedback-records/$ID \
    -H "Authorization: Bearer $HUB_API_KEY"
{
  "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
  "collected_at": "2019-12-27T18:11:19.117Z",
  "created_at": "2019-12-27T18:11:19.117Z",
  "field_id": "field_id",
  "field_type": "field_type",
  "source_type": "source_type",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "field_group_id": "field_group_id",
  "field_group_label": "field_group_label",
  "field_label": "field_label",
  "language": "language",
  "metadata": {
    "foo": "bar"
  },
  "source_id": "source_id",
  "source_name": "source_name",
  "tenant_id": "tenant_id",
  "user_identifier": "user_identifier",
  "value_boolean": true,
  "value_date": "2019-12-27T18:11:19.117Z",
  "value_number": 0,
  "value_text": "value_text"
}
Returns Examples
{
  "id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
  "collected_at": "2019-12-27T18:11:19.117Z",
  "created_at": "2019-12-27T18:11:19.117Z",
  "field_id": "field_id",
  "field_type": "field_type",
  "source_type": "source_type",
  "updated_at": "2019-12-27T18:11:19.117Z",
  "field_group_id": "field_group_id",
  "field_group_label": "field_group_label",
  "field_label": "field_label",
  "language": "language",
  "metadata": {
    "foo": "bar"
  },
  "source_id": "source_id",
  "source_name": "source_name",
  "tenant_id": "tenant_id",
  "user_identifier": "user_identifier",
  "value_boolean": true,
  "value_date": "2019-12-27T18:11:19.117Z",
  "value_number": 0,
  "value_text": "value_text"
}