POST

Clone Section


Developer Preview

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

Clones a section.

The cloned section is added to the same program after the current last section. Translation content and extended field data are copied to the cloned section.

This method triggers both a Section Created lifecycle event for the new section and a Section Cloned action event containing the source and cloned sections.

Steps are cloned asynchronously after this call returns. The section.total_steps value in the response may not reflect the eventual number of cloned steps. Until cloning finishes, Get, List, and Query calls may return a lower actual step count.

A program can contain up to 1,000 sections. This call fails if cloning the section would exceed that limit.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permission Scopes
Manage Online Programs
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/online-programs/v3/sections/{sectionId}/clone

Errors

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

Event TriggersThis method triggers the following events:
Did this help?