1. Page
  • Welcome to the Cold Mail Reseller API
  • Get Started
    • Overview
    • Authentication
    • Quick Start
  • Core Concepts
    • Onebox
    • Users
    • Domains
    • DNS Management
    • Pre-Warmup
    • Mailbox Warmup
    • OAuth Exports
    • Platform Exports
    • Mailboxes
    • Sandbox API
    • 1+ Year Subscriptions
    • Subscriptions
    • Domain Renewal
  • API Reference
    • Users
      • List Users
      • Get User
      • Create User
      • Update User
      • Delete User
    • Geo
      • List Countries
      • List States
    • Domains
      • Domain Protection
      • Domain Renewal
        • Get Domain Renewal Prices
        • Renew Domains
        • Toggle Domain Auto-Renew
      • Get Domain
      • List Available Aged Domains
      • Order Aged Domains
      • Get Domains by User
      • Check Domain Availability
      • Check Single Domain Availability
      • Check Workspace Existence
      • Set Domain Forwarding
      • Set Email Forwarding
      • Delete Domains
      • Enable Domain Protection
      • Cancel Domain Protection
    • DNS
      • Get DNS Records
      • Add DNS Records
      • Update DNS Record
      • Update Nameservers
      • Delete DNS Record
    • Mailboxes
      • List Mailboxes
      • Get Mailboxes by User
      • Get Mailbox
      • Get Admin Mailbox Details
      • Update Mailbox Details
      • Delete Mailbox
    • Mailbox Warmup
      • Add Warmup to Mailbox
      • Toggle Warmup
      • Update Warmup Settings
      • Delete Warmup Subscription
    • Orders
      • Get Order Status
      • Get Order Details
      • Create Order
      • Create Order (JSON)
      • Create Mailbox Order (JSON)
      • Process Order
    • Subscriptions
      • 1+ Year Subscription
        • Recreate Subscription
      • Get Subscriptions
      • Renew Subscriptions
      • Cancel Subscription
      • Toggle Auto-Renewal
    • Exports
      • Platform Exports
        • Get Platform Credentials
        • Get Platform Workspaces
        • Add Platform Credential
        • Export Mailboxes to Platform
        • Update Platform Credential
        • Remove Platform Credential
      • OAuth Exports
        • Perform OAuth
        • Add Client ID to Domains
    • Pre-Warmup
      • Sandbox
        • Get Sandbox Pre-warmup Domains
        • Order Sandbox Pre-warmup
        • Reset Sandbox Pre-warmup
      • Get Pre-warmup Domains
      • Order Pre-warmup
    • Placement Test
      • Create Placement Order
      • Get Placement Reports
    • Onebox
      • Connect Mailbox
      • List Connected Mailboxes
      • List Emails
      • Get Thread
      • Search Emails
      • Act On Thread
      • List Labels
      • Create Label
      • Rename Label
      • Delete Label
      • Send Email
      • Disconnect Mailbox
    • ZapSites
      • ZapSites: how the flow fits together
      • Page
        • Scan Destination
          POST
        • Check Existing Sites For Destination
          GET
        • List ZapSites
          GET
        • Create ZapSite
          POST
        • Get ZapSite
          GET
        • Update ZapSite
          PATCH
        • Delete ZapSite
          DELETE
        • Duplicate ZapSite
          POST
      • Copy & Versions
        • Regenerate ZapSite Copy
        • List ZapSite Versions
        • Preview ZapSite Version
        • Rollback ZapSite
      • Preview & Leads
        • Preview ZapSite
        • List ZapSite Leads
        • Send Test Lead Alert
      • Deploy & Deployments
        • Deploy ZapSite
        • Update Deployment Settings
        • Remove Deployment
  • Resources
    • Errors
    • Rate Limits
    • Pagination
    • Sandbox
    • MCP
  • Webhooks
    • Overview
    • Events
      • DNS Events
      • Subscription Events
      • Prewarmup Events
      • Mailbox Warmup Events
      • Mailbox Events
      • Domain Events
  • Schemas
    • Error
    • Success
    • MessageResponse
    • User
    • Domain
    • ErrorResponse
    • Mailbox
    • Subscription
    • DnsRecord
    • Error Response
    • Pagination Meta
    • Action Error Response
    • PrewarmupOrderResult
    • OrderCreationResult
  1. Page

Create ZapSite

POST
/zap-sites
Use this once you have a scan (or at least a destination URL) and are ready to actually generate a page. It creates a new ZapSite and kicks off AI page generation, returning immediately (201) with status: "GENERATING". Poll GET /zap-sites/:id until status flips to DRAFT (copy ready, or FAILED) before previewing or deploying. An undeployed site settles at DRAFT, not LIVE: it only becomes LIVE once it is deployed to a domain.
Pass the object POST /zap-sites/scan gave you back as scan, so the generator has real page context instead of guessing from destination_url alone. audience and cta_label from the scan's suggested_audiences/suggested_cta_label are good defaults too.
Limits: 3 ZapSites per customer (deleted ones don't count, a 4th live one is a 409), and page generation shares the same hourly cap as POST /:id/regenerate.

Example#

POST /zap-sites?userId=H8M9JV2S9HMPYFQW393AZHQVD4XM
{"destination_url": "https://www.example.com", "name": "Example Landing Page", "cta_label": "Start free trial"}

Request

Authorization
API Key
Add parameter in header
cmr-x-api-key
Example:
cmr-x-api-key: ********************
or
Query Params

Body Params application/jsonRequired

Examples

Responses

🟢201Created
application/json
ZapSite created — page generation started
Bodyapplication/json

🟠401Unauthorized
🟠422Validation Error
🟠429Too Many Requests
🟠409Site Limit Reached
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://customers.coldmailreseller.com/api/v1/integration/zap-sites?userId=H8M9JV2S9HMPYFQW393AZHQVD4XM' \
--header 'cmr-x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
    "destination_url": "https://www.example.com",
    "name": "Example Landing Page",
    "cta_label": "Start free trial",
    "audience": [
        "string"
    ],
    "campaign_context": "string",
    "theme": "auto",
    "scan": {}
}'
Response Response Example
201 - Example 1
{
    "status": 201,
    "message": "ZapSite created — page generation started",
    "data": {
        "id": "SITECCHMN86W734P8PMM3E53EW82HCC2",
        "name": "Example Landing Page",
        "status": "GENERATING",
        "destinationUrl": "string",
        "campaignContext": "string",
        "audience": [
            "string"
        ],
        "ctaLabel": "string",
        "theme": "auto",
        "version": 0,
        "copy": {
            "headline": "Run outbound at scale and land in the primary inbox",
            "subheadline": "string",
            "seo_title": "string",
            "cta_secondary_label": "string"
        },
        "formFields": [],
        "lastError": null,
        "notifyEmail": "string",
        "slackWebhook": "string",
        "counts": {
            "leads": 0,
            "visitors": 0,
            "ctaClicks": 0
        },
        "deployments": [
            {
                "id": "6bbaaa0a-d8a7-4619-b329-9cde8820fd19",
                "domain": "example.com",
                "status": "QUEUED",
                "lastError": null,
                "indexing": true,
                "tracking": true,
                "formEnabled": true,
                "createdAt": "string",
                "updatedAt": "string"
            }
        ],
        "createdAt": "string",
        "updatedAt": "string"
    }
}
Modified at 2026-10-26 10:21:35
Previous
List ZapSites
Next
Get ZapSite
Built with