Landing Pages

Duplicate landing page

Copies a landing page into a new draft with its own slug, views, and conversions. The original keeps its published URL and stats.

post/landing-pages/{landingPageId}/duplicate

Path parameters

landingPageIdstring required

Landing page ID to copy

Request body

namestring

Name for the copy. Defaults to the original name with a "(copy)" suffix.

slugstring

Slug for the copy. Normalized and made unique within the company.

Response

Landing page duplicated

successboolean
messagestring

Example response

{
  "success": true,
  "landingPage": {
    "id": "lp_abc123",
    "companyId": "comp_abc123",
    "name": "Product Waitlist",
    "slug": "product-waitlist",
    "status": "published",
    "content": {
      "version": 2,
      "template": "waitlist",
      "seo": {
        "faviconUrl": "https://acme.com/favicon.png"
      }
    },
    "viewCount": 1240,
    "conversionCount": 186,
    "url": "https://sequenzy.com/dashboard/company/comp_abc123/landing-pages/lp_abc123",
    "appPublicUrl": "https://sequenzy.com/lp/comp_abc123/product-waitlist",
    "customDomain": "offer.example.com",
    "publicUrl": "https://pages.example.com/product-waitlist",
    "previewUrl": "https://sequenzy.com/lp/preview/lp_abc123?token=..."
  }
}

Changes

Changed in 6 of the 123 revisions of this API.311

    • added the optional property landingPage/previewUrl to the response with the 200 status

      response-optional-property-added

    • added the optional property landingPage/content/theme to the response with the 200 status

      response-optional-property-added

    • added the optional property landingPage/customDomain to the response with the 200 status

      response-optional-property-added

    • added the optional property landingPage/customDomainScope to the response with the 200 status

      response-optional-property-added

    • added the optional property retryable to the response with the 400 status

      response-optional-property-added

    • added the optional property retryable to the response with the 401 status

      response-optional-property-added

    • added the optional property retryable to the response with the 404 status

      response-optional-property-added

    • added the optional property code to the response with the 400 status

      response-optional-property-added

    • added the optional property code to the response with the 401 status

      response-optional-property-added

    • added the optional property code to the response with the 404 status

      response-optional-property-added

    • the response property success became optional for the status 400

      response-property-became-optional

    • the response property success became optional for the status 401

      response-property-became-optional

    • the response property success became optional for the status 404

      response-property-became-optional

    • endpoint added

      endpoint-added