Email Domains
Add company domain
Add a new email domain for the company. This initiates the domain verification process. After creation, you must:
- Add a TXT record to your DNS with the verification token
- Call POST /company/domains/{id}/verify-ownership to verify domain ownership
- Call POST /company/domains/{id}/finalize to register with email provider
- Add the returned DNS records (SPF, DKIM, etc.)
- Call POST /company/domains/{id}/verify-dns to complete verification
post/company/domains
Request body
Example request
{
"domain": "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.