API Reference: Data Views
List Data Views, retrieve their configuration, and page through the records they expose.
Overview
Data Views are saved configurations that define how a collection's records are presented — which fields to display, how to filter, sort, and group, and which layout to render (LIST, TABLE, CALENDAR, MAP, DETAIL, PIVOT, CHART, or STATS). The standard-tier endpoints on this page list Data Views, read a Data View's definition, and page through the records the Data View exposes. Data View authoring (creating Data Views, managing display/filter fields, share tokens) is a privileged-tier surface — see Admin & Authoring Operations below.
Key Concepts
- Saved configuration — A Data View stores which fields to show plus filters and sort order; the definition is returned under
configwhen you fetch a single Data View. - Underlying collection — Every Data View belongs to one Data Collection (
dataCollectionSimplyId), and reading a Data View requires read permission on that collection. - Data View types —
enumDataViewTypeIdis one ofLIST,DETAIL,CALENDAR,TABLE,MAP,PIVOT,CHART,STATS. - External visibility —
isPublishedindicates the Data View is externally visible and can be embedded on third-party websites with a public access token.
List Data Views
Retrieve the Data Views whose underlying collections your API key can read. Each item includes id, name, description, dataCollectionSimplyId, enumDataViewTypeId, and isPublished.
TypeScript SDK
const views = await s360.dataViews.list();
for (const view of views.data) {
console.log(`${view.id}: ${JSON.stringify(view.name)} [${view.enumDataViewTypeId}] -> ${view.dataCollectionSimplyId}`);
}
cURL
curl -s "https://api.simply360.app/v1/data-views" \
-H "Authorization: Bearer $S360_API_KEY"
Get a Data View
Retrieve a single Data View. The response adds a config object with the saved columns, filters, and sortOrder.
TypeScript SDK
const view = await s360.dataViews.get('VIEW-1234-ABCD');
console.log(`Name: ${JSON.stringify(view.data.name)}`);
console.log(`Type: ${view.data.enumDataViewTypeId}`);
console.log(`Collection: ${view.data.dataCollectionSimplyId}`);
cURL
curl -s "https://api.simply360.app/v1/data-views/VIEW-1234-ABCD" \
-H "Authorization: Bearer $S360_API_KEY"
List a Data View's Records
Page through the records the Data View exposes. Each row is a record summary — id, dataCollectionSimplyId, name, isArchived, createdAt, updatedAt — ordered by the Data View's saved sort, or newest first when no sort is configured, with limit (1–100, default 25) and offset pagination.
API keys, OAuth tokens, and session tokens need both schema:read and records:read scopes for this endpoint, plus read permission on the Data View's Collection. A signed-in Team User uses their Team data permissions. The protected Data View access grant governs protected website and embed entry; it does not replace Collection read permission for this authenticated API.
The SDK returns DataViewRecordSummary rows: id is the record's public Simply ID, and dataRecordSimplyId and custom field values are not present. It applies the Data View's persisted enforced filter and default sort before pagination. To retrieve field values, use the Data Records list or search endpoints with your own authorized Collection and field scope.
TypeScript SDK
const records = await s360.dataViews.getRecords('VIEW-1234-ABCD', {
limit: 50,
offset: 0,
});
console.log(`Total: ${records.meta.pagination.total}`);
for (const record of records.data) {
console.log(record.id, record.name);
}
cURL
curl -s "https://api.simply360.app/v1/data-views/VIEW-1234-ABCD/records?limit=50" \
-H "Authorization: Bearer $S360_API_KEY"
Public / Embedded Data Views
Data Views with External Visibility enabled can be embedded on third-party websites using the Simply360 embed library plus a public access token. Two token types exist: EMBED (purpose DATAVIEW_EMBED, used by the embed library) and ICS_FEED (calendar-feed URLs). Tokens authorize anonymous traffic to the published Data View without exposing your API key.
The authenticated GET /v1/data-views/{dataViewSimplyId}/records operation applies the Data View's persisted enforcedDataFilterState, configured default sort, collection membership, and the caller's ordinary record-read scope before pagination and totals are calculated. Filter-field links and saved Team UI date defaults describe browser controls; they are not additional server-enforced predicates. This operation accepts pagination parameters, so caller-selected browser filters are not part of its request. The response continues to use public SimplyIDs and the existing { data, meta.pagination } envelope. Invalid persisted filter or sort configuration fails closed with 422 INVALID_VIEW_CONFIGURATION.
Manage tokens in the dashboard under the Data View's Embedding tab, or through the privileged token endpoints (POST / GET / DELETE /v1/data-views/{dataViewSimplyId}/public-access-tokens/{tokenType}). See Embedding Data Views, Wizards, and the chat assistant for the full embed walkthrough.
Requiring a bound-record filter on public reads
A Data View that shows the child records of one parent record at a time (for example, the entries of one event, shown on that event's page) can set viewSettings.publicReadRequiredFilterFieldSimplyIds to a list of its filter-field Simply IDs. Every anonymous or constituent read of the Data View then returns no records unless its filter state contains an EQUALS condition on one of those fields whose value is one record's Simply ID (a string, never a number), reached through AND groups only. Lists, counts, and totals come back empty rather than failing, and the Data View's filter controls never list options for those fields. A Dynamic Page list block's page-record filter binding satisfies it; a single-record read, such as a goal meter's record source, does not. Reads by Team Users (internal tokens, Studio preview, and the authenticated /v1 record operations) are unaffected. Set it with POST /v1/data-views or the admin-detail update; omit it, or send null or [], to leave public reads as they are. The legacy /website/dataRecords route refuses such a Data View with 403 DATAVIEW_PUBLIC_READ_FILTER_REQUIRED.
{ "viewSettings": { "publicReadRequiredFilterFieldSimplyIds": ["FLDS-PRNT-LINK"] } }
Admin & Authoring Operations
Data View Studio authoring is exposed as privileged-tier endpoints (admin feature permissions required; not available to OAuth-scoped tokens):
| Endpoint | Description |
|---|---|
POST /v1/data-views / DELETE /v1/data-views/{dataViewSimplyId} | Create or delete an admin Data View. |
GET / PUT /v1/data-views/{dataViewSimplyId}/admin-detail | Read or update the full authoring detail record. |
GET /v1/data-views/admin-list | Audience- and permission-filtered Data View Studio authoring list. Pass dataCollectionSimplyId to restrict the list to one readable Collection before pagination. |
GET /v1/data-views/by-collection/{dataCollectionSimplyId} | Collection-readable picker summaries only: public Data View ID, name, type, visibility flags, and Collection identity. Saved authoring configuration is never returned. |
.../display-field-links, .../filter-field-links, .../calendar-date-info-field-links | Add, update, delete, and reorder the Data View's display, filter, and calendar date field links. |
GET /v1/data-views/{dataViewSimplyId}/eligible-fields | List fields eligible for the Data View's display links. |
GET /v1/data-views/{dataViewSimplyId}/share-readiness | Share-readiness checks for Data View Studio. |
GET /v1/data-views/internal-name-validation | Validate an internal name within the selected team. |
Usage Notes
- Data Views respect data permissions: listing or reading a Data View requires read access to its underlying collection, and callers without full data access only see Data Views for collections they can read.
- Direct legacy
/dataviewconfiguration routes require sysadmin, Team Admin, or full-data access. New first-party authoring clients use the audience- and field-guarded/v1routes. - The collection picker and admin list use
pageandpageSize. Execution-record endpoints uselimitandoffset. Totals are inmeta.pagination. See Pagination, Sorting & Field Selection. GET /v1/data-views/{dataViewSimplyId}/internal-token(standard tier) returns the internal token first-party surfaces use to render a Data View. A first-party caller with Action-view permission may pass a JSON-encodedactionTagAttributionfilter; the server validates and binds it into that short-lived token so execution cannot replace it. Anonymous embed and ICS tokens do not accept this filter.- Data Views reference their fields and collection by
simplyId, so Data View configurations are portable across environments.