VerifyEmailDomain checks DNS configuration for custom domains.
POST/api/v1/engagements/integrations/email/:channelConfigId/verify
Triggers a verification check with Mailgun to validate that the required DNS records have been configured correctly.
Verification Process
- Calls Mailgun API to check DNS records
- Updates domain_state based on result
- Returns updated record status
Errors
- NOT_FOUND: Configuration does not exist
- FAILED_PRECONDITION: Domain type is sandbox (no verification needed)
Request
Responses
- 200
- default
A successful response.
An unexpected error response.