Domains API
Connect custom domains and subdomains to your workspace, manage DNS verification, and create URL mappings to route visitors to specific forms.List Domains
Response
Add Domain
Add a custom domain or subdomain. Subdomains (yourslug.zevform.com) are verified automatically. Custom domains require DNS verification.
Response
DNS Setup
For custom domains, create a CNAME record pointing to:Get Domain
Response
Verify Domain
Trigger DNS verification for a pending custom domain.Response
Delete Domain
Removes the domain and all its URL mappings.URL Mappings
Map URL paths on your domain to specific forms.List URL Mappings
Response
Create URL Mapping
| Parameter | Type | Required | Description |
|---|---|---|---|
form_id | string | Yes | ID of the form to map |
slug | string | Yes | URL path (lowercase letters, numbers, hyphens) |
is_default | boolean | No | Show this form at the root of the domain |