Skip to main content
← All documentationContents ↓

API Reference: Data Collections

Manage Data Collections via the API: list collections, retrieve full schemas, and inspect field definitions.

Overview

Data Collections define the schema for your data in Simply360. Each collection has a set of typed fields that determine what its records can store, and may carry an archetype that describes what the collection represents (for example, PERSON archetypes power messaging and conversation features). The read endpoints on this page are standard-tier and work with any API key whose Data Role can read the collection. Schema administration (creating collections, renaming, managing settings) is also available over the API as a privileged, first-party surface — see Administration & Schema Operations below.

Key Concepts

  • Archetype — Optional classification of what a collection represents: PERSON, ORGANIZATION, EVENT, LOCATION, COMMUNICATION, CASE, INVOICE, FINANCIAL_TRANSACTION, TASK, PROJECT, HOUSEHOLD, CAMPAIGN, or PARTICIPATION. Child collections can inherit their parent's archetype; responses expose both archetype and effectiveArchetype.
  • Collection type — The type / enumDataCollectionTypeId value: STANDARD collections own records directly, SMART collections compute membership from filter criteria, and CUSTOM_LIST collections back list-style fields.
  • Fields — Each collection contains typed fields (text, number, date, email, phone, record references, files, images, and more). Every field definition carries a public dataFieldSimplyId.
  • Blueprint provenance — blueprintProvenance identifies every currently installed Blueprint, immutable Blueprint version, and Blueprint ref associated with the visible Collection or field. Its ownershipDisposition is present-tense: BLUEPRINT_MANAGED means the Blueprint may manage the entity identity subject to independent lifecycle safety checks, while TEAM_MANAGED means Blueprint reconciliation and deletion preserve the Team-owned or shared identity. It does not claim whether the entity was originally created or mapped. The array is empty for team-authored schema.
  • Display name — A configurable expression (dataRecordCalculatedNameFormula) that determines how each record is labeled. The computed label is returned as name on Data Record responses.
  • Localized names — name, singularName, pluralName, and field titles may be plain strings or objects keyed by language tag (for example { "en": "People" }).

List Collections

Retrieve all collections readable by the caller's effective Data Role. Each summary includes the stable public dataCollectionSimplyId, names, archetype, type, fieldCount, recordCount, parentDataCollectionSimplyId, and blueprintProvenance. The legacy id property is a deprecated alias of dataCollectionSimplyId. The response always carries exact meta.pagination values; this endpoint currently returns the complete permission-filtered result with offset = 0 and hasMore = false.

TypeScript SDK

const collections = await s360.dataCollections.list();

for (const col of collections.data) {
  console.log(`${col.dataCollectionSimplyId}: ${JSON.stringify(col.name)} (${col.archetype ?? 'no archetype'})`);
}

cURL

curl -s "https://api.simply360.app/v1/data-collections" \
  -H "Authorization: Bearer $S360_API_KEY"

Get a Collection

Retrieve a single collection. The response includes its full readable field schema in the fields array. Nullable properties are returned explicitly: unavailable field pointers, absent descriptions/settings, and permission-incomplete formulas/configuration are null rather than omitted.

TypeScript SDK

const collection = await s360.dataCollections.get('XXXX-XXXX-XXXX');

for (const field of collection.data.fields) {
  console.log(`${field.dataFieldSimplyId}: ${JSON.stringify(field.title)} (${field.dataType})`);
}

cURL

curl -s "https://api.simply360.app/v1/data-collections/XXXX-XXXX-XXXX" \
  -H "Authorization: Bearer $S360_API_KEY"

List Fields

Retrieve only the fields for a specific collection. Each field definition includes dataFieldSimplyId, title, columnName, dataType, isRequired, sortOrder, blueprintProvenance, and the field's config settings object. A readable field's settings can reference other Collections or fields; config is null unless every referenced schema entity is active, belongs to the selected Team, and is readable by the same effective authority.

TypeScript SDK

const fields = await s360.dataCollections.listFields('XXXX-XXXX-XXXX');

for (const field of fields.data) {
  console.log(`${field.dataFieldSimplyId}: ${JSON.stringify(field.title)} [${field.dataType}]`);
}

cURL

curl -s "https://api.simply360.app/v1/data-collections/XXXX-XXXX-XXXX/fields" \
  -H "Authorization: Bearer $S360_API_KEY"

Get a Single Field

const field = await s360.dataCollections.getField('XXXX-XXXX-XXXX', 'FLDS-FRST-NAME');
curl -s "https://api.simply360.app/v1/data-collections/XXXX-XXXX-XXXX/fields/FLDS-FRST-NAME" \
  -H "Authorization: Bearer $S360_API_KEY"

Common Field Types

The dataType value on a field definition is one of the platform's field data types. Common values:

TypeDescriptionExample Value
PLAIN_TEXTSingle-line text"Jane Doe"
FORMATTED_TEXTRich text / HTML"<p>Hello</p>"
NUMBERWhole number42
DECIMALDecimal number42.5
MONEYMonetary amount199.00
DATEISO 8601 date"2026-03-06"
DATE_TIMEISO 8601 timestamp"2026-03-06T14:30:00Z"
EMAIL_ADDRESSEmail address"jane@example.com"
PHONE_NUMBERPhone in E.164 format"+15551234567"
BOOLEANTrue / false toggletrue
URLWeb address"https://example.org"
PHYSICAL_ADDRESSStructured postal addressAddress object
SINGLE_DATA_RECORDReference to one record in another collectionRecord simplyId
MULTI_DATA_RECORDReferences to multiple recordsArray of simplyIds
SINGLE_FILE / MULTI_FILEFile attachment(s)File simplyId(s)
SINGLE_IMAGE / MULTI_IMAGEImage attachment(s)File simplyId(s)

Administration & Schema Operations

Beyond the standard read endpoints, the API exposes the schema-administration surface the Simply360 dashboard itself uses. These operations are privileged tier: they require admin-level feature permissions and are not available to OAuth-scoped tokens.

EndpointDescription
POST /v1/data-collectionsCreate a data collection for the selected team.
POST /v1/data-collections/{dataCollectionSimplyId}/renameRename a collection (singular/plural names and underlying table).
GET / PUT /v1/data-collections/{dataCollectionSimplyId}/admin-detailRead or update full admin settings for a collection.
PUT /v1/data-collections/{dataCollectionSimplyId}/field-display-overridesUpdate inherited-field display overrides.
POST /v1/data-collections/{dataCollectionSimplyId}/generate-field-descriptionsAI-generate field and collection descriptions; apply reviewed output with PATCH .../apply-field-descriptions. Bulk variants exist for both.
POST /v1/data-collections/{dataCollectionSimplyId}/recalculate-record-namesRecalculate all record display names.
POST /v1/data-collections/{dataCollectionSimplyId}/recalculate-calculated-relationship-fieldsRecalculate calculated-relationship field values.
POST /v1/data-collections/{dataCollectionSimplyId}/preview-smart-membershipPreview SMART collection membership for a draft filter.
POST /v1/data-collections/{dataCollectionSimplyId}/resync-smart-membershipResync SMART collection membership.

Say what each record is when you create a standard collection. POST /v1/data-collections takes enumCollectionBillingRoleId, which decides how the collection's records count toward the team's plan: CORE_ROOT for someone or something the team manages (send its kind in enumCollectionArchetypeId, for example PERSON or ORGANIZATION), CORE_FACET, CHILD, or RELATIONSHIP for part of another record (send that collection's Simply ID in billingRoleRootDataCollectionSimplyId; it must be a managed collection or part of one), ACTIVITY_EVENT for an activity or history entry, and REFERENCE for a lookup list. A PERSON or ORGANIZATION collection can only be managed or part of another record. Every standard create must make the choice; without it the create is refused with 400 COLLECTION_BILLING_CLASSIFICATION_REQUIRED. A choice the rules refuse returns 400 COLLECTION_BILLING_CLASSIFICATION_INVALID with a message that says what to change. Only Simply360 support changes the choice after create. The dashboard's create form, Ask Simply, and MCP ask the same question.

A successful rename may include non-retriable maintenance warnings. SYNC_DRIFT_MARK_FAILED means the rename committed, but Environment Promotion was not notified; a Team Admin should run Re-export State in Environment Sync. Display the warning and do not retry automatically (shouldRetry: false). Replaying the same request with its original idempotencyKey also attempts the notice again without repeating the rename. Ask Simply includes the warning in its summary.

For whole-schema workflows, the standard-tier Team Schema endpoints export and version the complete team schema (collections, fields, Data Views, wizards, and automations):

  • GET /v1/team-schema/export — export the team's complete schema. Pass a comma-separated dataCollectionSimplyIds list to export only those collections and their wizards; the list must include each named collection's parent collections, and an unknown Simply ID or a missing parent returns 400 with the Simply IDs to fix.
  • GET /v1/team-schema/versions and GET /v1/team-schema/versions/compare — version history and diffs.
  • GET /v1/team-schema/changed — check whether the schema has changed since the last snapshot.

Related: GET /v1/create-menu/data-collections/{dataCollectionSimplyId} (standard tier) returns create-form metadata for a collection — the field layout the dashboard's create menu renders.

Usage Notes

  • dataCollectionSimplyId and dataFieldSimplyId are stable identifiers. Use them for integrations and configuration rather than display names.
  • When creating or updating Data Records, the keys of the fields object are always field simplyIds, never the human-readable field title. See API Reference: Data Records.
  • Computed values (record display names, aggregated fields) are calculated server-side and cannot be written through the API.
  • SMART collections compute their membership from filter criteria (smartMembershipDataFilter on the collection detail). Reading a SMART collection returns its member records; SMART-owned fields whose values were never written read as null. Creating through a SMART collection is supported: the base record is stored in the nearest standard ancestor collection, SMART-owned values are stored on the SMART collection, and the create is rejected atomically when the new record would not satisfy the membership filter. Creating in the underlying standard collection directly also works.
  • Collection, field, and indirect settings visibility is permission-scoped. For an installation-bound user grant, the effective result is the intersection of the live actor's authority and the installation-owned role/consent ceiling; Team Admin status does not widen that ceiling.
↑