Setup Website for AI Marketing
aipush.website.setupRegister a website for AI marketing. Provide domain and target URL; if DNS not configured, returns CNAME instructions. After verification, starts MIP analysis and SSL provisioning.
Instructions
Register a website for AI marketing. Call with domain + target_url. If DNS is not configured, returns DNS_NOT_VERIFIED with exact CNAME record instructions — relay to user: reference.{domain} → cname.aipush.app. After user creates DNS record, call again. On success: client registered, MIP analysis starts automatically, SSL provisioning begins. Poll website_status until mip_status='ready' and cf_hostname_status='active', then use generate_page. Idempotent (AIPush)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| website_domain | Yes | Domain of the website to register (e.g. "example.com", "myhotel.com"). Must have a CNAME record: reference.{domain} → cname.aipush.app | |
| target_url | Yes | Target conversion URL — the single page all generated content will link to (e.g. "https://example.com/book", "https://myhotel.com/reserve"). Must be on the same domain. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. | |
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. |