POST

Get Dynamic Schema


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

This endpoint returns a JSON schema object that's used to dynamically update the fields available to a Wix user when they configure an automation.

Wix calls this endpoint when a user selects an option from an item selection filter configured for a trigger. Wix appends the returned schema to the payload schema you defined for the trigger and makes the fields available to the Wix user's automation.

Endpoint
POST
{DEPLOYMENT-URI}/dynamic-schema
Body Params
triggerKeystringRequiredminLength 1maxLength 100

Trigger key as defined in your app's trigger configuration in the app dashboard. For example, form_submitted or invoice_due.


selectedFilterOptionsArray <SelectedFilterOptions>maxItems 5

Current selection state of the trigger's filters.

Response Object
dynamicSchemastruct

A JSON schema corresponding to the filter selection sent in the request.

Dynamic schema request sent by Wix

Dynamic schema request with a sample response body

Request
cURL
Response
JSON
Errors
ProviderNotFoundobjectstatus code: 404
Did this help?