Register domain
domains.registerRegister a new custom domain. DNS records (TXT token + MX) must then be added before verification can succeed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Domain name, e.g. mail.example.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Domain ID | |
| name | Yes | Domain name | |
| status | Yes | DNS verification status | |
| mxTarget | No | MX target to add to the domain's DNS before verification | |
| txtToken | No | TXT token to add to the domain's DNS before verification | |
| createdAt | No | Creation timestamp (RFC 3339) |