POST

Save Project Design


Developer Preview

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

Saves a project's design as a new draft release.

Specify the complete design-token document in tokensJson, and the release that the user is currently viewing in baseReleaseId. The new draft release branches from baseReleaseId, even if a newer release exists. Saving a design doesn't change the project's live app.

The response includes the ID of the new release and a short-lived token for previewing it. After the save, the project's headReleaseId is set to the new release.

To record the saved version in a conversation, specify the conversation's ID in conversationId. A CHECKPOINT message is then added to the conversation. If the checkpoint can't be added, the design is still saved.

For a new HIMALAYA_MOBILE project, call Claim Himalaya App and specify its returned canonicalApp when saving the design. For an already claimed project, call Get Himalaya Authorization and specify the returned canonicalApp.

Permission Scopes
Manage AppSmith Projects
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/containers/projects/v1/projects/{projectId}/save-design

Errors

This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?