Email
Set up email on a domain
Pre-configure email DNS on a domain (optional). This is called automatically by create_mailbox when needed. Pass force=true to override existing email provider (Google Workspace, Fastmail, Proton).
post/api/domains/{domain}/email/setup
Request
- Base URL: https://domani.run
- URL: https://domani.run/api/domains/{domain}/email/setup
- Auth: HTTP bearer
Path parameters
domainstring required
Domain name
Request body
Response
Email set up successfully
Example response
{
"records": [
{
"name": "@",
"value": "76.76.21.21",
"ttl": 3600
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.