WRNexusDocs
Theme
Accent color
Language

Shared records API

Contacts, Notes, Tasks and private Calendar reminders use the existing signed API gateway and owning app permissions. This contract requires an enabled deployment and the corresponding SDK release.

Create a scoped key

In Account → API keys, select only the required shared-app operations. Optionally bind the key to one accessible workspace. Leave workspace empty for organization-level records. Messaging keys and shared-app keys are separate. Existing keys do not gain shared access automatically.

Use the server key only on your backend. The organization comes from the key. Request bodies and queries cannot override the organization, environment, workspace, actor or roles. Personal records remain available through signed-in app workflows.

Read and change records

The reference lists GET reads and POST changes under /contacts, /notes, /tasks and /calendar. Responses contain ok, version: 1 and data. Every change requires a stable requestKey. Updates require the current revision; conflicts return 409. Repeat the same requestKey and exact input after an uncertain response, or read the record before deciding what to do next. SDKs never retry writes automatically.

Use nextCursor to continue a list with the same filters. A service may return fewer rows than the requested limit. Notes preserve safe block documents and revision history. Tasks support status, eligible assignment, checklists, watchers and recurrence. Archive retains existing data.

Link existing app records

Notes and Tasks may be created with a readable Contacts, Notes or Tasks target. Other links use the link operation with the current revision. A target includes version, appKey, recordType, recordId and the same organization/environment/workspace scope. The key also needs the target app’s record read operation. Linking never shares the target or updates its content.

API-created records appear in the existing Contacts, Notes and Tasks apps, Home search and header modals. Existing Forms automation and AI/Bot tools use the same domain services. Drive references, sharing administration, imports, reviewed merges, destructive purge and booking administration continue through their existing app workflows.

Private Calendar reminders

Create or update an absolute-time reminder using title, at and timezone. An optional taskId links it to a readable Task and requires tasks.record on the key. Reminder reads and job diagnostics recheck access to the source. Stop uses the current revision. Recipient, channel and paid-send configuration belong to the existing Notifications editor and are not accepted by these endpoints. Public invitation and booking capability clients remain separate.

Subscribe to changes

In Account → Webhooks, create a separate shared-app subscription with the required topics and an optional workspace. Topics are contacts.record.changed, notes.record.changed, tasks.record.changed and calendar.reminder.changed. New subscriptions do not backfill older events.

Events contain only versioned change metadata: organizationId, environment, workspaceId, recordId, event revision and action. They contain no Note body, contact methods, Task description or linked private content. Fetch the current record through its API with a scoped key. Changes from the UI, Forms, AI/Bot and APIs all use the same event logs.

Deliveries use the existing timestamped HMAC signature and retry worker. Deduplicate by event ID, handle changes out of order, and refetch current state. Permissions, scope and subscriptions are checked when queueing and again before sending. Revocation stops delivery; an event is not proof of continuing access. Readability is required, so an inaccessible or purged record does not produce a public tombstone.

SDKs

The server SDK source includes contacts, notes, tasks and calendar resources in JavaScript, Python, Go, Rust and Java. JavaScript has typed resource methods; the other SDKs also provide an allowlisted operation helper for advanced operations. Existing transport timeouts, cancellation, read retries, write behavior and webhook verification remain in use. See the shared-records SDK guide before publishing or upgrading a package.