| Field | Type | Required |
|---|---|---|
id | string (UUID) | Yes |
| Field | Type | Required | Notes |
|---|---|---|---|
domainIds | string[] (UUID) | Yes | 1–500 domain UUIDs owned by the caller. |
indexing | boolean | No | Allow search engine indexing. Defaults to false. |
tracking | boolean | No | Enable pageview/CTA tracking. Defaults to true. |
form_enabled | boolean | No | Enable the lead-capture form. Defaults to true. |
curl --location --request GET 'https://api.zapmail.ai/api/v2/zap-sites//deploy' \
--header 'x-auth-zapmail: YOUR_API_KEY' \
--header 'x-workspace-id: workspace_123' \
--header 'x-service-provider: GOOGLE' \
--header 'Content-Type: application/json' \
--data '{
"domainIds": [
"c1a2b3c4-d5e6-4f70-8a9b-1c2d3e4f5a6b",
"a2b3c4d5-e6f7-4081-9a0b-2c3d4e5f6a7b"
],
"indexing": false,
"tracking": true,
"form_enabled": true
}'{
"status": 202,
"message": "ZapSite deployment started",
"data": {
"site": {
"id": "5b1e0c2a-4f3e-4a9d-9c7c-6a2b6e1a7d10",
"status": "LIVE",
"version": 2
},
"queued": [
{
"domainId": "c1a2b3c4-d5e6-4f70-8a9b-1c2d3e4f5a6b",
"domain": "example-outreach.com",
"deploymentId": "d3f1a2b4-5c6d-4e7f-8a9b-0c1d2e3f4a5b"
}
],
"skipped": [
{
"domainId": "a2b3c4d5-e6f7-4081-9a0b-2c3d4e5f6a7b",
"domain": "already-live-outreach.com",
"reason": "Domain is already serving a ZapSite"
}
]
}
}