This is API documentation of Dmarc Report.
Dmarc Report supports basic HTTP token based authentication. To get API token, follow these instructions.
Signup for Dmarc Report at app.dmarcreport.com.
After logging in, click on your profile icon and select API Tokens from the dropdown.
Click on New Api Token.
Select privileges for this token and click save.
To authenticate, you need to set Authorization header with Token token=<token>.
So your Authorization header should look like:
Authorization: Token token=6fdd07dd6c3e36440cc8ae64282181ecf71f7d0437bf35b3f01f9f99eb518
| Resource | Description |
|---|---|
| GET https://api.dmarcreport.com/v2/accounts | List accounts |
| POST https://api.dmarcreport.com/v2/accounts.json | Add account |
| PUT https://api.dmarcreport.com/v2/accounts/:id.json | Updates account |
| DELETE https://api.dmarcreport.com/v2/accounts/:id.json | Delete account |
| Resource | Description |
|---|---|
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:domain_id/agg_reports.json | List, Search and Paginate Aggregte Reports |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:domain_id/agg_reports/records.json | Get all the details of a Aggregte Reports records |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:domain_id/agg_reports/:id.json | Get all the details of a Aggregte Report |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:domain_id/agg_reports/agg_report_stats | Get Aggregate Report Stats of domain |
| Resource | Description |
|---|---|
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domain_accounts | List domain accounts |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domain_accounts/:id | Details of domain account |
| POST https://api.dmarcreport.com/v2/accounts/:account_id/domain_accounts.json | Add domains in account |
| DELETE https://api.dmarcreport.com/v2/accounts/:account_id/domain_accounts/:domain_accounts_id.json | Delete domain from account |
| Resource | Description |
|---|---|
| GET https://api.dmarcreport.com/v2/all_domains.json | List of all Domains |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains.json | List of all domains in given account |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:id.json | Get all the details of a Domain |
| POST https://api.dmarcreport.com/v2/accounts/:account_id/domains.json | Add your domain |
| PUT https://api.dmarcreport.com/v2/accounts/:account_id/domains/:id.json | Update domain settings |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:id/hosted_services.json | Get hosted services status and CNAME records |
| POST https://api.dmarcreport.com/v2/accounts/:account_id/domains/:id/verify_hosted_dmarc.json | Verify hosted DMARC CNAME propagation |
| POST https://api.dmarcreport.com/v2/accounts/:account_id/domains/:id/verify_hosted_mta_sts.json | Verify hosted MTA-STS CNAME propagation |
| DELETE https://api.dmarcreport.com/v2/accounts/:account_id/domains/:id.json | Delete a domain |
| Resource | Description |
|---|---|
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:domain_id/forensic_reports.json | List, Search and Paginate Failure Reports |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:domain_id/forensic_reports/:id.json | Get all the details of a Failure Report |
| Resource | Description |
|---|---|
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:domain_id/mta_sts_reports.json | List, Search and Paginate MTA Reports |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:domain_id/mta_sts_reports/mta_failure_details.json | List, Search and Paginate MTA Reports |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/domains/:domain_id/mta_sts_reports/:id.json | Get all the details of a MTA Report |
| Resource | Description |
|---|---|
| GET https://api.dmarcreport.com/v2/postmaster_account_records.json | Cumulative data of all domains of a Postmaster Account |
| GET https://api.dmarcreport.com/v2/postmaster_account_records/:id.json | Details of a Postmaster Account domain. |
| GET https://api.dmarcreport.com/v2/postmaster_account_records/connected.json | List of connected Postmaster Accounts. |
| Resource | Description |
|---|---|
| GET https://api.dmarcreport.com/v2/accounts/:account_id/user_accounts | List user accounts |
| GET https://api.dmarcreport.com/v2/accounts/:account_id/user_accounts/:id | Details of user account |
| POST https://api.dmarcreport.com/v2/accounts/:account_id/user_accounts.json | Add user in account |
| PUT https://api.dmarcreport.com/v2/accounts/:account_id/user_accounts/:id.json | Update user in account |
| DELETE https://api.dmarcreport.com/v2/accounts/:account_id/user_accounts/:id.json | Delete user from account |