Skip to main content
← All documentationContents ↓

API Reference: Data Records

List, get, create, update, replace, delete, search, batch-process, and render configured DataRecord cards via the Simply360 API.

Overview

Data Records are the core unit of data in Simply360. Each record belongs to a Data Collection and carries a set of field values defined by that collection's schema. Records are identified by a unique simplyId with format XXXX-XXXX-XXXX. The CRUD, search, and batch endpoints on this page are standard-tier: they work with API keys and scoped session tokens, subject to the caller's Data Role permissions.

Key Concepts

  • simplyId — The unique public identifier for every record. Use it in all API calls. Internal integer IDs are never exposed by the public API.
  • dataCollectionSimplyId — The Simply ID of the collection a record belongs to. Required when creating or listing records.
  • fields — A key/value object where each key is a field simplyId and the value is the field's content. Field types determine accepted formats; see API Reference: Data Collections.
  • name — A computed display label derived from the collection's display-name configuration. Read-only.
  • Batch operations — Create, update, or delete up to 100 records in one request for higher throughput.
  • Record with children — Create one parent record and its child records (an invoice with its lines), and optionally update related existing records, in one all-or-nothing request.

Record Shape

Every record response uses the same shape:

{
  "dataRecordSimplyId": "WXYZ-5678-IJKL",
  "id": "WXYZ-5678-IJKL",
  "dataCollectionSimplyId": "XXXX-XXXX-XXXX",
  "name": "Jane Doe",
  "fields": { "FLDS-FRST-NAME": "Jane", "FLDS-EMAL-ADDR": "jane@example.com" },
  "isArchived": false,
  "createdAt": "2026-03-06T14:30:00.000Z",
  "updatedAt": "2026-03-06T14:30:00.000Z"
}

name is the record's calculated display name from its Collection's record name formula. It is null when the record has no name (the Collection has no record name formula, or the formula produced no text) and for managed connectors. Show such a record as Untitled record followed by its Simply ID, for example Untitled record · WXYZ-5678-IJKL. Never treat the Simply ID itself as the name.

List Records

GET /v1/data-records lists non-deleted, actively managed record roots with active membership in the requested Collection. It has no archived-record query option. To inspect archived memberships, use record search with an isArchived filter. Root archiving normally archives every membership in the same transaction; the list's root-state check also excludes inconsistent archived roots that still have an active membership.

Retrieve records from a collection with pagination, sorting, and field selection. dataCollectionSimplyId is required. limit accepts 1–100 (default 25); sortable fields are createdAt, updatedAt, and calculatedName (prefix with - for descending).

To build a record audience from successful Action-launched writes, pass actionTagAttribution. It selects exact Action Simply IDs with ANY or ALL matching, optional Wizard Simply IDs, and qualifying CREATED/UPDATED events. It requires Action-view permission in addition to ordinary Collection and field access. Visits, previews, abandoned forms, and failed writes do not match. Returned records remain current and may include first/last attributed-write time plus all matching Action Simply IDs.

TypeScript SDK

const response = await s360.dataRecords.list({
  dataCollectionSimplyId: 'XXXX-XXXX-XXXX',
  limit: 25,
  offset: 0,
  sort: '-createdAt',
  fields: 'FLDS-FRST-NAME,FLDS-LAST-NAME',
  actionTagAttribution: {
    simplyActionTagSimplyIds: ['STAG-1234-ABCD', 'STAG-5678-EFGH'],
    match: 'ANY',
    qualifyingEvents: ['CREATED', 'UPDATED'],
  },
});

for (const record of response.data) {
  console.log(record.dataRecordSimplyId, record.fields);
}

cURL

curl -s "https://api.simply360.app/v1/data-records?dataCollectionSimplyId=XXXX-XXXX-XXXX&limit=25&sort=-createdAt" \
  -H "Authorization: Bearer $S360_API_KEY"

Get a Record

Retrieve a single record by its simplyId. The fields query parameter selects specific field simplyIds; expand accepts collection and/or fieldDefinitions, and the expansions are returned under meta.expanded.

TypeScript SDK

const record = await s360.dataRecords.get('WXYZ-5678-IJKL', {
  expand: 'collection,fieldDefinitions',
});

console.log(record.data.dataRecordSimplyId, record.data.fields);
console.log(record.meta.expanded?.collection);

cURL

curl -s "https://api.simply360.app/v1/data-records/WXYZ-5678-IJKL?expand=collection,fieldDefinitions" \
  -H "Authorization: Bearer $S360_API_KEY"

Create a Record

Create a new record by providing the collection Simply ID and field values. Field keys must be the field's simplyId. Returns 201 with the created record; unknown field keys are skipped and reported in meta.warnings.

TypeScript SDK

const created = await s360.dataRecords.create({
  dataCollectionSimplyId: 'XXXX-XXXX-XXXX',
  fields: {
    'FLDS-FRST-NAME': 'Jane',
    'FLDS-LAST-NAME': 'Doe',
    'FLDS-EMAL-ADDR': 'jane@example.com',
  },
});

console.log(`Created: ${created.data.dataRecordSimplyId}`);

cURL

curl -s -X POST "https://api.simply360.app/v1/data-records" \
  -H "Authorization: Bearer $S360_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "dataCollectionSimplyId": "XXXX-XXXX-XXXX",
    "fields": {
      "FLDS-FRST-NAME": "Jane",
      "FLDS-LAST-NAME": "Doe",
      "FLDS-EMAL-ADDR": "jane@example.com"
    }
  }'

Concurrent creates. If MySQL stops a create to break a deadlock with another write (including a RANK refresh), the server rolls its transaction back and returns 503 NOT_ATTEMPTED after the first interruption. It does not replay creates internally: record and duplicate-review ID reservations can occur outside the transaction. No record, RECORD_CREATED occurrence, or completed idempotency outcome remains. Send the same request again unchanged, with the same Idempotency-Key if supplied. Public batch creates report the interrupted entry as NOT_ATTEMPTED and retain successful siblings; MCP and Ask Simply creates use the same refusal. File-bearing creates and parent-with-children requests also refuse without replay. This guarantee applies only to a confirmed rollback before COMMIT; a lost COMMIT response must be recovered using the original idempotency key or operation handle.

Duplicate rules and unique fields. A create is checked against the Collection's unique fields and the duplicate rules that run when records are created, inside its transaction, and a refused create writes nothing:

  • 409 CREATE_POLICY_REJECTED — a duplicate rule whose action is Block matched an existing record. The response does not say which record matched; search for it by the values the rule compares, or by your own unique external ID.
  • 409 DUPLICATE_ENTRY — a field marked Unique value already holds the submitted value on another record.
  • 503 DUPLICATE_CHECK_UNAVAILABLE or 503 DUPLICATE_REVIEW_UNAVAILABLE — duplicate rules could not be checked, or a Queue for review match could not be recorded. Nothing was written; send the same request again later, with the same Idempotency-Key if it had one.

A Warn match never blocks an API create, and a Queue for review match creates the record and adds the pair to the Team's duplicate review queue. In a batch create, an entry a Block rule or a unique field refuses is reported as RECORD_CREATE_FAILED with the reason in its error message, and its siblings are unaffected.

Update a Record (PATCH and PUT)

Two write methods are available, and both take the same body: a fields object keyed by field simplyId.

  • PATCH /v1/data-records/{dataRecordSimplyId} — Partial update: only the fields present in the request body are written. SDK: s360.dataRecords.update(dataRecordSimplyId, { fields }).
  • PUT /v1/data-records/{dataRecordSimplyId} — Replace field values: writes the provided field values. Fields omitted from the body are currently left unchanged (the same merge semantics as PATCH), so include every field you intend to change. SDK: s360.dataRecords.replace(dataRecordSimplyId, { fields }).
// Partial update — only updates email, leaves other fields alone
await s360.dataRecords.update('WXYZ-5678-IJKL', {
  fields: { 'FLDS-EMAL-ADDR': 'jane.doe@newdomain.com' },
});

To clear a field, set it explicitly to null in the fields object.

Concurrent writes. When another write holds the same rows at the same moment, such as a RANK or rollup refresh of the Collection that an earlier update started, the database can stop one of the two writes to break the deadlock. The server rolls the stopped update back and runs it again, up to three attempts in all, so the update is applied once and its Automations and record-change events fire once. If every attempt is interrupted, the update answers 503 NOT_ATTEMPTED with nothing written: send the same request again unchanged, with the same Idempotency-Key if it had one. An update that attaches Files is not run again on the server; it answers 503 NOT_ATTEMPTED after the first interruption. MCP and Ask Simply record updates behave the same way, and a batch update reports such an entry as NOT_ATTEMPTED.

Delete a Record

Deletes are soft: the record is flagged deleted and disappears from list, get, and search responses.

await s360.dataRecords.delete('WXYZ-5678-IJKL');
curl -s -X DELETE "https://api.simply360.app/v1/data-records/WXYZ-5678-IJKL" \
  -H "Authorization: Bearer $S360_API_KEY"

Records that are still in use

A delete is refused with 409 DATA_RECORD_IN_USE while something still depends on the record:

  • Configuration that names it — a Wizard placement whose URL parameters pass its Simply ID, a Wizard field fixed to it, or a website page or site header/footer whose Wizard embed passes it. Deleting it would make every submission of that Wizard fail.
  • A required link — a live (not archived) record whose required link field points at it.

The error's details always carry blockReasons and counts (Wizard embeds, Wizard fields, website pages, and linking records by kind). Names of Wizards, pages, Collections, and fields are included only where the caller may read them: an API key or MCP connection that is not a Team administrator gets counts only, a Team administrator gets Wizard names with Wizard administration and website pages with website administration, a signed-in user sees only the Collections they can read, and namesWithheld is true whenever something was left out. Linking records themselves are never named in a refusal. Remove those uses first, or archive the record instead. Optional links, required links from archived records, and field default values never block a delete.

The same check runs for single, batch, and bulk deletes and for the MCP delete_data_records tool. A batch runs in dependency order: records that require another record in the batch go first, and a record refused only for a required link is tried again while each pass deletes something, so a chain of required links (for example a household, its members, and their enrollments) deletes in one batch. Records that require each other delete together when all of them are in the batch. Blocked records come back as per-record DATA_RECORD_IN_USE errors without stopping the rest.

Because a batch runs in dependency order rather than request order, audit entries and outbound webhook and integration events for its deletes arrive in that order, and when the request time budget runs out, the items marked NOT_ATTEMPTED are the ones not yet reached in dependency order. Results and errors are still returned in request order, each with its request index.

Search Records

Use the search endpoint for keyword search over record names plus structured field-level filters.

TypeScript SDK

const results = await s360.dataRecords.search({
  dataCollectionSimplyId: 'XXXX-XXXX-XXXX',
  query: 'Jane',
  filters: [
    { field: 'FLDS-EMAL-ADDR', operator: 'contains', value: '@example.com' },
  ],
  limit: 10,
});

cURL

curl -s -X POST "https://api.simply360.app/v1/data-records/search" \
  -H "Authorization: Bearer $S360_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "dataCollectionSimplyId": "XXXX-XXXX-XXXX",
    "query": "Jane",
    "filters": [
      { "field": "FLDS-EMAL-ADDR", "operator": "contains", "value": "@example.com" }
    ],
    "limit": 10
  }'

Request Body

PropertyTypeDescription
dataCollectionSimplyIdstringRequired. Collection to search.
querystringOptional keyword search over record display names (max 128 characters).
filtersarrayUp to 25 { field, operator, value } conditions, combined with AND.
fieldsstring[]Optional array of field simplyIds to include in each result's fields object.
limit / offsetintegerlimit 1–100 (default 25); offset up to 5,000.

Filter Operators

A filter's field is either a field simplyId or one of the metadata fields calculatedName, createdAt, updatedAt, isArchived.

  • Custom fields: eq, ne, gt, lt, gte, lte, in, contains, startsWith. The in operator takes an array of up to 100 scalar values.
  • calculatedName: eq, ne, contains, startsWith.
  • createdAt / updatedAt: gt, lt, gte, lte with ISO 8601 date values.
  • isArchived: pass true to search archived memberships instead of active ones.

Batch Operations

The Data Records API offers three batch endpoints on /v1/data-records/batch, one per write semantic. Each accepts up to 100 items per request and reports per-item results.

Batch Create

const result = await s360.dataRecords.batchCreate({
  dataCollectionSimplyId: 'XXXX-XXXX-XXXX',
  records: [
    { fields: { 'FLDS-FRST-NAME': 'Alice' }, idempotencyKey: crypto.randomUUID() },
    { fields: { 'FLDS-FRST-NAME': 'Bob' }, idempotencyKey: crypto.randomUUID() },
  ],
});

console.log(`Created: ${result.data.created}, Failed: ${result.data.failed}`);
// result.data.results[i].mutation is 'executed' or 'replayed';
// result.data.errors[i].code is VALIDATION_ERROR | PERMISSION_DENIED | SYSTEM_FIELD_READ_ONLY | IDEMPOTENCY_CONFLICT | RECORD_CREATE_FAILED | NOT_ATTEMPTED
// (SYSTEM_FIELD_READ_ONLY: the record wrote a system-managed field; errors[i].details.fields names each one)
// result.data.aggregatedFieldRecomputation reports whether dependent parent rollups were queued (QUEUED | NOT_APPLICABLE | UNAVAILABLE)

Commit semantics are per record, never all-or-nothing: each record is its own durable mutation, a failed record never rolls back its siblings, and every index is reported. Replay is scoped to the authenticated principal (including the API key identity). Rotating to a different API key does not replay the previous key's writes: the same deterministic keys can create new records. Reuse the original principal for retries, or reconcile existing records before creating under another principal. Give each record its own canonical lowercase UUIDv4 idempotencyKey and keep the keys: to recover from a partial failure or a timeout, resend only the failed or NOT_ATTEMPTED entries with their original keys, and entries that already committed replay (mutation: 'replayed') instead of duplicating. The same key with different content fails only that record with IDEMPOTENCY_CONFLICT. Collection permission and writable-field authority are resolved once per request and every record is validated against them; linked-target and SecurityScope authority is checked per record. The Idempotency-Key header is still accepted for a one-record batch and cannot be combined with per-record keys.

Write Profile

Before a bulk create, GET /v1/data-collections/{dataCollectionSimplyId}/write-profile (s360.dataCollections.getWriteProfile(id)) returns, in one call, every readable field with isWritable, the exact valueContract to send, configured options, decimalPlaces, currency, linked target Collections, and existingValues — the distinct values existing records already use with counts (permission- and SecurityScope-filtered) — plus writeAuthority and writeGuidance. It requires records:read because it reads record values.

Batch Update

await s360.dataRecords.batchUpdate({
  records: [
    { dataRecordSimplyId: 'WXYZ-5678-IJKL', fields: { 'FLDS-FRST-NAME': 'Bob' } },
    { dataRecordSimplyId: 'MNOP-9012-QRST', fields: { 'FLDS-FRST-NAME': 'Carol' } },
  ],
});

Batch Delete

await s360.dataRecords.batchDelete({
  dataRecordSimplyIds: ['WXYZ-5678-IJKL', 'MNOP-9012-QRST'],
});

Create a Record with Its Children

POST /v1/data-records/with-children creates one parent record and its child records in a single transaction: either every record is written or none is. A child is a record in another Collection that links to the parent through one of its single-record link fields. Name that field in children[].linkDataFieldSimplyId (it must target the parent record's Collection) and leave it out of the child fields; the server sets it to the new parent's Simply ID. Use it for an invoice with its lines, a journal entry with its debit and credit lines, or a registration with its attendees.

const result = await s360.dataRecords.createWithChildren({
  idempotencyKey: crypto.randomUUID(), // keep it: resend the same key and content to recover
  record: { dataCollectionSimplyId: 'JRNL-ENTR-COLL', fields: { 'FLDS-MEMO-0001': 'Opening balances' } },
  children: [
    {
      dataCollectionSimplyId: 'JRNL-LINE-COLL',
      linkDataFieldSimplyId: 'FLDS-ENTR-LINK',
      records: [
        { fields: { 'FLDS-ACCT-0001': 'ACCT-CASH-0001', 'FLDS-DEBT-0001': 1500 } },
        { fields: { 'FLDS-ACCT-0001': 'ACCT-EQTY-0001', 'FLDS-CRDT-0001': 1500 } },
      ],
    },
  ],
});

// result.data.record.dataRecordSimplyId is the parent;
// result.data.children[g].records[i].dataRecordSimplyId follow the request order.
// result.data.mutation is 'executed', or 'replayed' when this key had already committed the same request.
  • Limits — At most 100 child records across at most 8 child groups. The endpoint shares the batch rate-limit tier.
  • Authority — Every Collection touched needs the same create permission and writable-field authority as a single record create, including the link field. Team scope follows the usual rules: the credential's Team, or X-Team-Id / teamSimplyId for a multi-Team user token. Managed marketplace connectors use the audited per-record endpoints instead.
  • Validation first — Every record is validated before anything is written. A refusal is one error response; details.path names the request location (for example children[0].records[3]) and details.errors lists every record that failed validation.
  • Idempotency — idempotencyKey is required and must be a canonical lowercase UUIDv4. Resending the same key and content returns the original Simply IDs with X-Idempotency-Replayed: true; the same key with different content returns IDEMPOTENCY_CONFLICT. A request refused with NOT_ATTEMPTED (time budget) wrote nothing and can be resent unchanged.
  • Files — Reference already-uploaded Files by Simply ID. Staged uploads that need promotion receipts are refused here; attach them with a follow-up update.
  • Rollups — aggregatedFieldRecomputation reports whether dependent rollups, such as a parent total over the new children, were queued for refresh.

Large graphs in async mode

Set executionMode: 'async' explicitly when a large graph may exceed the request deadline. A new request returns 202 with kind: 'pending', an operationSimplyId, and a statusUrl. Acceptance means the whole graph is queued; it does not mean any records have committed. The worker checks current Team, credential, Collection, field, and related-record authority and applies the same validation and Collection rules before writing all records in one transaction.

const key = crypto.randomUUID();
const submitted = await s360.dataRecords.createWithChildren({
  idempotencyKey: key,
  executionMode: 'async',
  record: { dataCollectionSimplyId: 'JRNL-ENTR-COLL', fields: { 'FLDS-MEMO-0001': 'Opening balances' } },
  children: [/* the same child groups as above */],
});

if ('kind' in submitted.data && submitted.data.kind === 'pending') {
  const operation = await s360.dataRecords.getWithChildrenOperation(submitted.data.operationSimplyId);
  // Poll while operation.data.kind is 'pending'. A completed result contains
  // the original parent, child and related-record Simply IDs.
}

Poll GET /v1/data-records/with-children/operations/{operationSimplyId} with current initiating Team and write authority. A pending result reports PENDING, DISPATCHING, DISPATCHED, or RUNNING; a completed result includes the original graph result, and a failed result includes the durable error. Retry an uncertain submission with the same key and unchanged graph: it returns the existing pending handle or committed result. Changed content returns 409 IDEMPOTENCY_CONFLICT. After a permanent failure, correct the request and use a new key. The synchronous mode remains the default; a synchronous retry of an already accepted async graph also returns the pending handle.

Update related records in the same write

Add relatedRecordUpdates to change existing records in the same transaction, after the parent and children are created. Use it to post and mark: post a journal entry and set the bank transaction's Journal Entry and Review Status, or create an invoice and mark its order invoiced. Doing the two writes separately can leave a posted entry behind when the second write is refused; here a refusal writes nothing at all.

const posted = await s360.dataRecords.createWithChildren({
  idempotencyKey: crypto.randomUUID(),
  record: { dataCollectionSimplyId: 'JRNL-ENTR-COLL', fields: { 'FLDS-MEMO-0001': 'Office supplies' } },
  children: [
    {
      dataCollectionSimplyId: 'JRNL-LINE-COLL',
      linkDataFieldSimplyId: 'FLDS-ENTR-LINK',
      records: [
        { fields: { 'FLDS-ACCT-0001': 'ACCT-SUPP-0001', 'FLDS-DEBT-0001': 42.5 } },
        { fields: { 'FLDS-ACCT-0001': 'ACCT-CASH-0001', 'FLDS-CRDT-0001': 42.5 } },
      ],
    },
  ],
  relatedRecordUpdates: [
    {
      dataRecordSimplyId: 'BANK-TXN0-0001', // an existing bank transaction
      linkDataFieldSimplyId: 'FLDS-BANK-JRNL', // its Journal Entry link; the server sets it to the new entry
      fields: { 'FLDS-BANK-RVST': 'CATEGORIZED' },
      expectedUpdatedAt: bankTransaction.updatedAt, // optional: the version you read; a change since writes nothing
    },
  ],
});

// posted.data.relatedRecords lists the updated records in request order.
  • Shape — At most 8 updates, each record at most once. Each update sets linkDataFieldSimplyId, at least one field in fields, or both. The link field must be a single-record link field of the related record's Collection that targets the parent record's Collection; leave it out of fields. fields uses the same format as a single record update. Any other property, such as dataCollectionSimplyId, is refused with 400 VALIDATION_ERROR.
  • Same checks as an update — Each related record needs the same authority as a single record update (record access, SecurityScope, and writable fields), and the write runs the update's lifecycle, system-field, and Collection rule checks. It is refused with the same codes as a single update, such as 409 RECORD_DELETED or 400 SYSTEM_FIELD_READ_ONLY. There is no bypass for Team Admins.
  • Locked records — A related record that a Collection rule locks refuses the whole write with 409 RECORD_LOCKED, and details.path names the update (relatedRecordUpdates[0]). A bank transaction that is already posted is refused this way, so two attempts to post the same transaction produce exactly one entry, even when they run at the same time.
  • Stale records — Give an update the record's exact updatedAt from your last read as expectedUpdatedAt, as in a single record update. If the record changed since, the whole write is refused with 409 RECORD_CONFLICT; details carries path, expectedUpdatedAt, and serverUpdatedAt, and nothing is written. Use it whenever two writers could mark the same record and no Collection rule locks it: of two concurrent “create invoice and mark the order invoiced” calls that send the order's version, exactly one commits. Re-read the record before deciding to resend. Without it, the update is applied to whatever the record holds at the time.
  • Final-state rules — Collection rule validation judges every record, including the related ones, once on the final state before commit; a violation returns 422 COLLECTION_RULE_VIOLATION with each failing record's path.
  • Retries — The idempotency key covers the related updates too, including any expectedUpdatedAt. A replay returns the original relatedRecords and changes nothing; changing the updates under the same key returns IDEMPOTENCY_CONFLICT. When a concurrent write to the same records interrupts the request, it returns 503 NOT_ATTEMPTED with nothing written; resend it unchanged.

Hosted MCP exposes the same explicit async mode through create_record_with_children and polls with get_record_with_children_operation. Ask Simply drafts a reviewed proposal and can poll the same operation after approval. A synchronous draft runs the whole write and rolls it back, so a payload approval would refuse (for example an already posted bank transaction) is refused when drafted; each related update is pinned to the version of the record it was drafted against. An async draft performs CHECKS_ONLY preflight and the worker rechecks live authority and all rules after approval, so a queued proposal can later fail without writing records. A draft that stages a File upload is also checked without running the write, because staging copies the File. The API and MCP have no separate dry run.

Related Endpoints on a Record

These standard-tier endpoints read data associated with a record:

SDK MethodEndpointReturns
getAuditLog(dataRecordSimplyId, params?)GET /v1/audit-log/records/DataRecord/{recordSimplyId}Audit-log entries for the record. See API Reference: Audit Log.
listConversations(dataRecordSimplyId, params?)GET /v1/data-records/{dataRecordSimplyId}/conversationsConversations linked to the record.
listCommunications(dataRecordSimplyId, params?)GET /v1/data-records/{dataRecordSimplyId}/communicationsSafe canonical cross-channel metadata for everything sent to the constituent.
listOutgoingMessages(dataRecordSimplyId, params?)GET /v1/data-records/{dataRecordSimplyId}/outgoing-messagesDeprecated compatibility alias for listCommunications; returns the same metadata projection.
listCardGroups(dataRecordSimplyId)GET /v1/data-records/{dataRecordSimplyId}/card-groupsReadable data card groups configured for the record.
renderCardGroup(dataRecordSimplyId, dataCardGroupSimplyId, params?)GET /v1/data-records/{dataRecordSimplyId}/card-groups/{dataCardGroupSimplyId}/renderRender-ready content for one card group.
mutateTableRelationship(dataRecordSimplyId, dataCardGroupSimplyId, dataCardSimplyId, request)POST /v1/data-records/{dataRecordSimplyId}/card-groups/{dataCardGroupSimplyId}/cards/{dataCardSimplyId}/table-relationship-actionsApply one advertised direct TABLE relationship add, remove, or reorder action.
dataRecordComments.list(dataRecordSimplyId, params?)GET /v1/data-records/{dataRecordSimplyId}/commentsThreaded comments (with one level of replies) on the record.
dataRecordComments.create(dataRecordSimplyId, params)POST /v1/data-records/{dataRecordSimplyId}/commentsPost a top-level comment.

Canonical DataCard Runtime

DataCardGroups and DataCards are the canonical configured record-detail presentation shared by the Simply360 webapp, Simply Anywhere, the Public API and TypeScript SDK, hosted MCP, and Ask Simply. listCardGroups returns only groups that are readable for the selected record and caller. renderCardGroup returns one strict public discriminated union covering FORM, TABLE, THUMBNAILS, HISTORY, TIMELINE, BATCH_ENTRY, PROGRESS, CHARTS, PIVOT, KANBAN, LEADERBOARD, PERIOD_COMPARISON, and RELATED_MEDIA. A RELATED_MEDIA card has no fields or payload; list its media with files.selectionCandidates using the card's actionContext.dataRecordSimplyId as contextRecordSimplyId and relatedOnly: true, so the range and total count only media the caller can read. Each card includes public Simply IDs, localized labels, client formatting hints, continuation metadata where applicable, and explicit action descriptors. It never exposes database models, physical columns/tables, internal numeric IDs, or arbitrary persisted card settings.

Pass dataCardSimplyId with page and pageSize to page one card, or pass cardPagination as a JSON object keyed by DataCard Simply ID to page several cards independently. Allowed page sizes are 5, 10, 25, 50, 100, and 200. A KANBAN entry can also include kanbanColumn: { value }; null selects the unassigned lane, while an omitted kanbanColumn requests all lanes. Clients must use the response's hasMore/nextPage continuation instead of inferring additional pages. A configuration error or temporarily unavailable runtime is represented on the affected card without discarding its sibling cards.

A HISTORY card is the record's activity timeline. Each event carries eventType, occurredAt, a localized summary (the event type label), actorLabel (a Team User's name, or the localized source such as Team User, System, or API Client), an iconCategory to choose the event's icon from, hasNote, and optional details: FIELD_CHANGES (readable fields an update changed, with before and after values only for value-safe field types and only when the card shows field changes), CONSENT (purpose, grantor role and name, method and dates of a consent decision on a readable consent field), CONSENT_REDACTED (the caller cannot read that consent field), or COLLECTION_MEMBERSHIP (a readable Collection the record joined or left). The card's eventTypeFilter.options lists the event types it can be narrowed to. Add eventTypes to that card's cardPagination entry, for example { "CARD-0000-0004": { "page": 1, "pageSize": 25, "eventTypes": ["CONSENT_GRANTED", "CONSENT_WITHDRAWN"] } }; the events and continuation.totalCount then count only those types, eventTypeFilter.selectedEventTypes echoes the applied selection, and a load-more request must repeat it. Group events into days in formatting.timeZone, or in the reader's own time zone when it is null. Team User names and FIELD_CHANGES are change-log information: they appear only for callers with the Collection-scoped RECORD_CHANGE_HISTORY data permission (Records → Change History) on the record's Collection, the permission that also scopes GET /v1/data-record-log-events to Collections; other readers still see the event timeline but get the source type instead of a name. The permission never widens access: field before and after values appear only for fields the caller can read.

const groups = await s360.dataRecords.listCardGroups('WXYZ-5678-IJKL');
const firstGroup = groups.data.cardGroups[0];

const rendered = await s360.dataRecords.renderCardGroup(
  'WXYZ-5678-IJKL',
  firstGroup.dataCardGroupSimplyId,
  {
    cardPagination: {
      'CARD-1234-ABCD': { page: 1, pageSize: 25 },
    },
  },
);

for (const card of rendered.data.dataCardGroup.cards) {
  console.log(card.type, card.dataCardSimplyId, card.actionContext.actions);
}

Actions are server-advertised capabilities, not permission hints that a client may invent. An editable FORM card advertises EDIT_FORM_CARD, and the resulting record PATCH still rechecks Collection/field permission, idempotency, and optimistic concurrency. Relationship-backed TABLE cards may advertise add, remove, or reorder actions. The canonical mutation route resolves the exact direct MULTI_DATA_RECORD field and target topology from the record/group/card path; the request cannot substitute a field, Collection, table, or internal identifier.

await s360.dataRecords.mutateTableRelationship(
  'WXYZ-5678-IJKL',
  'GRUP-1234-ABCD',
  'CARD-1234-ABCD',
  {
    action: 'REORDER',
    relatedDataRecordSimplyId: 'RECD-1234-ABCD',
    beforeRelatedDataRecordSimplyId: null,
    expectedUpdatedAt: '2026-08-28T14:30:00.000Z',
    idempotencyKey: crypto.randomUUID(),
  },
);

The SDK transports idempotencyKey as the Idempotency-Key header. Replays with the same principal, key, and semantic input return the original receipt; reusing the key for different input fails. expectedUpdatedAt prevents a stale client from overwriting a newer record, and callers should re-render the group after success because the mutation receipt is intentionally minimal.

Hosted MCP exposes the same reads as list_record_data_card_groups and render_record_data_card_group, and the direct idempotent TABLE operation as mutate_record_table_relationship. Ask Simply uses the same two read tools. TABLE relationship writes are draft-first through draft_mutate_record_table_relationship; approval rechecks the advertised action, permission, current record version, and canonical relationship service before executing. Neither surface has a private renderer or broader data authority.

Constituent Communications

Record Communications are the canonical history of constituent-facing sends across Message Studio, Conversations, Automations, Wizards, Data Views, constituent authentication, reports, commerce, and supported historical external-provider evidence. OutgoingMessage is an optional coordinating source for some deliveries, not a second timeline. Reading the endpoint requires records:read, CONSTITUENT_MESSAGE_HISTORY_VIEW, and read access to the record.

listCommunications supports limit (1–100), opaque keyset cursor, channelId, and currentStateId. Every page reports meta.pagination with the exact matching total, the applied limit, this page's offset, and hasMore (true exactly when meta.nextCursor is set); the cursor carries the total, so pass it back unchanged. Each item includes public delivery/constituent/source IDs, channel/state/timestamps, attachment count, protected-content presence, and a completeness value of EXACT, PARTIAL, or METADATA_ONLY. A partial or metadata-only legacy row includes a gap reason; consumers must not infer facts that were not retained. The response metadata identifies archived/deleted state, the requested and surviving record Simply IDs, and all merged constituent identities included in the timeline.

The Public API, SDK integration path, MCP, and TeamAgent expose only this safe metadata. They structurally exclude exact recipient/sender addresses and numbers, rendered subjects/bodies, attachment bytes or storage coordinates, bearer credentials, provider payloads, and numeric IDs. The SDK also defines listCommunicationsProtected and getCommunicationAttachmentDownload for the Simply360 first-party clients, but the service accepts those operations only from authenticated Team users and allowlisted Simply Anywhere OAuth clients. Ordinary API keys and integration OAuth clients cannot use them.

const history = await s360.dataRecords.listCommunications('WXYZ-5678-IJKL', {
  channelId: 'SMS',
  limit: 25,
});

for (const delivery of history.data) {
  console.log(delivery.sourceType, delivery.currentStateId, delivery.completeness);
}

if (history.meta.nextCursor) {
  await s360.dataRecords.listCommunications('WXYZ-5678-IJKL', {
    limit: 25,
    cursor: history.meta.nextCursor,
  });
}

renderCardGroup TABLE cards that are backed by a relationship field may include multiDataRecordContext.creationAvailability. When canCreate is false, clients should hide new-record creation for that related Collection. Reasons include NO_EDITABLE_FIELDS, REQUIRED_FIELDS_READ_ONLY, and TARGET_COLLECTION_NOT_FOUND; blockingFields lists required read-only fields that prevent a create form from being usable. Reverse SINGLE_DATA_RECORD contexts can also include fieldSettings.prePopulateFieldSimplyId and fieldSettings.prePopulateFieldCompositeKey so clients can lock the prefilled relationship field.

POST /v1/create-menu/data-records (standard tier) creates a record from create-menu form data — the same path the dashboard's create menu uses.

Record Comments

Generic threaded comments on any record (Media is the first UI consumer, but the model works for every Collection), with one level of replies, @mentions of Team Users, and resolve/unresolve on top-level threads. Reading or writing requires read access to the record and the RECORD_COMMENTS feature permission (view level to read, edit level to write); a record you cannot read, or a comment that does not resolve on it, answers 404.

MethodPathDescription
GET/v1/data-records/{dataRecordSimplyId}/commentsList comment threads, oldest first (limit, offset).
POST/v1/data-records/{dataRecordSimplyId}/commentsCreate a top-level comment. Body: { body } (sanitized rich-text HTML). Returns 201.
POST/v1/data-records/{dataRecordSimplyId}/comments/{commentSimplyId}/repliesReply to a top-level comment. Returns 201.
PATCH/v1/data-records/{dataRecordSimplyId}/comments/{commentSimplyId}Edit a comment. Author only.
DELETE/v1/data-records/{dataRecordSimplyId}/comments/{commentSimplyId}Delete a comment. Author or Team Admin.
POST/v1/data-records/{dataRecordSimplyId}/comments/{commentSimplyId}/resolveResolve a top-level thread.
POST/v1/data-records/{dataRecordSimplyId}/comments/{commentSimplyId}/unresolveReopen a resolved thread.

A body's s360-ref user-mention spans are parsed server-side; only mentioned Team Users who can themselves read the record are kept and notified — mentioning someone never grants them access. An archived record stays readable, including its comments, but every write on it is refused with RECORD_ARCHIVED. Editing is author-only; deleting is author-or-Team-Admin; resolving/unresolving only requires edit-level RECORD_COMMENTS, not authorship. This surface is Cognito-only for now, like the DataRecord audit-log endpoints above.

const thread = await s360.dataRecordComments.create('WXYZ-5678-IJKL', {
  body: '

Looks good, cc Jane Doe

', }); await s360.dataRecordComments.reply('WXYZ-5678-IJKL', thread.data.simplyId, { body: '

Agreed.

', }); await s360.dataRecordComments.resolve('WXYZ-5678-IJKL', thread.data.simplyId);

Hosted MCP exposes list_record_comments (read) and create_record_comment/resolve_record_comment as direct writes — not draft proposals, since the write is small and reversible and the same permission check already gates it. Ask Simply inherits the read tool and is hand-registered for the two write tools, confirming the exact record and comment text with the user before calling.

Administrative Operations

A larger privileged-tier surface backs the Simply360 webapp's record tooling: legacy bulk operations (bulk-update, bulk-delete, bulk-archive, bulk-link, bulk-unlink, bulk-approval), duplicate detection and merging (duplicate-rules, duplicate-review, merge, unmerge), approval workflows, archive/unarchive with impact previews, a delete preview (GET /v1/data-records/{dataRecordSimplyId}/delete-preview, the same usage summary a DATA_RECORD_IN_USE refusal returns, naming the Wizards and websites the caller can read and the linking records the caller can read), undo-delete, collection links, record variants, kanban and timeline queries, and the AI graph composer. Bulk delete, archive, link, and unlink on more than one record also require edit-level RECORD_BULK_OPERATIONS, and the AI graph composer requires RECORD_IMPORTS; bulk update (saving table edits) needs only data permissions. These routes are reserved for first-party Simply360 clients, and are not included in the public (standard-tier) OpenAPI contract; the first-class operation API below is the supported integration surface for bounded bulk work.

First-Class Bulk Record Operations

The reviewed bulk operation API is the supported public operation surface for a permission-scoped selection: POST /v1/bulk-record-operations/preview, confirmation, status/history, cancellation, and archive undo. Operations that affect more than one record require the RECORD_BULK_OPERATIONS feature permission (edit level to preview or change, view level to read status); a one-record operation needs only data permissions. Requests and responses use public Simply IDs and return selected, excluded, completed, failed, and canceled counts. A changed selection or permission fails closed; an unchanged retry returns the durable result marked REPLAYED_UNCHANGED. Archive undo is bounded to the completed items of its source archive and reports items that can no longer be restored.

Usage Notes

  • Field keys in the fields object are always the field's simplyId, not the field label.
  • Batch operations report per-item success/failure — an individual failure does not roll back the whole batch. Batch create supports per-record idempotencyKey values so a retry after a partial failure never duplicates a record.
  • Every record write (create, update, delete, and their batch forms) returns aggregatedFieldRecomputation in data (batch) or meta (single record): QUEUED when dependent AGGREGATED/SCORE parent rollups were queued for asynchronous refresh, NOT_APPLICABLE when none depend on the Collection, UNAVAILABLE when the refresh could not be queued and parent totals may be stale.
  • List and search accept projection=SUMMARY to return only record identity, name, timestamps, and the explicitly listed fields. Wide exact decimals (DECIMAL, PERCENTAGE, AGGREGATED, and aggregate results) are trimmed to their configured scale without rounding.
  • Use the fields query parameter (list/get) or fields array (search) to select specific fields and reduce payload size. See Pagination, Sorting & Field Selection.
  • Writes respect field-level permissions: attempting to write a field your Data Role cannot edit returns 403 PERMISSION_DENIED.
  • Record creates and updates fire matching automations and webhook events (DATA_RECORD_CREATED, DATA_RECORD_UPDATED). See API Reference: Webhooks.
  • Deletes are soft. Recently deleted records can be restored from the dashboard, which uses the privileged undo-delete operation. It requires permission to delete records in the record's Collection and the RECORD_CHANGE_HISTORY data permission there.
↑