List feedback records with filters
Lists feedback records with optional filters and pagination
Query Parameters
Tenant ID (required for isolation). NULL bytes not allowed.
Omit for the first page. For the next page, use the exact value from the previous response's next_cursor. Opaque (base64-encoded); keyset pagination.
Filter by field group ID (for ranking/matrix questions). NULL bytes not allowed.
Filter by field ID. NULL bytes not allowed.
Number of results to return (max 1000)
Filter by collected_at >= since (ISO 8601 format). Must be between 1970-01-01 and 2080-12-31.
Filter by source ID (NULL bytes not allowed)
Filter by source type. NULL bytes not allowed.
Filter by submission ID to group records belonging to one logical submission. NULL bytes not allowed.
Filter by collected_at <= until (ISO 8601 format). Must be between 1970-01-01 and 2080-12-31.
Filter by user identifier. NULL bytes not allowed.
Returns
Limit used in query
Opaque cursor for the next page (keyset paging). Present only when there may be more results. Use as the cursor query param for the next page.
List feedback records with filters
curl http://localhost:8080/v1/feedback-records \
-H "Authorization: Bearer $HUB_API_KEY"{
"data": [
{
"id": "018e1234-5678-9abc-def0-123456789abc",
"collected_at": "2024-01-15T10:30:00Z",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"source_type": "survey",
"field_id": "q1",
"field_type": "rating",
"field_label": "How satisfied are you?",
"value_number": 9,
"source_id": "survey-123",
"source_name": "Q1 NPS Survey",
"user_identifier": "user-abc-123",
"tenant_id": "org-123",
"submission_id": "550e8400-e29b-41d4-a716-446655440000"
}
],
"limit": 100
}{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "Validation failed",
"instance": "https://hub.formbricks.com/v1/feedback-records",
"errors": [
{
"location": "body.field_id",
"message": "Field is required",
"value": null
}
]
}Returns Examples
{
"data": [
{
"id": "018e1234-5678-9abc-def0-123456789abc",
"collected_at": "2024-01-15T10:30:00Z",
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z",
"source_type": "survey",
"field_id": "q1",
"field_type": "rating",
"field_label": "How satisfied are you?",
"value_number": 9,
"source_id": "survey-123",
"source_name": "Q1 NPS Survey",
"user_identifier": "user-abc-123",
"tenant_id": "org-123",
"submission_id": "550e8400-e29b-41d4-a716-446655440000"
}
],
"limit": 100
}{
"type": "about:blank",
"title": "Bad Request",
"status": 400,
"detail": "Validation failed",
"instance": "https://hub.formbricks.com/v1/feedback-records",
"errors": [
{
"location": "body.field_id",
"message": "Field is required",
"value": null
}
]
}