Skip to main content
← All documentationContents ↓

API Reference: Wizards

List Wizards, inspect their schema, and execute them programmatically.

Overview

Wizards are configurable multi-step forms that guide users through creating or updating records, sending messages, and following workflows. Wizards can be used by Team Users internally or embedded externally for constituents (for example, a registration form on a marketing site that anyone can fill out without signing in). The API lets you list wizards, inspect their input schema, and execute them programmatically against a target record.

The list, get, and schema endpoints require the TEAM_ADMIN_DATA_WIZARDS feature permission on your API key or token.

Key Concepts

  • Steps — Each wizard is an ordered sequence of steps. A step collects field values, displays information, requires authentication, or executes step tasks.
  • Step Tasks — Actions that run when a step is submitted: update fields, create a record, send a message, and so on. Tasks that collect input link to specific Data Fields.
  • Schema — The wizard's programmatic input shape: its steps, each step's tasks, and the fields each task collects (with data type and required flag).
  • Target record — Programmatic execution runs the wizard against an existing Data Record identified by dataRecordSimplyId.
  • Embeddable — Wizards can be embedded on external websites using the Simply360 embed library or accessed via a direct URL. See Embedding Data Views, Wizards, and the chat assistant.

A wizard's access settings are read-only from these endpoints today — author them in Wizard Studio's Share tab:

Field Description
enumActorAccessModeId Who can use the wizard: null for anyone with no sign-in needed, CONSTITUENT_PROTECTED, or TEAM_USER_PROTECTED.
constituentAccessPolicySimplyId The active Constituent Access Policy required when enumActorAccessModeId is CONSTITUENT_PROTECTED.
hostedModeEnabled Whether the wizard's own hosted page (/w/{slug}) is turned on.
embedModeEnabled Whether Website blocks, embed code, and Action Tags are allowed to run the wizard.
customDomainSimplyIds Active custom domains linked to serve the wizard's hosted page.

List Wizards

Returns the selected team's wizards, newest first. limit and offset are optional; omit them to return all wizards.

TypeScript SDK

const wizards = await s360.dataWizards.list();

for (const wizard of wizards.data) {
  console.log(`${wizard.id}: ${JSON.stringify(wizard.name)}`);
}

cURL

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

Get a Wizard

Retrieve a wizard's configuration including its ordered steps and firstStepId.

TypeScript SDK

const wizard = await s360.dataWizards.get('WIZD-1234-ABCD');
for (const step of wizard.data.steps ?? []) {
  console.log(`Step: ${JSON.stringify(step.title ?? step.name)}`);
}

cURL

curl -s "https://api.simply360.app/v1/data-wizards/WIZD-1234-ABCD" \
  -H "Authorization: Bearer $S360_API_KEY"

Get Wizard Schema

The schema endpoint returns just the input shape — useful for AI agents and code generators that need to know what to submit without parsing the full step tree. Steps contain tasks; tasks that collect input list their linked fields.

cURL

curl -s "https://api.simply360.app/v1/data-wizards/WIZD-1234-ABCD/schema" \
  -H "Authorization: Bearer $S360_API_KEY"

Response Shape

{
  "data": {
    "dataWizardSimplyId": "WIZD-1234-ABCD",
    "name": { "en": "Volunteer Signup" },
    "steps": [
      {
        "dataWizardStepSimplyId": "STEP-1234-ABCD",
        "title": { "en": "Contact Details" },
        "tasks": [
          {
            "dataWizardStepTaskSimplyId": "TASK-1234-ABCD",
            "type": "UPDATE_DATA_RECORD",
            "title": { "en": "Collect contact info" },
            "fields": [
              {
                "dataFieldSimplyId": "FLDS-EMAL-ADDR",
                "columnName": "emailAddress",
                "dataType": "EMAIL_ADDRESS",
                "name": { "en": "Email Address" },
                "isRequired": true
              }
            ]
          }
        ]
      }
    ]
  }
}

SDK: await s360.dataWizards.getSchema('WIZD-1234-ABCD') returns the same payload.

Check a Saved Wizard Before Publishing

Call GET /v1/data-wizards/{dataWizardSimplyId}/readiness or await s360.dataWizards.getReadiness(dataWizardSimplyId) after authoring changes are applied. OAuth callers need schema:read; every caller needs selected-Team Wizard view authority. The response contains advisory issues with stable IDs, explanations, and Studio links for access mismatches, unreachable steps, missing transitions, persistence configuration, UPDATE targets, and required calculated-name fields. It evaluates saved configuration, not an unexecuted draft, and does not publish or submit the Wizard.

For a wizard anyone can use without signing in, deliberately choose that access mode and compatible step access, connect every intended step, and define when data is saved. When required name inputs arrive on the last screen, collect earlier answers into typed temporary variables and create the response on that last screen. Setting executeWizardInNextAction to false does not suppress server-side CREATE or UPDATE execution. Relation options retain their own visibility rules; a readiness warning is never a grant to expose records.

This is also the tool for diagnosing "We couldn't open this form" on a published Wizard anyone can use without signing in. Readiness flags that kind of Wizard when its steps kept a protected actor requirement, and, for every field linked anywhere in the Wizard, reuses the exact classification/review-state rule the public Wizard definition endpoint applies (evaluatePublicWizardDefinitionExposure) — an unreviewed INTERNAL (or CONFIDENTIAL/RESTRICTED) field denies the entire public definition, and readiness names the field and step so the fix does not require reproducing the denial in a browser. It does not yet evaluate whether a relationship field's option list (its target Collection's records) is publicly resolvable; that remains a separate, unaudited exposure path.

Execute a Wizard

Run a wizard's steps and tasks server-side against a target Data Record. The body requires dataRecordSimplyId (the record to execute against) and accepts an optional formData object keyed by field id for tasks that collect input. The response confirms success and how many steps were processed.

Execution writes data. The caller needs the wizard's RUN data permission (system and team admins bypass this), and session tokens are not accepted on this endpoint.

TypeScript SDK

const result = await s360.dataWizards.execute('WIZD-1234-ABCD', {
  dataRecordSimplyId: 'WXYZ-5678-IJKL',
  formData: {
    'FLDS-FRST-NAME': 'Jane',
    'FLDS-LAST-NAME': 'Doe',
    'FLDS-EMAL-ADDR': 'jane@example.com',
  },
});

console.log(result.data); // { success, message, dataWizardSimplyId, dataRecordSimplyId }

cURL

curl -s -X POST "https://api.simply360.app/v1/data-wizards/WIZD-1234-ABCD/execute" \
  -H "Authorization: Bearer $S360_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "dataRecordSimplyId": "WXYZ-5678-IJKL",
    "formData": {
      "FLDS-FRST-NAME": "Jane",
      "FLDS-LAST-NAME": "Doe",
      "FLDS-EMAL-ADDR": "jane@example.com"
    }
  }'

Run Access

GET /v1/data-wizards/{dataWizardSimplyId}/run-access verifies that the signed-in user can run a wizard and returns run metadata (firstDataWizardStepSimplyId, stepCount). This endpoint accepts Cognito user authentication only — it backs first-party wizard launch surfaces and is not callable with an API key.

Authoring Operations

Wizard authoring is exposed as a privileged-tier surface (admin feature permissions required; not available to OAuth-scoped tokens): create/update/delete wizards (POST/PUT/DELETE /v1/data-wizards[/{dataWizardSimplyId}]), steps (/v1/data-wizard-steps), step tasks (/v1/data-wizard-step-tasks), task field and collection links, external-access collection links, plus admin-list, admin-detail, submission instances, and Studio readiness reads. Author wizards in Wizard Studio unless you are building schema tooling.

Conditional Field-Link Submission Text Update

PUT /v1/data-wizard-step-task-data-field-links/{dataFieldLinkSimplyId} accepts an optional field-specific If-Match header when changing contactVerificationSubmissionText. Its strong quoted tag is "s360-contact-verification-sha256-v1-<64 lowercase hex characters>", where the digest is SHA-256 of the current value's canonical JSON bytes (for an empty JSON string, hash the two bytes ""). This tag covers that property only; it is not a whole-link ETag. The server compares it against the current database value after locking the field-link row and returns HTTP 409 with code DATA_WIZARD_FIELD_LINK_PRECONDITION_FAILED if the value changed. A malformed tag returns HTTP 400 with code INVALID_FIELD_LINK_IF_MATCH. Omitting the header keeps the existing update behavior.

Before relying on this condition, read the owning task through GET /v1/data-wizard-step-tasks/{dataWizardStepTaskSimplyId}. A deployment that enforces the condition returns X-S360-Field-Link-If-Match: contact-verification-sha256-v1 on that authorized task read. If the header is absent or differs, stop before PUT; an older deployment may ignore If-Match. The TypeScript SDK's updateStepTaskDataFieldLink(id, body, ifMatchTag?) forwards the optional tag. The SDK's ordinary task response does not expose HTTP headers, so a caller requiring deployment proof must obtain the capability through an HTTP response that includes headers before using the SDK update.

GET /v1/data-wizards/constituent-access-policies lists the selected team's active Constituent Access Policies that allow running a Wizard, for building a picker when setting constituentAccessPolicySimplyId. Like Run Access above, this endpoint accepts Cognito session authentication only and requires permission to publish or share a Wizard; it is not callable with an API key.

Wizard Outcome Operations

Signed-in Cognito Team Users can use the privileged Wizard Studio outcome surface:

  • GET /v1/data-wizards/{dataWizardSimplyId}/outcomes returns success/error Automation summaries with public IDs and redacted execution status.
  • POST /v1/data-wizards/{dataWizardSimplyId}/outcome-presets/preview validates a guided preset and returns its canonical configuration, output/field/terminal manifest, generated content, blockers, warnings, and review fingerprint.
  • POST /v1/data-wizards/{dataWizardSimplyId}/outcome-presets/apply accepts that exact reviewed configuration, fingerprint, and idempotency key and atomically creates or updates the managed assets.
  • PATCH /v1/data-wizards/{dataWizardSimplyId}/outcomes/{automationSimplyId}/enabled enables or disables one same-Wizard Automation.

These operations are first-party privileged endpoints, not API-key or OAuth operations. Reads require Wizard view feature/object access; preview/apply/enablement require Wizard manage-settings access. Presets also enforce readable fields and relationship paths, same-Team active senders/recipients, Outgoing Message template permission, and fixed-recipient send permission where applicable. All entity references are public *SimplyId values. Use the generated OpenAPI schemas and TypeScript SDK rather than constructing untyped configuration.

Usage Notes

  • Use the schema endpoint to discover the inputs a wizard expects before calling execute — especially useful when the wizard configuration changes.
  • Execution runs the wizard's steps and tasks in sequence server-side and returns once processing completes; it preserves calculated names, generated-record side effects, and audit attribution.
  • Wizard completion can trigger automations (WIZARD_COMPLETED / WIZARD_COMPLETION_FAILED triggers). See API Reference: Automations.
  • Embedded wizards on third-party sites use the Simply360 embed library, which handles step-by-step interaction for end users — no API key in the browser.

Author Wizard Action Placements

Cognito-authenticated authoring clients can create, update, or remove one Action placement with PUT or DELETE /v1/data-wizards/{dataWizardSimplyId}/action-placements/{dataCollectionSimplyId}. These actions require Wizard publish authority and a fresh action confirmation. The SDK methods are dataWizards.upsertActionPlacement and dataWizards.deleteActionPlacement.

The optional body property scopedToDataWizardSimplyId is part of the placement identity. Omit it or pass null to select the global placement; pass a consuming Wizard's Simply ID to select that scope. Removing a placement preserves every other scope. Changing scope means creating the new placement and separately removing the old one.

Upsert settings are boolean showInCollectionHeaderActionMenu, showInRecordHeaderActionMenu, showInCollectionRowActionMenu, showInRecordRowActionMenu, showInExternalViews, and requiresUserInput. A new placement must enable at least one location; new links default to requiring user input. Responses include the public identity, settings, and CREATED, UPDATED, or DELETED status. Internal link IDs are not public API identifiers.

Set createOnly: true to refuse an existing placement. A successful result includes an opaque revision; send it as expectedRevision to refuse a missing, changed, or replaced placement during a later update or deletion. These checks run atomically and return HTTP 412 when the precondition fails. Do not combine create-only with an existing revision.

↑