Email Domains
Add workspace domain
Add a new email domain for a specific workspace. This initiates the domain verification process. After creation, you must:
- Add a TXT record to your DNS with the verification token
- Call POST /workspace/{workspace_id}/domains/{id}/verify-ownership to verify domain ownership
- Call POST /workspace/{workspace_id}/domains/{id}/finalize to register with email provider
- Add the returned DNS records (SPF, DKIM, etc.)
- Call POST /workspace/{workspace_id}/domains/{id}/verify-dns to complete verification
post/workspace/{workspace_id}/domains
Path parameters
workspace_idstring uuid required
Workspace ID
Request body
Example request
{
"domain": "sales.acme.com"
}Response
Domain created successfully. Add the verification TXT record to your DNS.
Example response
{
"verification_instructions": {
"record_type": "TXT",
"record_name": "_firma-verification.acme.com",
"record_value": "firma-verify=abc123xyz",
"next_step": "Add this TXT record to your DNS, then call POST /company/domains/{id}/verify-ownership"
}
}Changes
No recorded changes to this endpoint across all 1 revision of this API.