DMARC Report icon

DMARC Report

API documentation for DMARC Report v2. Provides endpoints for managing accounts, domains, aggregate reports, forensic (failure) reports, MTA-STS reports, postmaster account records, and account members.

Domains → Add a domain

AI-generated

Summary

Add a new domain to a specified account in the DMARC Report system by sending a POST request to the /accounts/{account_id}/domains.json endpoint.

Inputs

  • Account Id (required) — The ID of the account under which to add the domain.
  • Domain (required) — JSON object representing the domain details to add.
  • Options — Optional settings including custom JSON body (merged with Domain), custom HTTP headers, query-string filters, batching parameters, debug toggle, pagination settings, and request timeout in milliseconds.

Output shape

a JSON object representing the API response to the add domain request, including details of the newly created domain or error information

If debug is enabled, the output also includes a debug entry showing the actual URL, headers, query parameters, and body sent. Batching and pagination options affect how multiple input items are processed but typically one domain is added per request.

Links

Discussion