Copy form

Create a new form as a copy of an existing one, including its fields and person profile settings, and optionally its notifications and automations. The copy starts unpublished. Returns 400 with the message organization_archived_record_desc when the source form belongs only to archived organizations: it is that organization's read-only history. While multi-org is on, returns 400 with the message record_merchant_other_org_desc when the source form's merchant account is outside the copy's organizations. While multi-campus is on or an organization limit binds, a caller a campus limit or restricting override narrows at the permission gets a copy only where it holds: the campuses or organizations they name, or naming none, the source's campuses they hold, else the source's organizations they hold whole or the part they hold, else where a create naming no campus lands. The rest of the source drops. Every other caller's copy keeps the source's scope.

Required permission: Full Write Forms

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int32
required
≥ 1

The id of the form to copy.

Body Params

Details for the new form

string | null
required

The name of the new form.

boolean

Whether to copy the form's notification settings: the routing rules, the admin email, and the confirmation email.

boolean

Whether to copy the form's automations.

boolean

Whether to copy the automations configured on individual fields.

boolean

Whether to include hidden fields in the copy.

boolean

Whether to include hidden answer choices in the copy.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

401

Authentication is required, or the Ocs-Api-Key header is missing or invalid.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/plain
application/json
text/json