{"docs":{"name":"Dmarc Report","info":"\n<p>This is API documentation of <strong>Dmarc Report<\/strong>.<\/p>\n\n<h3 id=\"auth\">Auth<\/h3>\n\n<p><strong>Dmarc Report<\/strong> supports basic HTTP token based authentication. To get API token, follow these instructions.<\/p>\n\n<ol>\n<li>\n<p>Signup for <strong>Dmarc Report<\/strong> at <code>app.dmarcreport.com<\/code>.<\/p>\n<\/li>\n\n<li>\n<p>After logging in, click on your profile icon and select <code>API Tokens<\/code> from the dropdown.<\/p>\n<\/li>\n\n<li>\n<p>Click on <code>New Api Token<\/code>.<\/p>\n<\/li>\n\n<li>\n<p>Select privileges for this token and click save.<\/p>\n<\/li>\n<\/ol>\n\n<p>To authenticate, you need to set <code>Authorization<\/code> header with <code>Token token=&lt;token&gt;<\/code>.<\/p>\n\n<p>So your <code>Authorization<\/code> header should look like:<\/p>\n\n<p><code>\n  Authorization: Token token=6fdd07dd6c3e36440cc8ae64282181ecf71f7d0437bf35b3f01f9f99eb518\n<\/code><\/p>\n","copyright":null,"doc_url":"\/api\/2.0","api_url":"https:\/\/api.dmarcreport.com","resources":{"accounts":{"doc_url":"\/api\/2.0\/accounts","id":"accounts","api_url":"https:\/\/api.dmarcreport.com","name":"Accounts","short_description":"          List of all accounts.\n          Plus you can add, remove and veiw details of account.\n","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/accounts\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts","http_method":"GET","short_description":"List accounts","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n    \"note\": \"When updating or deleting an account, you can use either the 'id' (numeric) or 'slug' in the URL parameter. For example: PUT \/v2\/accounts\/1473 or PUT \/v2\/accounts\/my-team\",\n    \"owned_accounts\": [\n        {\n            \"id\": 1462,\n            \"title\": \"Default\",\n            \"slug\": \"default-16243a33-8c11-4989-85e1-0b4a09943a05\",\n            \"created_at\": \"2023-02-22T08:59:26.246Z\",\n            \"updated_at\": \"2023-02-22T08:59:26.246Z\",\n            \"user_id\": 1\n        },\n        {\n            \"id\": 1473,\n            \"title\": \"QA testing update\",\n            \"slug\": \"qa-testing\",\n            \"created_at\": \"2023-02-23T13:10:03.072Z\",\n            \"updated_at\": \"2023-04-07T06:44:16.693Z\",\n            \"user_id\": 1\n        }\n\n    ],\n    \"accounts\": [\n        {\n            \"id\": 1487,\n            \"title\": \"testingNew\",\n            \"slug\": \"testingnew\",\n            \"created_at\": \"2023-03-01T11:09:29.357Z\",\n            \"updated_at\": \"2023-03-01T11:09:29.357Z\",\n            \"user_id\": 1\n        },\n        {\n            \"id\": 1488,\n            \"title\": \"testing\",\n            \"slug\": \"testing-ff8ed30a-1b65-4a89-bd22-19d358a1a9bc\",\n            \"created_at\": \"2023-03-01T11:09:29.455Z\",\n            \"updated_at\": \"2023-03-01T11:09:29.455Z\",\n            \"user_id\": 1\n        }\n    ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/accounts\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:id","http_method":"GET","short_description":"Get account details","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>The :id parameter can be either the numeric ID or the slug of the account<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"id","full_name":"id","description":"\n<p>Account ID (numeric, e.g., \u201c1473\u201d) or slug (e.g., \u201cmy-team\u201d)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"id\": 1473,\n  \"title\": \"QA testing update\",\n  \"slug\": \"qa-testing\",\n  \"created_at\": \"2023-02-23T13:10:03.072Z\",\n  \"updated_at\": \"2026-04-07T06:44:16.693Z\",\n  \"user_id\": 1,\n  \"domains_count\": 8\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/accounts\/create","name":"create","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts.json","http_method":"POST","short_description":"Add account","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"account","full_name":"account","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"title","full_name":"account[title]","description":"\n<p>title of account<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/accounts\/update","name":"update","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:id.json","http_method":"PUT","short_description":"Updates account","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>The :id parameter can be either the numeric ID or the slug of the account<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"id","full_name":"id","description":"\n<p>Account ID (numeric, e.g., \u201c1473\u201d) or slug (e.g., \u201cmy-team\u201d)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"account","full_name":"account","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"title","full_name":"account[title]","description":"\n<p>Title of team<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/accounts\/destroy","name":"destroy","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:id.json","http_method":"DELETE","short_description":"Delete account","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>The :id parameter can be either the numeric ID or the slug of the account<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"id","full_name":"id","description":"\n<p>Account ID (numeric, e.g., \u201c1473\u201d) or slug (e.g., \u201cmy-team\u201d)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/accounts\/compliance_summary","name":"compliance_summary","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:id\/compliance_summary","http_method":"GET","short_description":"Get DMARC compliance summary for all domains in account","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns an overall DMARC compliance scorecard for all domains in an account. Uses a single optimized database query to fetch stats for all domains at once.<\/p>\n\n<p>Response includes: - <code>total_domains<\/code>: Number of domains in the account - <code>active_domains<\/code>: Domains with email volume in the period - <code>total_email_volume<\/code>: Total emails across all domains - <code>overall_compliance_rate<\/code>: Weighted average compliance rate - <code>policy_distribution<\/code>: Count of domains by DMARC policy (none\/quarantine\/reject) - <code>grade_distribution<\/code>: Count of domains by security grade (A-F) - <code>domains_needing_attention<\/code>: Domains with grade D or F - <code>domains_ready_to_advance<\/code>: Domains ready for stronger policy - <code>domains<\/code>: Per-domain breakdown with policy, compliance, volume, grade, and readiness<\/p>\n\n<p>Each domain includes readiness indicators: - <code>ready_to_advance<\/code>: Boolean - true if domain can move to stronger policy - <code>advance_to<\/code>: Target policy (quarantine or reject) if ready - <code>readiness_note<\/code>: Human-readable status message - <code>at_max_protection<\/code>: True when at p=reject with 98%+ compliance<\/p>\n\n<p>Grades reflect current protection level: - A: p=reject with 98%+ compliance (full protection) - B: p=reject 90%+ OR p=quarantine 90%+ compliance - C: p=reject 80%+ OR p=quarantine 80%+ OR p=none 90%+ - D: p=reject 70%+ OR p=quarantine 70%+ OR p=none 70%+ - F: Below 70% or no DMARC policy<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"id","full_name":"id","description":"\n<p>Account ID (numeric or slug)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"days","full_name":"days","description":"\n<p>Number of days to analyze (default: 30, max: 90)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"account_id\": 1473,\n  \"account_name\": \"My Company\",\n  \"period\": {\n    \"start_date\": \"2026-05-01\",\n    \"end_date\": \"2026-05-31\",\n    \"days\": 30\n  },\n  \"total_domains\": 5,\n  \"active_domains\": 4,\n  \"total_email_volume\": 12500,\n  \"overall_compliance_rate\": 94.2,\n  \"policy_distribution\": {\n    \"none\": 1,\n    \"quarantine\": 2,\n    \"reject\": 1,\n    \"not_set\": 1\n  },\n  \"grade_distribution\": {\n    \"A\": 1,\n    \"B\": 2,\n    \"C\": 1,\n    \"D\": 0,\n    \"F\": 1\n  },\n  \"domains_needing_attention\": [\n    {\n      \"id\": 105,\n      \"address\": \"legacy.example.com\",\n      \"policy\": \"not_set\",\n      \"compliance_rate\": 0,\n      \"volume\": 0,\n      \"grade\": \"F\",\n      \"ready_to_advance\": false,\n      \"readiness_note\": \"Configure DMARC policy to begin protection\"\n    }\n  ],\n  \"domains_ready_to_advance\": [\n    {\n      \"id\": 101,\n      \"address\": \"example.com\",\n      \"policy\": \"none\",\n      \"compliance_rate\": 96.5,\n      \"volume\": 8500,\n      \"grade\": \"C\",\n      \"ready_to_advance\": true,\n      \"advance_to\": \"quarantine\",\n      \"readiness_note\": \"96.5% compliance achieved - ready to enable quarantine policy\"\n    },\n    {\n      \"id\": 102,\n      \"address\": \"mail.example.com\",\n      \"policy\": \"quarantine\",\n      \"compliance_rate\": 99.1,\n      \"volume\": 2500,\n      \"grade\": \"B\",\n      \"ready_to_advance\": true,\n      \"advance_to\": \"reject\",\n      \"readiness_note\": \"99.1% compliance achieved - ready for full reject policy\"\n    }\n  ],\n  \"domains\": [\n    {\n      \"id\": 101,\n      \"address\": \"example.com\",\n      \"policy\": \"none\",\n      \"compliance_rate\": 96.5,\n      \"volume\": 8500,\n      \"grade\": \"C\",\n      \"ready_to_advance\": true,\n      \"advance_to\": \"quarantine\",\n      \"readiness_note\": \"96.5% compliance achieved - ready to enable quarantine policy\"\n    },\n    {\n      \"id\": 102,\n      \"address\": \"mail.example.com\",\n      \"policy\": \"quarantine\",\n      \"compliance_rate\": 99.1,\n      \"volume\": 2500,\n      \"grade\": \"B\",\n      \"ready_to_advance\": true,\n      \"advance_to\": \"reject\",\n      \"readiness_note\": \"99.1% compliance achieved - ready for full reject policy\"\n    },\n    {\n      \"id\": 103,\n      \"address\": \"marketing.example.com\",\n      \"policy\": \"quarantine\",\n      \"compliance_rate\": 92.3,\n      \"volume\": 1200,\n      \"grade\": \"B\",\n      \"ready_to_advance\": false,\n      \"readiness_note\": \"92.3% compliance - needs 98% for reject\"\n    },\n    {\n      \"id\": 104,\n      \"address\": \"support.example.com\",\n      \"policy\": \"reject\",\n      \"compliance_rate\": 99.5,\n      \"volume\": 300,\n      \"grade\": \"A\",\n      \"ready_to_advance\": false,\n      \"at_max_protection\": true,\n      \"readiness_note\": \"Full protection achieved - maintain current policy\"\n    },\n    {\n      \"id\": 105,\n      \"address\": \"legacy.example.com\",\n      \"policy\": \"not_set\",\n      \"compliance_rate\": 0,\n      \"volume\": 0,\n      \"grade\": \"F\",\n      \"ready_to_advance\": false,\n      \"readiness_note\": \"Configure DMARC policy to begin protection\"\n    }\n  ]\n}\n"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"agg_reports":{"doc_url":"\/api\/2.0\/agg_reports","id":"agg_reports","api_url":"https:\/\/api.dmarcreport.com","name":"Agg reports","short_description":"          List, Search and Paginate the Aggregate Reports.\n          Plus get all the details of an individual Aggregat Report.\n","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/agg_reports\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/agg_reports.json","http_method":"GET","short_description":"List, Search and Paginate Aggregte Reports","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"q","full_name":"q","description":"\n<p>Params for Ransack Search<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"org_name_eq","full_name":"q[org_name_eq]","description":"\n<p>Search by Reporter<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"date_begin_gteq","full_name":"q[date_begin_gteq]","description":"\n<p>Search by date begin, Format: YYYY-MM-DD<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"date_begin_lteq","full_name":"q[date_begin_lteq]","description":"\n<p>Search by date end, Format: YYYY-MM-DD<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"page","full_name":"page","description":"\n<p>Page Number<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per","full_name":"per","description":"\n<p>Entries per page.<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"reports\": [\n    {\n      \"id\": 1,\n      \"raw_xml\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>...\",\n      \"org_name\": \"google.com\",\n      \"email\": \"noreply-dmarc-support@google.com\",\n      \"extra_contact_info\": \"https:\/\/support.google.com\/a\/answer\/2466580\",\n      \"report_id\": \"1627703331531660819\",\n      \"date_begin\": \"2019-02-10T00:00:00.000Z\",\n      \"date_end\": \"2019-02-10T23:59:59.000Z\",\n      \"policy_domain\": \"twlnet.com\",\n      \"dkim_alignment\": \"s\",\n      \"spf_alignment\": \"s\",\n      \"domain_policy\": \"reject\",\n      \"subdomain_policy\": \"reject\",\n      \"percentage\": 100,\n      \"domain_id\": 1,\n      \"created_at\": \"2019-10-10T11:47:11.613Z\",\n      \"updated_at\": \"2019-10-10T11:47:11.613Z\",\n      \"records_count\": null,\n      \"report_email_message_id\": null\n    },\n    {\n      \"id\": 2,\n      \"raw_xml\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>...\",\n      \"org_name\": \"google.com\",\n      \"email\": \"noreply-dmarc-support@google.com\",\n      \"extra_contact_info\": \"https:\/\/support.google.com\/a\/answer\/2466580\",\n      \"report_id\": \"949348866075514174\",\n      \"date_begin\": \"2019-02-12T00:00:00.000Z\",\n      \"date_end\": \"2019-02-12T23:59:59.000Z\",\n      \"policy_domain\": \"borschow.com\",\n      \"dkim_alignment\": \"r\",\n      \"spf_alignment\": \"r\",\n      \"domain_policy\": \"reject\",\n      \"subdomain_policy\": \"reject\",\n      \"percentage\": 100,\n      \"domain_id\": 1,\n      \"created_at\": \"2019-10-10T11:48:07.386Z\",\n      \"updated_at\": \"2019-10-10T11:48:07.386Z\",\n      \"records_count\": null,\n      \"report_email_message_id\": null\n    },\n    ...\n  ],\n  \"meta\": {\n    \"total_reports\": 5,\n    \"current_page\": 1,\n    \"per_page\": 25,\n    \"total_pages\": 2\n  }\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/agg_reports\/records","name":"records","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/agg_reports\/records.json","http_method":"GET","short_description":"Get all the details of a Aggregte Reports records","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Each record\u2019s <code>ip_address<\/code> now includes an <code>email_service<\/code> block when the source IP matches a known mail provider in our research database. See the <code>agg_reports\/:id<\/code> endpoint description for the block shape and semantics \u2014 both endpoints return the same enrichment.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"q","full_name":"q","description":"\n<p>Params for Ransack Search<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"agg_report_date_begin_gteq","full_name":"q[agg_report_date_begin_gteq]","description":"\n<p>Search by start date of agg report format: \u201cmm-dd-yyyy\u201d<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"agg_report_date_end_gteq","full_name":"q[agg_report_date_end_gteq]","description":"\n<p>Search by end date of agg report format: \u201cmm-dd-yyyy\u201d<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"agg_report_org_name_eq","full_name":"q[agg_report_org_name_eq]","description":"\n<p>Search by search by reporter<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip_address_source_ip_eq","full_name":"q[ip_address_source_ip_eq]","description":"\n<p>Search by source ip<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip_address_ptr_eq","full_name":"q[ip_address_ptr_eq]","description":"\n<p>Search by PTR<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip_address_country_eq","full_name":"q[ip_address_country_eq]","description":"\n<p>Search by country alpha2 code e.g. \u201cus\u201d for \u201cUnited States of America\u201d<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"count_eq","full_name":"q[count_eq]","description":"\n<p>Search by for Volume<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"disposition_eq","full_name":"q[disposition_eq]","description":"\n<p>Search by Applied Policy<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none<\/code>, <code>quarantine<\/code>, <code>reject<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"spf_alignment_eq","full_name":"q[spf_alignment_eq]","description":"\n<p>Search by SPF Alignment: true for Aligned, false for Unaligned<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"spf_status_eq","full_name":"q[spf_status_eq]","description":"\n<p>Search by SPF<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>pass<\/code>, <code>fail<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"spf_result_eq","full_name":"q[spf_result_eq]","description":"\n<p>Search by SPF Auth Result<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none<\/code>, <code>neutral<\/code>, <code>pass<\/code>, <code>fail<\/code>, <code>softfail<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"spf_domain_eq","full_name":"q[spf_domain_eq]","description":"\n<p>Search by SPF Domain<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"spf_domain_eq","full_name":"q[spf_domain_eq]","description":"\n<p>Search by SPF Auth Scope<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"reason_eq","full_name":"q[reason_eq]","description":"\n<p>Search by Policy Override Reason<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>forwarded<\/code>, <code>sampled_out<\/code>, <code>trusted_forwarder<\/code>, <code>mailing_list<\/code>, <code>local_policy<\/code>, <code>policy_test_mode<\/code>, <code>other<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dkim_alignment_eq","full_name":"q[dkim_alignment_eq]","description":"\n<p>Search by DKIM Alignment: true for Aligned, false for Unaligned<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dkim_status_eq","full_name":"q[dkim_status_eq]","description":"\n<p>Search by DKIM<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>pass<\/code>, <code>fail<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dkims_result_eq","full_name":"q[dkims_result_eq]","description":"\n<p>Search by DKIM Auth result<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none<\/code>, <code>neutral<\/code>, <code>pass<\/code>, <code>fail<\/code>, <code>softfail<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dkims_domain_eq","full_name":"q[dkims_domain_eq]","description":"\n<p>Search by DKIM Domain<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dkims_selector_eq","full_name":"q[dkims_selector_eq]","description":"\n<p>Search by DKIM selector<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"dmarc_compliance_eq","full_name":"q[dmarc_compliance_eq]","description":"\n<p>Search by DMARC Compliance: 0 for complaint, 1 for non compliant and 2 for forwarded<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>0<\/code>, <code>1<\/code>, <code>2<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"page","full_name":"page","description":"\n<p>Page Number<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per","full_name":"per","description":"\n<p>Entries per page.<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"records\": [\n    {\n      \"id\": 1,\n      \"count\": 1,\n      \"disposition\": \"none\",\n      \"dkim_status\": \"pass\",\n      \"spf_status\": \"pass\",\n      \"reason\": \"\",\n      \"org_name\": \"google.com\",\n      \"header_from\": \"twlnet.com\",\n      \"dmarc_compliance\": \"Compliant\",\n      \"is_in_spf_record\": true,\n      \"created_at\": \"2019-02-10T18:42:17.000Z\",\n      \"updated_at\": \"2019-02-10T18:42:17.000Z\",\n      \"auth_results\": [\n        {\n          \"id\": 1,\n          \"type\": \"Dkim\",\n          \"domain\": \"twlnet.com\",\n          \"result\": \"pass\",\n          \"selector\": \"201810\",\n          \"created_at\": \"2019-02-10T18:42:17.000Z\",\n          \"updated_at\": \"2019-02-10T18:42:17.000Z\"\n        },\n        {\n          \"id\": 2,\n          \"type\": \"Spf\",\n          \"domain\": \"twlnet.com\",\n          \"result\": \"pass\",\n          \"selector\": \"\",\n          \"created_at\": \"2019-02-10T18:42:17.000Z\",\n          \"updated_at\": \"2019-02-10T18:42:17.000Z\"\n        }\n      ],\n      \"ip_address\": {\n        \"id\": 3,\n        \"sane_source_ip\": \"87.106.127.28\",\n        \"blacklisted\": 0,\n        \"ptr\": \"ec2-52-30-166-6.eu-west-1.compute.amazonaws.com\",\n        \"country\": \"de\",\n        \"created_at\": \"2019-02-09T11:03:55.000Z\",\n        \"updated_at\": \"2026-04-15T08:21:33.000Z\",\n        \"email_service\": {\n          \"id\": 1042,\n          \"name\": \"Google\",\n          \"ptr_domain\": \"google.com\",\n          \"service_type\": \"sender\",\n          \"supports_dkim\": true,\n          \"supports_spf\": true,\n          \"supports_dmarc\": true,\n          \"dkim_setup_url\": \"https:\/\/support.google.com\/a\/answer\/180504\",\n          \"spf_setup_url\": \"https:\/\/support.google.com\/a\/answer\/33786\",\n          \"data_source\": \"research_database\",\n          \"last_updated\": \"2026-04-15T08:21:33.000Z\"\n        }\n      }\n    }\n  ],\n  \"meta\": {\n    \"total_reports\": 8421,\n    \"current_page\": 1,\n    \"per_page\": 25,\n    \"total_pages\": 12\n  }\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/agg_reports\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/agg_reports\/:id.json","http_method":"GET","short_description":"Get all the details of a Aggregte Report","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Each record\u2019s <code>ip_address<\/code> now includes an <code>email_service<\/code> block when the source IP matches a known mail provider in our research database (Google, Office 365, Mailgun, SendGrid, etc.). The block identifies the service, classifies it as sender vs. forwarder, and surfaces capability flags (supports_dkim\/spf\/dmarc) plus setup URLs. Returns <code>email_service: null<\/code> when no match is found. Use <code>is_in_spf_record<\/code> on the record level for the authoritative SPF-alignment check \u2014 <code>email_service<\/code> describes what the IP IS, not whether it\u2019s authorised for this domain.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n  \"id\": 1,\n  \"raw_xml\": \"<?xml version=\\\"1.0\\\" encoding=\\\"UTF-8\\\"?>...\",\n  \"report_id\": \"1627703331531660819\",\n  \"org_name\": \"google.com\",\n  \"email\": \"noreply-dmarc-support@google.com\",\n  \"extra_contact_info\": \"https:\/\/support.google.com\/a\/answer\/2466580\",\n  \"date_begin\": \"2019-02-10T00:00:00.000Z\",\n  \"date_end\": \"2019-02-10T23:59:59.000Z\",\n  \"policy_domain\": \"twlnet.com\",\n  \"dkim_alignment\": \"s\",\n  \"spf_alignment\": \"s\",\n  \"domain_policy\": \"reject\",\n  \"subdomain_policy\": \"reject\",\n  \"percentage\": 100,\n  \"domain_id\": 1,\n  \"records_count\": 1,\n  \"report_email_message_id\": \"CADzZ48nQp+vKj7Bz1xJqQ@mail.gmail.com\",\n  \"created_at\": \"2019-02-11T03:14:00.000Z\",\n  \"updated_at\": \"2019-02-11T03:14:00.000Z\",\n  \"records\": [\n    {\n      \"id\": 1,\n      \"count\": 1,\n      \"disposition\": \"none\",\n      \"dkim_status\": \"pass\",\n      \"spf_status\": \"pass\",\n      \"reason\": \"\",\n      \"header_from\": \"twlnet.com\",\n      \"dmarc_compliance\": \"Compliant\",\n      \"is_in_spf_record\": true,\n      \"created_at\": \"2019-02-10T18:42:17.000Z\",\n      \"updated_at\": \"2019-02-10T18:42:17.000Z\",\n      \"auth_results\": [\n        {\n          \"id\": 1,\n          \"type\": \"Dkim\",\n          \"domain\": \"twlnet.com\",\n          \"result\": \"pass\",\n          \"selector\": \"201810\",\n          \"created_at\": \"2019-02-10T18:42:17.000Z\",\n          \"updated_at\": \"2019-02-10T18:42:17.000Z\"\n        },\n        {\n          \"id\": 2,\n          \"type\": \"Spf\",\n          \"domain\": \"twlnet.com\",\n          \"result\": \"pass\",\n          \"selector\": \"\",\n          \"created_at\": \"2019-02-10T18:42:17.000Z\",\n          \"updated_at\": \"2019-02-10T18:42:17.000Z\"\n        }\n      ],\n      \"ip_address\": {\n        \"id\": 3,\n        \"sane_source_ip\": \"87.106.127.28\",\n        \"blacklisted\": 0,\n        \"ptr\": \"ec2-52-30-166-6.eu-west-1.compute.amazonaws.com\",\n        \"country\": \"de\",\n        \"created_at\": \"2019-02-09T11:03:55.000Z\",\n        \"updated_at\": \"2026-04-15T08:21:33.000Z\",\n        \"email_service\": {\n          \"id\": 1042,\n          \"name\": \"Google\",\n          \"ptr_domain\": \"google.com\",\n          \"service_type\": \"sender\",\n          \"supports_dkim\": true,\n          \"supports_spf\": true,\n          \"supports_dmarc\": true,\n          \"dkim_setup_url\": \"https:\/\/support.google.com\/a\/answer\/180504\",\n          \"spf_setup_url\": \"https:\/\/support.google.com\/a\/answer\/33786\",\n          \"data_source\": \"research_database\",\n          \"last_updated\": \"2026-04-15T08:21:33.000Z\"\n        }\n      }\n    }\n  ]\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/agg_reports\/agg_report_stats","name":"agg_report_stats","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/agg_reports\/agg_report_stats","http_method":"GET","short_description":"Get Aggregate Report Stats of domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Response now includes alignment-based counts alongside compliance counts: <code>spf_count<\/code> and <code>dkim_count<\/code> (record volume where SPF\/DKIM authentication passed) and <code>reject_count<\/code> (record volume where the applied disposition was reject). These are sourced from <code>Record.stats_count<\/code>. Existing fields \u2014 compliant, non_compliant, forwarded, total, none, quarantine, reject \u2014 remain unchanged.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"q","full_name":"q","description":"\n<p>Params for Ransack Search<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"start_date","full_name":"q[start_date]","description":"\n<p>Search by date begin, Format: YYYY-MM-DD<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"end_date","full_name":"q[end_date]","description":"\n<p>Search by date end, Format: YYYY-MM-DD<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"filter","full_name":"filter","description":"\n<p>Search by filter, Format: \u201clast_7_days, last_10_days, last_15_days, last_30_days<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"compliant\": 4174,\n  \"non_compliant\": 166,\n  \"forwarded\": 1,\n  \"total\": 4355,\n  \"none\": 4188,\n  \"quarantine\": 1,\n  \"reject\": 166,\n  \"spf_count\": 4188,\n  \"dkim_count\": 3902,\n  \"reject_count\": 166\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/agg_reports\/top_sources","name":"top_sources","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/agg_reports\/top_sources","http_method":"GET","short_description":"Get top email sources for a domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns the top email sources (senders) for a domain, aggregated by PTR domain.<\/p>\n\n<p>Each source includes: - <code>source<\/code>: The PTR domain of the sending servers (e.g., \u201cgoogle.com\u201d, \u201csendgrid.net\u201d) - <code>total<\/code>: Total email volume from this source - <code>compliant<\/code>: DMARC-compliant emails (passed authentication) - <code>non_compliant<\/code>: Non-compliant emails (failed authentication) - <code>compliance_rate<\/code>: Percentage of compliant emails (0-100)<\/p>\n\n<p>Sources are sorted by total volume (highest first).<\/p>\n\n<p>Use this to identify: - Your legitimate email services and their authentication status - High-volume senders that may need SPF\/DKIM configuration - Unknown sources that could be spoofing attempts<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"q","full_name":"q","description":"\n<p>Params for date filtering<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"start_date","full_name":"q[start_date]","description":"\n<p>Start date, Format: YYYY-MM-DD<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"end_date","full_name":"q[end_date]","description":"\n<p>End date, Format: YYYY-MM-DD<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"filter","full_name":"filter","description":"\n<p>Preset filter: last_7_days, last_10_days, last_15_days, last_30_days (default: last_30_days)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"limit","full_name":"limit","description":"\n<p>Maximum number of sources to return (default: 10, max: 50)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"domain\": \"example.com\",\n  \"period\": {\n    \"start_date\": \"2026-05-01\",\n    \"end_date\": \"2026-05-31\"\n  },\n  \"total_sources\": 5,\n  \"sources\": [\n    {\n      \"source\": \"google.com\",\n      \"total\": 450,\n      \"compliant\": 448,\n      \"non_compliant\": 2,\n      \"compliance_rate\": 99.6\n    },\n    {\n      \"source\": \"sendgrid.net\",\n      \"total\": 120,\n      \"compliant\": 85,\n      \"non_compliant\": 35,\n      \"compliance_rate\": 70.8\n    },\n    {\n      \"source\": \"mailchimp.com\",\n      \"total\": 75,\n      \"compliant\": 75,\n      \"non_compliant\": 0,\n      \"compliance_rate\": 100.0\n    },\n    {\n      \"source\": \"Unknown\",\n      \"total\": 45,\n      \"compliant\": 0,\n      \"non_compliant\": 45,\n      \"compliance_rate\": 0.0\n    },\n    {\n      \"source\": \"amazonses.com\",\n      \"total\": 30,\n      \"compliant\": 28,\n      \"non_compliant\": 2,\n      \"compliance_rate\": 93.3\n    }\n  ]\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/agg_reports\/alignment_failures","name":"alignment_failures","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/agg_reports\/alignment_failures","http_method":"GET","short_description":"Get SPF\/DKIM alignment failures ranked by volume","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns email sources that are failing DMARC authentication, ranked by failure volume.<\/p>\n\n<p>Each failure entry includes: - <code>source<\/code>: The PTR domain of the failing sender - <code>failure_count<\/code>: Number of non-compliant emails - <code>percentage_of_total_failures<\/code>: This source\u2019s share of all failures<\/p>\n\n<p>Use this to identify: - Legitimate services that need SPF\/DKIM configuration - Potential spoofing sources to investigate - Priority order for remediation (highest volume first)<\/p>\n\n<p>Note: Sources with email_service identification can be cross-referenced with get_email_sources to find setup instructions for SPF\/DKIM configuration.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"q","full_name":"q","description":"\n<p>Params for date filtering<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"start_date","full_name":"q[start_date]","description":"\n<p>Start date, Format: YYYY-MM-DD<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"end_date","full_name":"q[end_date]","description":"\n<p>End date, Format: YYYY-MM-DD<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"filter","full_name":"filter","description":"\n<p>Preset filter: last_7_days, last_10_days, last_15_days, last_30_days (default: last_30_days)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"limit","full_name":"limit","description":"\n<p>Maximum number of failures to return (default: 20, max: 100)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"domain\": \"example.com\",\n  \"period\": {\n    \"start_date\": \"2026-05-01\",\n    \"end_date\": \"2026-05-31\"\n  },\n  \"total_failure_sources\": 4,\n  \"total_failure_count\": 84,\n  \"failures\": [\n    {\n      \"source\": \"Unknown\",\n      \"failure_count\": 45,\n      \"percentage_of_total_failures\": 53.6\n    },\n    {\n      \"source\": \"sendgrid.net\",\n      \"failure_count\": 35,\n      \"percentage_of_total_failures\": 41.7\n    },\n    {\n      \"source\": \"google.com\",\n      \"failure_count\": 2,\n      \"percentage_of_total_failures\": 2.4\n    },\n    {\n      \"source\": \"amazonses.com\",\n      \"failure_count\": 2,\n      \"percentage_of_total_failures\": 2.4\n    }\n  ]\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/agg_reports\/trends","name":"trends","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/agg_reports\/trends","http_method":"GET","short_description":"Get DMARC compliance trends over time","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns daily compliance statistics for analyzing trends over time.<\/p>\n\n<p>Response includes: - <code>data_points<\/code>: Array of daily statistics sorted by date (oldest first) - <code>summary<\/code>: Aggregated statistics for the entire period<\/p>\n\n<p>Each data point includes: - <code>date<\/code>: The date (YYYY-MM-DD) - <code>compliant<\/code>: DMARC-compliant email count - <code>non_compliant<\/code>: Non-compliant email count - <code>forwarded<\/code>: Forwarded email count - <code>total<\/code>: Total email volume - <code>compliance_rate<\/code>: Daily compliance percentage<\/p>\n\n<p>Use this to: - Visualize compliance improvements over time - Identify sudden drops in authentication rates - Track the impact of SPF\/DKIM configuration changes - Monitor for potential email spoofing incidents<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"q","full_name":"q","description":"\n<p>Params for date filtering<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"start_date","full_name":"q[start_date]","description":"\n<p>Start date, Format: YYYY-MM-DD<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"end_date","full_name":"q[end_date]","description":"\n<p>End date, Format: YYYY-MM-DD<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"filter","full_name":"filter","description":"\n<p>Preset filter: last_7_days, last_10_days, last_15_days, last_30_days, last_60_days, last_90_days (default: last_30_days)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"domain\": \"example.com\",\n  \"period\": {\n    \"start_date\": \"2026-05-01\",\n    \"end_date\": \"2026-05-31\"\n  },\n  \"data_points\": [\n    {\n      \"date\": \"2026-05-01\",\n      \"compliant\": 145,\n      \"non_compliant\": 12,\n      \"forwarded\": 3,\n      \"total\": 160,\n      \"compliance_rate\": 90.6\n    },\n    {\n      \"date\": \"2026-05-02\",\n      \"compliant\": 152,\n      \"non_compliant\": 8,\n      \"forwarded\": 2,\n      \"total\": 162,\n      \"compliance_rate\": 93.8\n    },\n    {\n      \"date\": \"2026-05-03\",\n      \"compliant\": 138,\n      \"non_compliant\": 15,\n      \"forwarded\": 5,\n      \"total\": 158,\n      \"compliance_rate\": 87.3\n    },\n    {\n      \"date\": \"2026-05-04\",\n      \"compliant\": 167,\n      \"non_compliant\": 6,\n      \"forwarded\": 2,\n      \"total\": 175,\n      \"compliance_rate\": 95.4\n    },\n    {\n      \"date\": \"2026-05-05\",\n      \"compliant\": 171,\n      \"non_compliant\": 4,\n      \"forwarded\": 1,\n      \"total\": 176,\n      \"compliance_rate\": 97.2\n    }\n  ],\n  \"summary\": {\n    \"total_days\": 5,\n    \"total_volume\": 831,\n    \"total_compliant\": 773,\n    \"total_non_compliant\": 45,\n    \"total_forwarded\": 13,\n    \"overall_compliance_rate\": 93.0\n  }\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/agg_reports\/pdf_report","name":"pdf_report","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/agg_reports\/pdf","http_method":"GET","short_description":"Download PDF audit report for a domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns a branded PDF audit report containing DMARC compliance data, authentication statistics, and email source analysis for the specified date range.<\/p>\n\n<p>The PDF includes: - Executive summary with security grade (A-F) - Compliance overview with SPF\/DKIM\/DMARC stats - Daily message volume chart - Email source categorization (authenticated, needs config, unauthenticated) - MTA-STS report (if enabled) - Recommendations and next steps<\/p>\n\n<p>White-labeled accounts receive branded reports with their custom logo.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"start_date","full_name":"start_date","description":"\n<p>Start date (YYYY-MM-DD). Defaults to 30 days ago.<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"end_date","full_name":"end_date","description":"\n<p>End date (YYYY-MM-DD). Defaults to today.<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"filter","full_name":"filter","description":"\n<p>Preset filter: last_7_days, last_10_days, last_15_days, last_30_days, last_60_days, last_90_days<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"alerts":{"doc_url":"\/api\/2.0\/alerts","id":"alerts","api_url":"https:\/\/api.dmarcreport.com","name":"Alerts","short_description":"Manage email authentication alerts","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/alerts\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/alerts","http_method":"GET","short_description":"List all alerts for an account","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns all alerts configured for domains in the specified account.<\/p>\n\n<p><strong>Alert Types:<\/strong> - <code>metric<\/code>: Triggered when a metric threshold is exceeded (e.g., emails_reported &gt; 1000) - <code>event<\/code>: Triggered by specific events (e.g., new_subdomain_detected, dmarc_changed) - <code>summary<\/code>: Periodic summary reports<\/p>\n\n<p><strong>Event Types:<\/strong> - <code>new_subdomain_detected<\/code>: New subdomain sending email detected - <code>new_forensic_report<\/code>: New forensic (failure) report received - <code>spf_dkim_alignments_and_delivery_rate_drops<\/code>: Authentication alignment drops - <code>dmarc_changed<\/code>: DMARC record changed - <code>spf_changed<\/code>: SPF record changed - <code>mx_changed<\/code>: MX record changed - <code>low_message_credits<\/code>: Message credits running low<\/p>\n\n<p><strong>Metric Types:<\/strong> - <code>emails_reported<\/code>: Total emails in reports - <code>compliant<\/code>: DMARC-compliant emails - <code>non_compliant<\/code>: Non-compliant emails - <code>threats<\/code>: Suspicious\/threat emails<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"active","full_name":"active","description":"\n<p>Filter by active status<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"alert_type","full_name":"alert_type","description":"\n<p>Filter by alert type<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>metric<\/code>, <code>event<\/code>, <code>summary<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/alerts\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/alerts\/:id","http_method":"GET","short_description":"Get alert details","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns detailed information about a specific alert including all associated domains.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"bimi_status":{"doc_url":"\/api\/2.0\/bimi_status","id":"bimi_status","api_url":"https:\/\/api.dmarcreport.com","name":"Bimi status","short_description":"Get BIMI status for a domain","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/bimi_status\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/bimi_status","http_method":"GET","short_description":"Get BIMI status for a domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns the complete BIMI (Brand Indicators for Message Identification) status for a domain.<\/p>\n\n<p><strong>Response includes:<\/strong> - <code>dns_status<\/code>: DMARC and BIMI DNS record status - <code>dmarc_valid<\/code>: Whether DMARC record meets BIMI requirements (p=quarantine or p=reject with pct=100) - <code>dmarc_policy<\/code>: Current DMARC policy value - <code>dmarc_pct<\/code>: Current DMARC percentage value - <code>bimi_record_found<\/code>: Whether a BIMI TXT record exists - <code>bimi_record_value<\/code>: The current BIMI TXT record value - <code>logo_status<\/code>: BIMI logo upload status (if applicable) - <code>uploaded<\/code>: Whether a logo has been uploaded - <code>public_url<\/code>: CDN URL for the logo - <code>valid_for_bimi<\/code>: Whether the logo passes BIMI validation - <code>validation_errors<\/code>: Any validation issues - <code>repairs_applied<\/code>: Automatic fixes applied during upload - <code>certificate_status<\/code>: VMC\/CMC certificate status (if applicable) - <code>has_certificate<\/code>: Whether a certificate is attached - <code>certificate_type<\/code>: \u2018vmc\u2019 or \u2018cmc\u2019 - <code>certificate_valid<\/code>: Whether certificate is valid - <code>expires_at<\/code>: Certificate expiry date - <code>days_until_expiry<\/code>: Days remaining until expiry - <code>expiring_soon<\/code>: True if expires within 30 days - <code>recommended_record<\/code>: The BIMI DNS record to publish - <code>readiness<\/code>: Overall BIMI readiness assessment - <code>ready<\/code>: Whether domain is ready for BIMI - <code>blockers<\/code>: List of issues preventing BIMI - <code>recommendations<\/code>: Suggested improvements<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"domain_accounts":{"doc_url":"\/api\/2.0\/domain_accounts","id":"domain_accounts","api_url":"https:\/\/api.dmarcreport.com","name":"Account domains","short_description":"          List of all domains in your account.\n          Plus you can add, remove and veiw details of domains in your account.\n","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/domain_accounts\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domain_accounts","http_method":"GET","short_description":"List domain accounts","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n    \"owner_email\": \"abc@xyz.org\",\n    \"account_managements\": [\n        {\n            \"id\": 116,\n            \"account_id\": 13,\n            \"account_title\": \"team1\",\n            \"domain_id\": 2595,\n            \"domain_address\": \"api-v3.com\",\n            \"timestamp\": null\n        },\n        {\n            \"id\": 117,\n            \"account_id\": 13,\n            \"account_title\": \"team1\",\n            \"domain_id\": 2597,\n            \"domain_address\": \"api.com\",\n            \"timestamp\": null\n        }\n    ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domain_accounts\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domain_accounts\/:id","http_method":"GET","short_description":"Details of domain account","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n    \"id\": 11,\n    \"domain_id\": 255,\n    \"account_id\": 184,\n    \"timestamp\": null\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domain_accounts\/create","name":"create","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domain_accounts.json","http_method":"POST","short_description":"Add domains in account","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"domain_account","full_name":"domain_account","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"account_attributes","full_name":"domain_account[account_attributes]","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"id","full_name":"domain_account[account_attributes][id]","description":"\n<p>id of account, in which you want to add domains<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domain_ids","full_name":"domain_account[account_attributes][domain_ids]","description":"\n<p>ids of domain you want to add in this account.<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]}]}]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domain_accounts\/destroy","name":"destroy","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domain_accounts\/:domain_accounts_id.json","http_method":"DELETE","short_description":"Delete domain from account","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"domains":{"doc_url":"\/api\/2.0\/domains","id":"domains","api_url":"https:\/\/api.dmarcreport.com","name":"Domains","short_description":"          List all the domains of the user. Plus get all the details of an individual Domain.\n","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/domains\/all_domains","name":"all_domains","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/all_domains.json","http_method":"GET","short_description":"List of all Domains","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns a list of all domains across all accounts for the authenticated user.<\/p>\n\n<p><strong>Response includes:<\/strong> - <code>parked_domain<\/code> (boolean): Indicates if the domain is parked (true) or live (false). Parked domains have limited message volume. - <code>tags<\/code> (array): Array of tag objects associated with the domain, each containing id, name, and color.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n    \"domains\": [\n        {\n            \"id\": 2593,\n            \"user_id\": 1,\n            \"address\": \"123.com\",\n            \"slug\": \"123-com\",\n            \"rua_report\": true,\n            \"ruf_report\": true,\n            \"mta_sts_report\": null,\n            \"dmarc_status\": \"dmarc_record_published\",\n            \"mta_sts_status\": \"mta_sts_inactive\",\n            \"parked_domain\": false,\n            \"created_at\": \"2023-03-31T11:49:04.099Z\",\n            \"updated_at\": \"2023-04-06T16:00:41.258Z\",\n            \"tags\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Production\",\n                    \"color\": \"#3B82F6\"\n                }\n            ],\n            \"dmarc_record\": \"v=DMARC1; p=quarantine; rua=mailto:rua@dmarcinput.com\",\n            \"dmarc_record_errors\": null,\n            \"spf_record\": \"v=spf1 include:_spf.google.com ~all\"\n        },\n        {\n            \"id\": 2503,\n            \"user_id\": 1,\n            \"address\": \"sampledomain.com\",\n            \"slug\": \"sampledomain-com\",\n            \"rua_report\": true,\n            \"ruf_report\": true,\n            \"mta_sts_report\": false,\n            \"dmarc_status\": \"dmarc_inactive\",\n            \"mta_sts_status\": \"mta_sts_inactive\",\n            \"parked_domain\": true,\n            \"created_at\": \"2022-04-15T11:05:05.212Z\",\n            \"updated_at\": \"2023-04-06T16:00:26.839Z\",\n            \"tags\": [],\n            \"dmarc_record\": null,\n            \"dmarc_record_errors\": null,\n            \"spf_record\": null\n        },\n        {\n            \"id\": 2596,\n            \"user_id\": 1,\n            \"address\": \"dmarcreport.com\",\n            \"slug\": \"dmarcreport-com\",\n            \"rua_report\": true,\n            \"ruf_report\": true,\n            \"mta_sts_report\": true,\n            \"dmarc_status\": \"dmarc_record_published\",\n            \"mta_sts_status\": \"mta_sts_active\",\n            \"parked_domain\": false,\n            \"created_at\": \"2022-04-15T11:05:05.212Z\",\n            \"updated_at\": \"2023-04-06T16:00:26.839Z\",\n            \"tags\": [\n                {\n                    \"id\": 2,\n                    \"name\": \"Client-A\",\n                    \"color\": \"#10B981\"\n                },\n                {\n                    \"id\": 3,\n                    \"name\": \"Enterprise\",\n                    \"color\": \"#F59E0B\"\n                }\n            ],\n            \"dmarc_record\": \"v=DMARC1; p=reject; sp=reject; rua=mailto:rua@dmarcinput.com; ruf=mailto:ruf@dmarcinput.com\",\n            \"dmarc_record_errors\": null,\n            \"spf_record\": \"v=spf1 ip4:198.51.100.0\/24 include:_spf.google.com -all\"\n        }\n    ]\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains.json","http_method":"GET","short_description":"List of all domains in given account","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns a list of all domains in the specified account.<\/p>\n\n<p><strong>Response includes:<\/strong> - <code>parked_domain<\/code> (boolean): Indicates if the domain is parked (true) or live (false). Parked domains have limited message volume. - <code>tags<\/code> (array): Array of tag objects associated with the domain, each containing id, name, and color.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n    \"domains\": [\n        {\n            \"id\": 2593,\n            \"user_id\": 1,\n            \"address\": \"123.com\",\n            \"slug\": \"123-com\",\n            \"rua_report\": true,\n            \"ruf_report\": true,\n            \"mta_sts_report\": null,\n            \"dmarc_status\": \"dmarc_record_published\",\n            \"mta_sts_status\": \"mta_sts_inactive\",\n            \"parked_domain\": false,\n            \"created_at\": \"2023-03-31T11:49:04.099Z\",\n            \"updated_at\": \"2023-04-06T16:00:41.258Z\",\n            \"tags\": [\n                {\n                    \"id\": 1,\n                    \"name\": \"Production\",\n                    \"color\": \"#3B82F6\"\n                }\n            ],\n            \"dmarc_record\": \"v=DMARC1; p=quarantine; rua=mailto:rua@dmarcinput.com\",\n            \"dmarc_record_errors\": null,\n            \"spf_record\": \"v=spf1 include:_spf.google.com ~all\"\n        },\n        {\n            \"id\": 2503,\n            \"user_id\": 1,\n            \"address\": \"sampledomain.com\",\n            \"slug\": \"sampledomain-com\",\n            \"rua_report\": true,\n            \"ruf_report\": true,\n            \"mta_sts_report\": false,\n            \"dmarc_status\": \"dmarc_inactive\",\n            \"mta_sts_status\": \"mta_sts_inactive\",\n            \"parked_domain\": true,\n            \"created_at\": \"2022-04-15T11:05:05.212Z\",\n            \"updated_at\": \"2023-04-06T16:00:26.839Z\",\n            \"tags\": [],\n            \"dmarc_record\": null,\n            \"dmarc_record_errors\": null,\n            \"spf_record\": null\n        },\n        {\n            \"id\": 2596,\n            \"user_id\": 1,\n            \"address\": \"dmarcreport.com\",\n            \"slug\": \"dmarcreport-com\",\n            \"rua_report\": true,\n            \"ruf_report\": true,\n            \"mta_sts_report\": true,\n            \"dmarc_status\": \"dmarc_record_published\",\n            \"mta_sts_status\": \"mta_sts_active\",\n            \"parked_domain\": false,\n            \"created_at\": \"2022-04-15T11:05:05.212Z\",\n            \"updated_at\": \"2023-04-06T16:00:26.839Z\",\n            \"tags\": [\n                {\n                    \"id\": 2,\n                    \"name\": \"Client-A\",\n                    \"color\": \"#10B981\"\n                },\n                {\n                    \"id\": 3,\n                    \"name\": \"Enterprise\",\n                    \"color\": \"#F59E0B\"\n                }\n            ],\n            \"dmarc_record\": \"v=DMARC1; p=reject; sp=reject; rua=mailto:rua@dmarcinput.com; ruf=mailto:ruf@dmarcinput.com\",\n            \"dmarc_record_errors\": null,\n            \"spf_record\": \"v=spf1 ip4:198.51.100.0\/24 include:_spf.google.com -all\"\n        }\n    ]\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:id.json","http_method":"GET","short_description":"Get all the details of a Domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns detailed information about a specific domain.<\/p>\n\n<p>The :id parameter can be either the numeric ID or the slug of the domain.<\/p>\n\n<p><strong>Response includes:<\/strong> - <code>parked_domain<\/code> (boolean): Indicates if the domain is parked (true) or live (false). Parked domains have limited message volume. - <code>tags<\/code> (array): Array of tag objects associated with the domain, each containing id, name, and color.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"id","full_name":"id","description":"\n<p>Domain ID (numeric, e.g., \u201c123\u201d) or slug (e.g., \u201cexample-com\u201d)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"id\": 16,\n  \"user_id\": 1,\n  \"address\": \"abc.com\",\n  \"slug\": \"abc-com\",\n  \"rua_report\": true,\n  \"ruf_report\": true,\n  \"mta_sts_report\": true,\n  \"dmarc_status\": \"dmarc_active\",\n  \"mta_sts_status\": \"mta_sts_active\",\n  \"parked_domain\": false,\n  \"hosted_dmarc\": true,\n  \"hosted_mta_sts\": true,\n  \"created_at\": \"2020-04-21T23:33:47.526Z\",\n  \"updated_at\": \"2026-04-06T16:00:24.086Z\",\n  \"tags\": [\n    {\n      \"id\": 1,\n      \"name\": \"Production\",\n      \"color\": \"#3B82F6\"\n    },\n    {\n      \"id\": 2,\n      \"name\": \"Client-A\",\n      \"color\": \"#10B981\"\n    }\n  ],\n  \"dmarc_record\": \"v=DMARC1; p=quarantine; sp=reject; pct=100; rua=mailto:rua@dmarcinput.com; ruf=mailto:ruf@dmarcinput.com; adkim=r; aspf=r; fo=0; rf=afrf; ri=86400\",\n  \"dmarc_record_errors\": null,\n  \"dmarc_record_parsed\": {\n    \"policy\": \"quarantine\",\n    \"subdomain_policy\": \"reject\",\n    \"pct\": \"100\",\n    \"rua\": \"mailto:rua@dmarcinput.com\",\n    \"ruf\": \"mailto:ruf@dmarcinput.com\",\n    \"adkim\": \"r\",\n    \"aspf\": \"r\",\n    \"fo\": \"0\",\n    \"rf\": \"afrf\",\n    \"ri\": \"86400\",\n    \"np\": null,\n    \"psd\": null,\n    \"t\": null,\n    \"updated_at\": \"2026-05-20T10:14:22.000Z\"\n  },\n  \"spf_record\": \"v=spf1 include:_spf.google.com include:mailgun.org ~all\",\n  \"spf_tree\": {\n    \"directive\": \"v=spf1\",\n    \"includes\": [\n      { \"host\": \"_spf.google.com\", \"directive\": \"include:_spf.google.com\" },\n      { \"host\": \"mailgun.org\", \"directive\": \"include:mailgun.org\" }\n    ],\n    \"qualifier\": \"~all\"\n  },\n  \"spf_dns_queries\": 6,\n  \"hosted_services\": {\n    \"dmarc\": {\n      \"enabled\": true,\n      \"cname_status\": \"found\",\n      \"cname_record\": {\n        \"host\": \"_dmarc.abc.com\",\n        \"value\": \"abc-com._d.dmarcinput.com\",\n        \"type\": \"CNAME\"\n      }\n    },\n    \"mta_sts\": {\n      \"enabled\": true,\n      \"policy_cname\": {\n        \"status\": \"found\",\n        \"host\": \"mta-sts.abc.com\",\n        \"value\": \"abc-com.mta-sts.dmarcinput.com\",\n        \"type\": \"CNAME\"\n      },\n      \"record_cname\": {\n        \"status\": \"found\",\n        \"host\": \"_mta-sts.abc.com\",\n        \"value\": \"abc-com._m.dmarcinput.com\",\n        \"type\": \"CNAME\"\n      },\n      \"tls_rpt_cname\": {\n        \"status\": \"found\",\n        \"host\": \"_smtp._tls.abc.com\",\n        \"value\": \"abc-com._smtp_tls.dmarcinput.com\",\n        \"type\": \"CNAME\"\n      }\n    }\n  }\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/create","name":"create","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains.json","http_method":"POST","short_description":"Add your domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Creates a new domain in the specified account.<\/p>\n\n<p><strong>Parked Domains:<\/strong> Set <code>parked_domain: true<\/code> to create a parked domain. Parked domains have limited message volume and are useful for domains that don\u2019t actively send email. Requires parked domain quota in your subscription.<\/p>\n\n<p><strong>Response includes:<\/strong> - <code>parked_domain<\/code> (boolean): Indicates if the domain is parked or live - <code>parked_domain_credits<\/code> (integer): Message credits remaining (only for parked domains) - <code>parked_domain_status<\/code> (string): Status of parked domain (only for parked domains) - <code>tags<\/code> (array): Array of tag objects associated with the domain<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"domain","full_name":"domain","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"address","full_name":"domain[address]","description":"\n<p>Address of your domain<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"rua_report","full_name":"domain[rua_report]","description":"\n<p>Receives RUA Report against your domain<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"ruf_report","full_name":"domain[ruf_report]","description":"\n<p>Receives RUF Report against your domain<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"mta_sts_report","full_name":"domain[mta_sts_report]","description":"\n<p>Receives MTA-STS Report against your domain<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"parked_domain","full_name":"domain[parked_domain]","description":"\n<p>Set to true to create a parked domain with limited message volume (requires parked domain quota)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"tag_ids","full_name":"domain[tag_ids]","description":"\n<p>Array of tag IDs to attach to the domain<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"tag_names","full_name":"domain[tag_names]","description":"\n<p>Array of tag names to attach to the domain (must exist)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"mta_sts_policy","full_name":"domain[mta_sts_policy]","description":"","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"mode","full_name":"domain[mta_sts_policy][mode]","description":"\n<p>Policy Mode<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>testing<\/code>, <code>enforce<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mx","full_name":"domain[mta_sts_policy][mx]","description":"\n<p>Detected Mail Records Separated by comma eg: custmx.cscdns.net, mail.dmarc.com<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"mx_age","full_name":"domain[mta_sts_policy][mx_age]","description":"\n<p>Policy Age (Valid Time in_days)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>1_day<\/code>, <code>2_days<\/code>, <code>3_days<\/code>, <code>4_days<\/code>, <code>5_days<\/code>, <code>6_days<\/code>, <code>7_days<\/code>, <code>2_weeks<\/code>, <code>1_month<\/code>, <code>2_months<\/code>, <code>3_months<\/code>, <code>6_months<\/code>, <code>12_months<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]}]}]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/update","name":"update","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:id.json","http_method":"PUT","short_description":"Update domain settings","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Updates settings for a specific domain.<\/p>\n\n<p><strong>Hosted Services:<\/strong> Enable hosted DMARC or MTA-STS to have DNS records managed by our system. When enabled, the response includes CNAME records you must add to your DNS.<\/p>\n\n<ul>\n<li><code>hosted_dmarc<\/code>: Enable hosted DMARC (requires paid plan)<\/li>\n\n<li><code>hosted_mta_sts<\/code>: Enable hosted MTA-STS (requires paid plan and mta_sts_report enabled)<\/li>\n\n<li><code>hosted_dmarc_config<\/code>: Custom DMARC record (optional)<\/li>\n<\/ul>\n\n<p><strong>DMARC Record:<\/strong> When you enable hosted DMARC, we generate a default record for you. The response includes <code>default_dmarc_record<\/code> and <code>current_dmarc_config<\/code> fields. If you want to customize the record (policy, sp, pct, etc.), provide <code>hosted_dmarc_config<\/code> but keep the RUA address from the default record - it is required to receive reports. The RUF address is required only while <code>ruf_report<\/code> is true; with <code>ruf_report<\/code> false it is left out.<\/p>\n\n<p><strong>Parked Domain Restrictions:<\/strong> - Hosted MTA-STS is not available for parked domains - Hosted DMARC for parked domains requires <code>p=reject<\/code> policy - Subdomain policy (sp) must also be <code>reject<\/code> for parked domains<\/p>\n\n<p>After adding the CNAME records, use the verify endpoints to check propagation.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"domain","full_name":"domain","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"rua_report","full_name":"domain[rua_report]","description":"\n<p>Receives RUA Report against your domain<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"ruf_report","full_name":"domain[ruf_report]","description":"\n<p>Receives RUF Report against your domain<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"mta_sts_report","full_name":"domain[mta_sts_report]","description":"\n<p>Receives MTA-STS Report against your domain<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"hosted_dmarc","full_name":"domain[hosted_dmarc]","description":"\n<p>Enable hosted DMARC - DNS records managed by our system (requires paid plan)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"hosted_dmarc_config","full_name":"domain[hosted_dmarc_config]","description":"\n<p>Custom DMARC record. Keep our RUA address, and our RUF address while ruf_report is true.<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"hosted_mta_sts","full_name":"domain[hosted_mta_sts]","description":"\n<p>Enable hosted MTA-STS - DNS records managed by our system (requires paid plan and mta_sts_report)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]}]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/hosted_services","name":"hosted_services","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:id\/hosted_services.json","http_method":"GET","short_description":"Get hosted services status and CNAME records","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns the current status of hosted services for a domain, including: - Whether hosted DMARC and MTA-STS are enabled - CNAME records that need to be added to DNS - Current CNAME verification status<\/p>\n\n<p>Use this endpoint to get the CNAME values after enabling hosted services, and to check the current propagation status.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/verify_hosted_dmarc","name":"verify_hosted_dmarc","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:id\/verify_hosted_dmarc.json","http_method":"POST","short_description":"Verify hosted DMARC setup status","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Checks the complete status of hosted DMARC setup including CNAME propagation and Route53 TXT record.<\/p>\n\n<p><strong>Response includes:<\/strong> - <code>overall_status<\/code>: Overall setup status - <code>ready<\/code>: All records configured and published - <code>action_required<\/code>: User needs to add\/fix CNAME records - <code>pending<\/code>: System is still processing - <code>cname<\/code>: CNAME record status (user\u2019s DNS) - <code>verified<\/code>: CNAME correctly configured - <code>awaiting_setup<\/code>: User hasn\u2019t added CNAME yet - <code>misconfigured<\/code>: CNAME exists but has wrong value - <code>txt_record<\/code>: TXT record status (our Route53) - <code>published<\/code>: Record is live in Route53 - <code>queued<\/code>: Record creation in progress<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/verify_hosted_mta_sts","name":"verify_hosted_mta_sts","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:id\/verify_hosted_mta_sts.json","http_method":"POST","short_description":"Verify hosted MTA-STS setup status","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Checks the complete status of hosted MTA-STS setup including all CNAME records, Route53 TXT records, and policy file.<\/p>\n\n<p><strong>Response includes:<\/strong> - <code>overall_status<\/code>: Overall setup status - <code>ready<\/code>: All records configured, published, and policy file active - <code>action_required<\/code>: User needs to add\/fix CNAME records - <code>pending<\/code>: System is still processing - <code>records.policy_cname<\/code>: Policy CNAME status (mta-sts.domain.com) - <code>records.mta_sts_record<\/code>: MTA-STS record status (_mta-sts.domain.com) - <code>cname_status<\/code>: CNAME verification status - <code>txt_record_status<\/code>: Route53 TXT record status - <code>records.tls_rpt_record<\/code>: TLS-RPT record status (_smtp._tls.domain.com) - <code>cname_status<\/code>: CNAME verification status - <code>txt_record_status<\/code>: Route53 TXT record status - <code>records.policy_file<\/code>: MTA-STS policy file status - <code>active<\/code>: Policy file accessible - <code>pending<\/code>: Policy file not yet created - <code>unreachable<\/code>: Unable to reach policy file<\/p>\n\n<p><strong>CNAME statuses:<\/strong> <code>verified<\/code>, <code>awaiting_setup<\/code>, <code>misconfigured<\/code> <strong>TXT record statuses:<\/strong> <code>published<\/code>, <code>queued<\/code><\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"record","full_name":"record","description":"\n<p>Which record to verify: policy, mta_sts, tls_rpt, or all (default: all)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>policy<\/code>, <code>mta_sts<\/code>, <code>tls_rpt<\/code>, <code>all<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/generate_dmarc_record","name":"generate_dmarc_record","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:id\/generate_dmarc_record.json","http_method":"POST","short_description":"Generate a DMARC record","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Generates a DMARC record for your domain with all the options available in our UI. Our reporting addresses (RUA and RUF) are automatically included.<\/p>\n\n<p><strong>Standard DMARC Options:<\/strong> - <code>p<\/code> (policy): How to handle emails that fail DMARC (none, quarantine, reject) - <code>sp<\/code> (subdomain policy): Policy for subdomains (none, quarantine, reject) - <code>pct<\/code> (percentage): Percentage of emails to apply the policy to (0-100) - <code>adkim<\/code> (DKIM alignment): How strictly to check DKIM (r=relaxed, s=strict) - <code>aspf<\/code> (SPF alignment): How strictly to check SPF (r=relaxed, s=strict) - <code>fo<\/code> (forensic options): When to send forensic reports (0, 1, d, s - can combine with colon) - <code>additional_rua_emails<\/code> (array): Additional email addresses for aggregate reports - <code>additional_ruf_emails<\/code> (array): Additional email addresses for forensic reports<\/p>\n\n<p><strong>DMARCbis Options (newer standard):<\/strong> - <code>t<\/code> (test mode): Enable test mode - reports only, no policy enforcement (y, n) - <code>psd<\/code> (public suffix domain): Is this a public suffix domain? (y, n, u=unknown) - <code>np<\/code> (non-existent subdomain policy): Policy for non-existent subdomains (none, quarantine, reject)<\/p>\n\n<p><strong>Forensic Options (fo) explained:<\/strong> - <code>0<\/code>: Send report if all authentication fails (default) - <code>1<\/code>: Send report if any authentication fails - <code>d<\/code>: Send report if DKIM fails - <code>s<\/code>: Send report if SPF fails - Combine with colon, e.g., \u201c1:d:s\u201d for multiple options<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"p","full_name":"p","description":"\n<p>Policy: none (monitor), quarantine (spam folder), reject (block)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none<\/code>, <code>quarantine<\/code>, <code>reject<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"sp","full_name":"sp","description":"\n<p>Subdomain policy (optional)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none<\/code>, <code>quarantine<\/code>, <code>reject<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"pct","full_name":"pct","description":"\n<p>Percentage of emails to apply policy (0-100)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]},{"name":"adkim","full_name":"adkim","description":"\n<p>DKIM alignment: r=relaxed (default), s=strict<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>r<\/code>, <code>s<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"aspf","full_name":"aspf","description":"\n<p>SPF alignment: r=relaxed (default), s=strict<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>r<\/code>, <code>s<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"fo","full_name":"fo","description":"\n<p>Forensic options: 0, 1, d, s (combine with colon, e.g., \u201c1:d\u201d)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"additional_rua_emails","full_name":"additional_rua_emails","description":"\n<p>Additional aggregate report email addresses<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"additional_ruf_emails","full_name":"additional_ruf_emails","description":"\n<p>Additional forensic report email addresses<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be an array of any type","expected_type":"array","metadata":null,"show":true,"validations":[]},{"name":"t","full_name":"t","description":"\n<p>DMARCbis: Test mode (y=yes, n=no)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>y<\/code>, <code>n<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"psd","full_name":"psd","description":"\n<p>DMARCbis: Public suffix domain (y=yes, n=no, u=unknown)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>y<\/code>, <code>n<\/code>, <code>u<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"np","full_name":"np","description":"\n<p>DMARCbis: Non-existent subdomain policy<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>none<\/code>, <code>quarantine<\/code>, <code>reject<\/code>.","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"publish","full_name":"publish","description":"\n<p>Also publish this record to hosted DMARC (requires hosted_dmarc enabled)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/disable_hosted_dmarc","name":"disable_hosted_dmarc","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:id\/disable_hosted_dmarc.json","http_method":"DELETE","short_description":"Disable hosted DMARC for a domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Disables hosted DMARC for the specified domain.<\/p>\n\n<p><strong>What this does:<\/strong> - Removes the DMARC TXT record from our Route53 DNS - Resets the CNAME status to \u2018not found\u2019 - Clears the hosted DMARC configuration<\/p>\n\n<p><strong>Important:<\/strong> After disabling, you will need to manage your own DMARC records. The CNAME record you created in your DNS can be removed after disabling.<\/p>\n\n<p><strong>Response includes:<\/strong> - <code>message<\/code>: Confirmation message - <code>domain_id<\/code>: The domain identifier<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/disable_hosted_mta_sts","name":"disable_hosted_mta_sts","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:id\/disable_hosted_mta_sts.json","http_method":"DELETE","short_description":"Disable hosted MTA-STS for a domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Disables hosted MTA-STS for the specified domain.<\/p>\n\n<p><strong>What this does:<\/strong> - Removes the MTA-STS and TLS-RPT TXT records from our Route53 DNS - Resets all CNAME statuses to \u2018not found\u2019<\/p>\n\n<p><strong>Important:<\/strong> After disabling, you will need to manage your own MTA-STS records. The CNAME records you created in your DNS can be removed after disabling.<\/p>\n\n<p><strong>Response includes:<\/strong> - <code>message<\/code>: Confirmation message - <code>domain_id<\/code>: The domain identifier<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/domains\/destroy","name":"destroy","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:id.json","http_method":"DELETE","short_description":"Delete a domain","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"email_sources":{"doc_url":"\/api\/2.0\/email_sources","id":"email_sources","api_url":"https:\/\/api.dmarcreport.com","name":"Email sources","short_description":"Email sources for a given domain.","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/email_sources\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/email_sources","http_method":"GET","short_description":"List email sources for a domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns the global (system-identified) email sources that send for the specified domain, matched by PTR domain.<\/p>\n\n<p><strong>Query parameters:<\/strong> - <code>domain<\/code> (required): The domain address (e.g., \u201cnsolutions.com\u201d)<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"domain","full_name":"domain","description":"\n<p>Domain address (e.g., \u201cnsolutions.com\u201d)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"email_tests":{"doc_url":"\/api\/2.0\/email_tests","id":"email_tests","api_url":"https:\/\/api.dmarcreport.com","name":"Email tests","short_description":"Email authentication test results for a domain","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/email_tests\/address","name":"address","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/email_tests\/address","http_method":"GET","short_description":"Get test email address for a domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns the email address that should be used for sending test emails. Send a test message from any source (WordPress, SendGrid, CRM, etc.) to this address to validate SPF, DKIM, and DMARC authentication.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":422,"description":"Unprocessable Entity - domain parameter missing","metadata":null}],"params":[{"name":"domain","full_name":"domain","description":"\n<p>Domain address (e.g., \u201cexample.com\u201d)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"domain\": \"caboplatinum.com\",\n  \"test_email_address\": \"abc123.t@dmarcinput.com\"\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/email_tests\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/email_tests","http_method":"GET","short_description":"List email tests for a domain","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns a paginated list of email test results for the domain. Each test shows the authentication status (SPF, DKIM, DMARC) for emails sent to the domain\u2019s test address.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":422,"description":"Unprocessable Entity - domain parameter missing","metadata":null}],"params":[{"name":"domain","full_name":"domain","description":"\n<p>Domain address (e.g., \u201cexample.com\u201d)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"page","full_name":"page","description":"\n<p>Page number<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per","full_name":"per","description":"\n<p>Records per page (default: 25, max: 100)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"unread","full_name":"unread","description":"\n<p>Filter by read status (true\/false)<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"source","full_name":"source","description":"\n<p>Filter by sending source hostname<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"domain\": \"caboplatinum.com\",\n  \"test_email_address\": \"abc123.t@dmarcinput.com\",\n  \"email_tests\": [\n    {\n      \"id\": 123,\n      \"header_from\": \"sender@caboplatinum.com\",\n      \"sending_domain\": \"caboplatinum.com\",\n      \"sending_source\": \"smtp.sendgrid.net\",\n      \"sending_source_public_suffix\": \"sendgrid.net\",\n      \"sender_ip\": \"192.0.2.10\",\n      \"spf\": {\n        \"domain\": \"sendgrid.net\",\n        \"auth\": \"pass\",\n        \"alignment\": \"not_aligned\"\n      },\n      \"dkim\": {\n        \"domains\": [\"sendgrid.net\"],\n        \"auth\": \"pass\",\n        \"alignment\": \"not_aligned\"\n      },\n      \"dmarc\": {\n        \"result\": \"fail\",\n        \"policy\": \"none\"\n      },\n      \"helo\": {\n        \"domain\": \"smtp.sendgrid.net\",\n        \"spf_auth\": \"pass\"\n      },\n      \"read\": false,\n      \"created_at\": \"2026-05-19T12:00:00Z\",\n      \"updated_at\": \"2026-05-19T12:00:00Z\"\n    }\n  ],\n  \"meta\": {\n    \"total_records\": 1,\n    \"current_page\": 1,\n    \"per_page\": 25,\n    \"total_pages\": 1\n  }\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/email_tests\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/email_tests\/:id","http_method":"GET","short_description":"Get email test details","deprecated":null}],"formats":["JSON"],"full_description":"\n<p>Returns detailed information about a specific email test, including full authentication results, raw headers, and alignment status.<\/p>\n","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":422,"description":"Unprocessable Entity - domain parameter missing","metadata":null}],"params":[{"name":"domain","full_name":"domain","description":"\n<p>Domain address (e.g., \u201cexample.com\u201d)<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"id","full_name":"id","description":"\n<p>Email test ID<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a number.","expected_type":"numeric","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"id\": 123,\n  \"header_from\": \"sender@caboplatinum.com\",\n  \"sending_domain\": \"caboplatinum.com\",\n  \"sending_source\": \"smtp.sendgrid.net\",\n  \"sending_source_public_suffix\": \"sendgrid.net\",\n  \"sender_ip\": \"192.0.2.10\",\n  \"spf\": {\n    \"domain\": \"sendgrid.net\",\n    \"auth\": \"pass\",\n    \"alignment\": \"not_aligned\"\n  },\n  \"dkim\": {\n    \"domains\": [\"sendgrid.net\"],\n    \"auth\": \"pass\",\n    \"alignment\": \"not_aligned\"\n  },\n  \"dmarc\": {\n    \"result\": \"fail\",\n    \"policy\": \"none\"\n  },\n  \"helo\": {\n    \"domain\": \"smtp.sendgrid.net\",\n    \"spf_auth\": \"pass\"\n  },\n  \"raw_headers\": {\n    \"auth_results\": \"dkim=pass header.i=@sendgrid.net; spf=pass smtp.mailfrom=bounce.sendgrid.net\",\n    \"received\": \"from smtp.sendgrid.net (192.0.2.10)\"\n  },\n  \"read\": false,\n  \"created_at\": \"2026-05-19T12:00:00Z\",\n  \"updated_at\": \"2026-05-19T12:00:00Z\"\n}\n"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"forensic_reports":{"doc_url":"\/api\/2.0\/forensic_reports","id":"forensic_reports","api_url":"https:\/\/api.dmarcreport.com","name":"Forensic reports","short_description":"          List, Search and Paginate the Failure Reports.\n          Plus get all the details of an individual Aggregate Report.\n","full_description":"","version":"2.0","formats":["json"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/forensic_reports\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/forensic_reports.json","http_method":"GET","short_description":"List, Search and Paginate Failure Reports","deprecated":null}],"formats":["json"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"q","full_name":"q","description":"\n<p>Params for Ransack Search<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"created_at_gteq","full_name":"q[created_at_gteq]","description":"\n<p>Search by date begin start<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"created_at_lteq","full_name":"q[created_at_lteq]","description":"\n<p>Search by date begin end<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip_address_country_eq","full_name":"q[ip_address_country_eq]","description":"\n<p>Search by country<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"ip_address_source_ip_eq","full_name":"q[ip_address_source_ip_eq]","description":"\n<p>Search by source ip<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"delivery_result","full_name":"q[delivery_result]","description":"\n<p>Search by for delivery result<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"feedback_type_eq","full_name":"q[feedback_type_eq]","description":"\n<p>Search by feedback type<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"arrival_date_eq","full_name":"q[arrival_date_eq]","description":"\n<p>Search by arrival date<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"original_message_date_eq","full_name":"q[original_message_date_eq]","description":"\n<p>Search by original message date<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"from_address_eq","full_name":"q[from_address_eq]","description":"\n<p>Search by from address<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"message_id_eq","full_name":"q[message_id_eq]","description":"\n<p>Search by message id<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"subject_cont","full_name":"q[subject_cont]","description":"\n<p>Search by subject cont<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"page","full_name":"page","description":"\n<p>Page Number<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per","full_name":"per","description":"\n<p>Entries per page.<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"reports\": [\n    {\n      \"id\": 1,\n      \"domain_id\": 1,\n      \"raw_report\": \"Feedback-Type: auth-failure\\r\\nUser-Agent: Lua\/1.0\\r\\nVersion: 1.0\\r\\nOriginal-Mail-From:\\r\\nOriginal-Rcpt-To: recipient@linkedin.com\\r\\nArrival-Date: Tue, 30 Apr 2019 02:09:00 +0000\\r\\nMessage-ID: <01010101010101010101010101010101@ABAB01MS0016.someserver.loc>\\r\\nAuthentication-Results: dmarc=fail (p=none; dis=none) header.from=example.com\\r\\nSource-IP: 10.10.10.10\\r\\nDelivery-Result: delivered\\r\\nAuth-Failure: dmarc\\r\\nReported-Domain: example.com\\r\\n\",\n      \"raw_original_message\": \"Content-Type: message\/rfc822\\r\\nContent-Transfer-Encoding: 7bit\\r\\nContent-Disposition: inline\\r\\nContent-ID: <5d9f1b8165398_122d2abf602d8648805f7@Zaid-XPS-13.mail>\\r\\n\\r\\nReturn-Path: <>\\r\\nAuthentication-Results: mail516.prod.linkedin.com; iprev=pass policy.iprev=\\\"10.10.10.10\\\"; spf=neutral smtp.mailfrom=\\\"\\\" smtp.helo=\\\"mail02.someserver.com\\\"; dkim=none (message not signed) header.d=none; tls=pass (verified) key.ciphersuite=\\\"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\\\" key.length=\\\"256\\\" tls.v=\\\"tlsv1.2\\\" cert.client=\\\"OU=Domain Control Validated,CN=*.someserver.com\\\" cert.clientissuer=\\\"C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Domain Validation Secure Server CA\\\"; dmarc=fail (p=none; dis=none) header.from=example.com\\r\\nX-OnPremExternalIP: 10.10.10.10\\r\\nReceived: from [10.10.10.10] ([10.10.10.10:4227] helo=mail02.someserver.com)\\r\\n\\tby mail516.prod.linkedin.com (envelope-from <>)\\r\\n\\t(ecelerity 3.6.21.53563 r(Core:3.6.21.0)) with ESMTPS (cipher=ECDHE-RSA-AES256-GCM-SHA384\\r\\n\\tsubject=\\\"\/OU=Domain Control Validated\/CN=*.someserver.com\\\")\\r\\n\\tid CA\/91-26019-ABCDECC5; Tue, 30 Apr 2019 02:09:00 +0000\\r\\nReceived: from DENU02MS0016.someserver.loc (10.156.68.14) by\\r\\n DENU02MS0017.someserver.loc (10.10.10.9) with Microsoft SMTP Server (TLS) id\\r\\n 15.0.1367.3; Tue, 30 Apr 2019 04:09:09 +0200\\r\\nReceived: from DENU02MS0016.someserver.loc ([127.0.0.1]) by\\r\\n DENU02MS0016.someserver.loc ([10.10.10.8]) with Microsoft SMTP Server id\\r\\n 15.00.1367.000; Tue, 30 Apr 2019 04:09:09 +0200\\r\\nFrom: Sender <sender@example.com>\\r\\nTo: LinkedIn <recipient@linkedin.com>\\r\\nSubject: Subject line, could be UTF8 encoded\\r\\nThread-Topic: Thread Topic line, could be UTF8 encoded\\r\\nThread-Index: AQHU\/abcdW8+abcdLkClF52hP4alIaZT9XGh\\r\\nDate: Tue, 30 Apr 2019 02:09:09 +0000\\r\\nMessage-ID: <01010101010101010101010101010101@ABAB01MS0016.someserver.loc>\\r\\nReferences: <1111111111.1111111.1111111111111.JavaMail.app@lor1-app3586.prod.linkedin.com>\\r\\nIn-Reply-To: <1111111111.1111111.1111111111111.JavaMail.app@lor1-app3586.prod.linkedin.com>\\r\\nX-MS-Has-Attach:\\r\\nX-Auto-Response-Suppress: All\\r\\nX-MS-Exchange-Inbox-Rules-Loop: sender@example.com\\r\\nX-MS-TNEF-Correlator:\\r\\nx-ms-exchange-transport-fromentityheader: Hosted\\r\\nx-ms-exchange-parent-message-id: <1111111111.1111111.1111111111111.JavaMail.app@lor1-app3586.prod.linkedin.com>\\r\\nauto-submitted: auto-generated\\r\\nx-ms-exchange-generated-message-source: Mailbox Rules Agent\\r\\nx-exclaimer-md-config: 11111111-1111-1111-1111-111111111111\\r\\nContent-Type: multipart\/alternative;\\r\\n\\tboundary=\\\"_000_0d00000000000000000d000000000000f00000s00000someserverloc_\\\"\\r\\nMIME-Version: 1.0\\r\\nX-Linkedin-fe: false\\r\\n\\r\\n--_000_0d00000000000000000d000000000000f00000s00000someserverloc_\\r\\nContent-Type: text\/plain; charset=\\\"iso-8859-1\\\"\\r\\nContent-Transfer-Encoding: quoted-printable\\r\\n\\r\\nAlternative\\r\\nText\\r\\n\\r\\n--_000_0d00000000000000000d000000000000f00000s00000someserverloc_\\r\\nContent-Type: text\/html; charset=\\\"iso-8859-1\\\"\\r\\nContent-Transfer-Encoding: quoted-printable\\r\\n\\r\\n<html>\\r\\n<head>\\r\\n<\/head>\\r\\n<body>\\r\\nHTML Text\\r\\n<\/body>\\r\\n<\/html>\\r\\n\\r\\n--_000_0d00000000000000000d000000000000f00000s00000someserverloc_--\",\n      \"subject\": \"Subject line, could be UTF8 encoded\",\n      \"feedback_type\": \"abuse\",\n      \"user_agent\": \"Lua\/1.0\",\n      \"auth_failure\": \"\",\n      \"arrival_date\": \"2019-04-30T02:09:09.000Z\",\n      \"from_address\": \"sender@example.com\",\n      \"message_id\": \"<01010101010101010101010101010101@ABAB01MS0016.someserver.loc>\",\n      \"delivery_result\": \"delivered\",\n      \"original_rcpt_to\": \"recipient@linkedin.com\",\n      \"reporting_mta\": \"\",\n      \"reported_domain\": \"example.com\",\n      \"reported_uri\": \"\",\n      \"removal_recipient\": \"\",\n      \"created_at\": \"2019-10-10T11:52:33.522Z\",\n      \"updated_at\": \"2020-01-16T09:37:38.319Z\",\n      \"report_email_message_id\": null,\n      \"original_message_date\": null,\n      \"ip_address_id\": 2\n    },\n    {\n      \"id\": 2,\n      \"domain_id\": 1,\n      \"raw_report\": \"Feedback-Type: auth-failure\\r\\nUser-Agent: NtesDmarcReporter\/1.0\\r\\nVersion: 1\\r\\nOriginal-Mail-From: <bounces+1137616-c1ad-xsj399=163.com@email.entrata.com>\\r\\nArrival-Date: Fri, 28 Sep 2018 16:48:42 +0800\\r\\nSource-IP: 167.89.69.24\\r\\nReported-Domain: cardinal.com\\r\\nOriginal-Envelope-Id: N8CowEApcUPo6q1bnXlMAA--.44392S3\\r\\nAuthentication-Results: 163.com; dkim=pass (verify result: all signatures verified) header.d=entrata.com; spf=pass smtp.mailfrom=bounces+1137616-c1ad-xsj399=163.com@email.entrata.com\\r\\nDKIM-Domain: entrata.com\\r\\nDelivery-Result: delivered\\r\\nIdentity-Alignment: spf,dkim\",\n      \"raw_original_message\": \"Content-Type: message\/rfc822\\r\\nContent-Transfer-Encoding: 7bit\\r\\nContent-Disposition: attachment\\r\\n\\r\\nReceived: by filter1356p1mdw1.sendgrid.net with SMTP id filter1356p1mdw1-30359-5BADEAE4-E\\r\\n        2018-09-28 08:48:36.858842501 +0000 UTC m=+1856335.516585242\\r\\nReceived: from MTEzNzYxNg (unknown [198.190.14.10])\\r\\n\\tby ismtpd0007p1las1.sendgrid.net (SG) with HTTP id oguVx1AxQayV5Sv2nYK-rA\\r\\n\\tfor <system@entrata.com>; Fri, 28 Sep 2018 08:48:36.716 +0000 (UTC)\\r\\nFrom: 700 on Washington <info@cardinal.com>\\r\\nTo: \\\"redacted@163.com\\\" <redacted@163.com>\\r\\nSubject: Rent Reminder\\r\\nThread-Topic: Rent Reminder\\r\\nThread-Index: AQHUVwgr2Hz5Jp\/wMEGsfVZ94P1m5Q==\\r\\nX-MS-Exchange-MessageSentRepresentingType: 1\\r\\nDate: Fri, 28 Sep 2018 04:48:39 -0400\\r\\nMessage-ID: <oguVx1AxQayV5Sv2nYK-rA@ismtpd0007p1las1.sendgrid.net>\\r\\nX-MS-Has-Attach:\\r\\nX-MS-TNEF-Correlator:\\r\\nX-MS-Exchange-Organization-RecordReviewCfmType: 0\\r\\nContent-Type: text\/plain; charset=\\\"us-ascii\\\"\\r\\nMIME-Version: 1.0\\r\\n\\r\\n\",\n      \"subject\": \"Rent Reminder\",\n      \"feedback_type\": \"auth-failure\",\n      \"user_agent\": \"NtesDmarcReporter\/1.0\",\n      \"auth_failure\": \"\",\n      \"arrival_date\": \"2018-09-28T08:48:39.000Z\",\n      \"from_address\": \"info@cardinal.com\",\n      \"message_id\": \"<oguVx1AxQayV5Sv2nYK-rA@ismtpd0007p1las1.sendgrid.net>\",\n      \"delivery_result\": \"delivered\",\n      \"original_rcpt_to\": \"redacted@163.com\",\n      \"reporting_mta\": \"\",\n      \"reported_domain\": \"cardinal.com\",\n      \"reported_uri\": \"\",\n      \"removal_recipient\": \"\",\n      \"created_at\": \"2019-10-10T11:53:21.754Z\",\n      \"updated_at\": \"2020-01-16T09:37:38.294Z\",\n      \"report_email_message_id\": null,\n      \"original_message_date\": null,\n      \"ip_address_id\": 1\n    },\n    {\n      \"id\": 3,\n      \"domain_id\": 1,\n      \"raw_report\": \"Feedback-Type: auth-failure\\r\\nUser-Agent: Lua\/1.0\\r\\nVersion: 1.0\\r\\nOriginal-Mail-From: sharepoint@domain.de\\r\\nOriginal-Rcpt-To: peter.pan@domain.de\\r\\nArrival-Date: Mon, 01 Oct 2018 11:20:27 +0200\\r\\nMessage-ID: <38.E7.30937.BD6E1BB5@ mailrelay.de>\\r\\nAuthentication-Results: dmarc=fail (p=none, dis=none) header.from=domain.de\\r\\nSource-IP: 10.10.10.10\\r\\nDelivery-Result: smg-policy-action\\r\\nAuth-Failure: dmarc\\r\\nReported-Domain: domain.de\\r\\n\",\n      \"raw_original_message\": \"Content-Type: message\/rfc822\\r\\nContent-Transfer-Encoding: 7bit\\r\\nContent-Disposition: inline\\r\\nContent-ID: <5d9f1bc7e6b7e_13b52adc5a7d0648922f0@Zaid-XPS-13.mail>\\r\\n\\r\\nReceived: from Servernameone.domain.local (Servernameone.domain.local [10.10.10.10])\\r\\n\\tby  mailrelay.de (mail.DOMAIN.de) with SMTP id 38.E7.30937.BD6E1BB5; Mon,  1 Oct 2018 11:20:27 +0200 (CEST)\\r\\nDate: 01 Oct 2018 11:20:27 +0200\\r\\nMessage-ID: <38.E7.30937.BD6E1BB5@ mailrelay.de>\\r\\nTo: <peter.pan@domain.de>\\r\\nfrom: \\\"=?utf-8?B?SW50ZXJha3RpdmUgV2V0dGJld2VyYmVyLcOcYmVyc2ljaHQ=?=\\\" <sharepoint@domain.de>\\r\\nSubject: Subject\\r\\nMIME-Version: 1.0\\r\\nX-Mailer: Microsoft SharePoint Foundation 2010\\r\\nContent-Type: text\/html; charset=utf-8\\r\\nContent-Transfer-Encoding: quoted-printable\\r\\n\\r\\n<html><head><base href=3D'\\r\\nwettbewerb' \/><\/head><body><!DOCTYPE HTML PUBLIC \\\"-\/\/W3C\/\/DTD HTML 3.2\/\/EN\\\"=\\r\\n><HTML><HEAD><META NAME=3D\\\"Generator\\\" CONTENT=3D\\\"MS Exchange Server version=\\r\\n 08.01.0240.003\\\"><\/html>\\r\\n\",\n      \"subject\": \"Subject\",\n      \"feedback_type\": \"auth-failure\",\n      \"user_agent\": \"Lua\/1.0\",\n      \"auth_failure\": \"\",\n      \"arrival_date\": \"2018-10-01T09:20:27.000Z\",\n      \"from_address\": \"sharepoint@domain.de\",\n      \"message_id\": \"<38.E7.30937.BD6E1BB5@ mailrelay.de>\",\n      \"delivery_result\": \"smg-policy-action\",\n      \"original_rcpt_to\": \"peter.pan@domain.de\",\n      \"reporting_mta\": \"\",\n      \"reported_domain\": \"domain.de\",\n      \"reported_uri\": \"\",\n      \"removal_recipient\": \"\",\n      \"created_at\": \"2019-10-10T11:53:44.062Z\",\n      \"updated_at\": \"2020-01-16T09:37:38.337Z\",\n      \"report_email_message_id\": null,\n      \"original_message_date\": null,\n      \"ip_address_id\": 2\n    }\n  ],\n  \"meta\": {\n    \"total_reports\": 3,\n    \"current_page\": 1,\n    \"per_page\": 25,\n    \"total_pages\": 1\n  }\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/forensic_reports\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/forensic_reports\/:id.json","http_method":"GET","short_description":"Get all the details of a Failure Report","deprecated":null}],"formats":["json"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n  \"id\": 1,\n  \"domain_id\": 1,\n  \"arrival_date\": \"2019-04-30T02:09:09.000Z\",\n  \"auth_failure\": \"\",\n  \"delivery_result\": \"delivered\",\n  \"feedback_type\": \"abuse\",\n  \"from_address\": \"sender@example.com\",\n  \"original_message_date\": null,\n  \"original_rcpt_to\": \"recipient@linkedin.com\",\n  \"raw_original_message\": \"Content-Type: message\/rfc822\\r\\nContent-Transfer-Encoding: 7bit\\r\\nContent-Disposition: inline\\r\\nContent-ID: <5d9f1b8165398_122d2abf602d8648805f7@Zaid-XPS-13.mail>\\r\\n\\r\\nReturn-Path: <>\\r\\nAuthentication-Results: mail516.prod.linkedin.com; iprev=pass policy.iprev=\\\"10.10.10.10\\\"; spf=neutral smtp.mailfrom=\\\"\\\" smtp.helo=\\\"mail02.someserver.com\\\"; dkim=none (message not signed) header.d=none; tls=pass (verified) key.ciphersuite=\\\"TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384\\\" key.length=\\\"256\\\" tls.v=\\\"tlsv1.2\\\" cert.client=\\\"OU=Domain Control Validated,CN=*.someserver.com\\\" cert.clientissuer=\\\"C=GB,ST=Greater Manchester,L=Salford,O=COMODO CA Limited,CN=COMODO RSA Domain Validation Secure Server CA\\\"; dmarc=fail (p=none; dis=none) header.from=example.com\\r\\nX-OnPremExternalIP: 10.10.10.10\\r\\nReceived: from [10.10.10.10] ([10.10.10.10:4227] helo=mail02.someserver.com)\\r\\n\\tby mail516.prod.linkedin.com (envelope-from <>)\\r\\n\\t(ecelerity 3.6.21.53563 r(Core:3.6.21.0)) with ESMTPS (cipher=ECDHE-RSA-AES256-GCM-SHA384\\r\\n\\tsubject=\\\"\/OU=Domain Control Validated\/CN=*.someserver.com\\\")\\r\\n\\tid CA\/91-26019-ABCDECC5; Tue, 30 Apr 2019 02:09:00 +0000\\r\\nReceived: from DENU02MS0016.someserver.loc (10.156.68.14) by\\r\\n DENU02MS0017.someserver.loc (10.10.10.9) with Microsoft SMTP Server (TLS) id\\r\\n 15.0.1367.3; Tue, 30 Apr 2019 04:09:09 +0200\\r\\nReceived: from DENU02MS0016.someserver.loc ([127.0.0.1]) by\\r\\n DENU02MS0016.someserver.loc ([10.10.10.8]) with Microsoft SMTP Server id\\r\\n 15.00.1367.000; Tue, 30 Apr 2019 04:09:09 +0200\\r\\nFrom: Sender <sender@example.com>\\r\\nTo: LinkedIn <recipient@linkedin.com>\\r\\nSubject: Subject line, could be UTF8 encoded\\r\\nThread-Topic: Thread Topic line, could be UTF8 encoded\\r\\nThread-Index: AQHU\/abcdW8+abcdLkClF52hP4alIaZT9XGh\\r\\nDate: Tue, 30 Apr 2019 02:09:09 +0000\\r\\nMessage-ID: <01010101010101010101010101010101@ABAB01MS0016.someserver.loc>\\r\\nReferences: <1111111111.1111111.1111111111111.JavaMail.app@lor1-app3586.prod.linkedin.com>\\r\\nIn-Reply-To: <1111111111.1111111.1111111111111.JavaMail.app@lor1-app3586.prod.linkedin.com>\\r\\nX-MS-Has-Attach:\\r\\nX-Auto-Response-Suppress: All\\r\\nX-MS-Exchange-Inbox-Rules-Loop: sender@example.com\\r\\nX-MS-TNEF-Correlator:\\r\\nx-ms-exchange-transport-fromentityheader: Hosted\\r\\nx-ms-exchange-parent-message-id: <1111111111.1111111.1111111111111.JavaMail.app@lor1-app3586.prod.linkedin.com>\\r\\nauto-submitted: auto-generated\\r\\nx-ms-exchange-generated-message-source: Mailbox Rules Agent\\r\\nx-exclaimer-md-config: 11111111-1111-1111-1111-111111111111\\r\\nContent-Type: multipart\/alternative;\\r\\n\\tboundary=\\\"_000_0d00000000000000000d000000000000f00000s00000someserverloc_\\\"\\r\\nMIME-Version: 1.0\\r\\nX-Linkedin-fe: false\\r\\n\\r\\n--_000_0d00000000000000000d000000000000f00000s00000someserverloc_\\r\\nContent-Type: text\/plain; charset=\\\"iso-8859-1\\\"\\r\\nContent-Transfer-Encoding: quoted-printable\\r\\n\\r\\nAlternative\\r\\nText\\r\\n\\r\\n--_000_0d00000000000000000d000000000000f00000s00000someserverloc_\\r\\nContent-Type: text\/html; charset=\\\"iso-8859-1\\\"\\r\\nContent-Transfer-Encoding: quoted-printable\\r\\n\\r\\n<html>\\r\\n<head>\\r\\n<\/head>\\r\\n<body>\\r\\nHTML Text\\r\\n<\/body>\\r\\n<\/html>\\r\\n\\r\\n--_000_0d00000000000000000d000000000000f00000s00000someserverloc_--\",\n  \"raw_report\": \"Feedback-Type: auth-failure\\r\\nUser-Agent: Lua\/1.0\\r\\nVersion: 1.0\\r\\nOriginal-Mail-From:\\r\\nOriginal-Rcpt-To: recipient@linkedin.com\\r\\nArrival-Date: Tue, 30 Apr 2019 02:09:00 +0000\\r\\nMessage-ID: <01010101010101010101010101010101@ABAB01MS0016.someserver.loc>\\r\\nAuthentication-Results: dmarc=fail (p=none; dis=none) header.from=example.com\\r\\nSource-IP: 10.10.10.10\\r\\nDelivery-Result: delivered\\r\\nAuth-Failure: dmarc\\r\\nReported-Domain: example.com\\r\\n\",\n  \"removal_recipient\": \"\",\n  \"reported_domain\": \"example.com\",\n  \"reported_uri\": \"\",\n  \"reporting_mta\": \"\",\n  \"subject\": \"Subject line, could be UTF8 encoded\",\n  \"user_agent\": \"Lua\/1.0\",\n  \"message_id\": \"<01010101010101010101010101010101@ABAB01MS0016.someserver.loc>\",\n  \"report_email_message_id\": null,\n  \"created_at\": \"2019-10-10T11:52:33.522Z\",\n  \"updated_at\": \"2020-01-16T09:37:38.319Z\",\n  \"ip_address\": {\n    \"id\": 2,\n    \"sane_source_ip\": \"10.10.10.10\",\n    \"blacklisted\": null,\n    \"ptr\": null,\n    \"country\": \"ro\",\n    \"created_at\": \"2020-01-16T09:37:38.309Z\",\n    \"updated_at\": \"2020-01-16T09:37:38.323Z\"\n  }\n}\n"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"mta_sts_reports":{"doc_url":"\/api\/2.0\/mta_sts_reports","id":"mta_sts_reports","api_url":"https:\/\/api.dmarcreport.com","name":"Mta sts reports","short_description":"          List, Search and Paginate the MTA STS Reports.\n          Plus get all the details of an individual Aggregat Report.\n","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/mta_sts_reports\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/mta_sts_reports.json","http_method":"GET","short_description":"List, Search and Paginate MTA Reports","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":400,"description":"Bad Request \u2014 invalid filter value (e.g. non-IP for sending_mta_ip \/ receiving_ip filters)","metadata":null},{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"q","full_name":"q","description":"\n<p>Params for Ransack Search<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"start_datetime_gteq","full_name":"q[start_datetime_gteq]","description":"\n<p>Search by date begin start<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"start_datetime_lteq","full_name":"q[start_datetime_lteq]","description":"\n<p>Search by date begin end<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"organization_name_eq","full_name":"q[organization_name_eq]","description":"\n<p>Search by for orgnization name<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"report_id_eq","full_name":"q[report_id_eq]","description":"\n<p>Search by report id<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"policy_type_eq","full_name":"q[policy_type_eq]","description":"\n<p>Search by policy type<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"policy_host_eq","full_name":"q[policy_host_eq]","description":"\n<p>Search by Policy host<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"page","full_name":"page","description":"\n<p>Page Number<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per","full_name":"per","description":"\n<p>Entries per page.<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"reports\": [\n    {\n      \"id\": 1,\n      \"domain_id\": 1,\n      \"raw_json\": \"\",\n      \"organization_name\":  \"Google Inc.\", \n      \"start_datetime\":  \"2019-02-10T00:00:00.000Z\", \n      \"end_datetime\":  \"2019-02-10T23:59:59.000Z\", \n      \"contact_info\":  \"smtp-tls-reporting@google.com\", \n      \"report_id\":  \"2020-02-05T00:00:00Z_webheat.com\", \n      \"policy_type\":  \"sts\", \n      \"policy_string\":  '[\"version: STSv1\", \"mode: testing\", \"mx: mx1.eu.mailhop.org \", \"max_age: 386000\"]', \n      \"policy_domain\":  \"webheat.com\", \n      \"policy_host\":  \" \",\n      \"total_successful_session_count\":  \"10\",\n      \"total_failure_session_count\":  \"10\",\n      \"report_email_message_id\":  \"CAMxgm9Ehr85xOLJHtDe94GpLW03co1yo-GU=FfcZkeG0bzS+qw@mail.gmail.com\",\n    },\n    {\n      \"id\": 2,\n      \"domain_id\": 1,\n      \"raw_json\": \"\",\n      \"organization_name\":  \"Google Inc.\", \n      \"start_datetime\":  \"2019-02-10T00:00:00.000Z\", \n      \"end_datetime\":  \"2019-02-10T23:59:59.000Z\", \n      \"contact_info\":  \"smtp-tls-reporting@google.com\", \n      \"report_id\":  \"2020-02-05T00:00:00Z_webheat.com\", \n      \"policy_type\":  \"sts\", \n      \"policy_string\":  '[\"version: STSv1\", \"mode: testing\", \"mx: mx1.eu.mailhop.org \", \"max_age: 386000\"]', \n      \"policy_domain\":  \"webheat.com\", \n      \"policy_host\":  \" \",\n      \"total_successful_session_count\":  \"10\",\n      \"total_failure_session_count\":  \"10\",\n      \"report_email_message_id\":  \"CAMxgm9Ehr85xOLJHtDe94GpLW03co1yo-GU=FfcZkeG0bzS+qw@mail.gmail.com\",\n    },\n    {\n      \"id\": 3,\n      \"domain_id\": 1,\n      \"raw_json\": \"\",\n      \"organization_name\":  \"Google Inc.\", \n      \"start_datetime\":  \"2019-02-10T00:00:00.000Z\", \n      \"end_datetime\":  \"2019-02-10T23:59:59.000Z\", \n      \"contact_info\":  \"smtp-tls-reporting@google.com\", \n      \"report_id\":  \"2020-02-05T00:00:00Z_webheat.com\", \n      \"policy_type\":  \"sts\", \n      \"policy_string\":  '[\"version: STSv1\", \"mode: testing\", \"mx: mx1.eu.mailhop.org \", \"max_age: 386000\"]', \n      \"policy_domain\":  \"webheat.com\", \n      \"policy_host\":  \" \",\n      \"total_successful_session_count\":  \"10\",\n      \"total_failure_session_count\":  \"10\",\n      \"report_email_message_id\":  \"CAMxgm9Ehr85xOLJHtDe94GpLW03co1yo-GU=FfcZkeG0bzS+qw@mail.gmail.com\",\n    }\n  ],\n  \"meta\": {\n    \"total_reports\": 3,\n    \"current_page\": 1,\n    \"per_page\": 25,\n    \"total_pages\": 2\n  }\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/mta_sts_reports\/mta_failure_details","name":"mta_failure_details","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/mta_sts_reports\/mta_failure_details.json","http_method":"GET","short_description":"List, Search and Paginate MTA Reports","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":400,"description":"Bad Request \u2014 invalid filter value (e.g. non-IP for sending_mta_ip \/ receiving_ip filters)","metadata":null},{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"q","full_name":"q","description":"\n<p>Params for Ransack Search<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"sending_mta_ip_address_source_ip_eq","full_name":"q[sending_mta_ip_address_source_ip_eq]","description":"\n<p>Search by sending source ip<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"receiving_ip_address_source_ip_eq","full_name":"q[receiving_ip_address_source_ip_eq]","description":"\n<p>Search by receiving source ip<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"result_type_eq","full_name":"q[result_type_eq]","description":"\n<p>Search byresult type<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"receiving_mx_hostname_eq","full_name":"q[receiving_mx_hostname_eq]","description":"\n<p>Search by receiving mx host name<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}]},{"name":"page","full_name":"page","description":"\n<p>Page Number<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"per","full_name":"per","description":"\n<p>Entries per page.<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n  \"failure-details\": [\n    { \"id\": 1,\n      \"result_type\": \"certificate-host-mismatch\",\n      \"sending_mta_ip\": \"209.85.128.70\",\n      \"receiving_ip\": \"52.29.118.68\",\n      \"receiving_mx_hostname\": \"mx1.eu.mailhop.org\",\n      \"failed_session_count\": 1,\n      \"ip_address\": {\n        \"id\": 2,\n        \"sane_source_ip\": \"10.10.10.10\",\n        \"blacklisted\": null,\n        \"ptr\": null,\n        \"country\": \"ro\",\n        \"created_at\": \"2020-01-16T09:37:38.309Z\",\n        \"updated_at\": \"2020-01-16T09:37:38.323Z\"\n      }\n    },\n    { \"id\": 2,\n      \"result_type\": \"certificate-host-mismatch\",\n      \"sending_mta_ip\": \"209.85.221.70\",\n      \"receiving_ip\": \"52.29.118.68\",\n      \"receiving_mx_hostname\": \"mx1.eu.mailhop.org\",\n      \"failed_session_count\": 1,\n      \"ip_address\": {\n        \"id\": 2,\n        \"sane_source_ip\": \"10.10.10.10\",\n        \"blacklisted\": null,\n        \"ptr\": null,\n        \"country\": \"ro\",\n        \"created_at\": \"2020-01-16T09:37:38.309Z\",\n        \"updated_at\": \"2020-01-16T09:37:38.323Z\"\n      }\n    },\n    { \"id\": 3,\n      \"result_type\": \"certificate-host-mismatch\",\n      \"sending_mta_ip\": \"209.85.221.71\",\n      \"receiving_ip\": \"52.29.162.96\",\n      \"receiving_mx_hostname\": \"mx1.eu.mailhop.org\",\n      \"failed_session_count\": 3,\n      \"ip_address\": {\n        \"id\": 2,\n        \"sane_source_ip\": \"10.10.10.10\",\n        \"blacklisted\": null,\n        \"ptr\": null,\n        \"country\": \"ro\",\n        \"created_at\": \"2020-01-16T09:37:38.309Z\",\n        \"updated_at\": \"2020-01-16T09:37:38.323Z\"\n      }\n    }\n  ]\n}\n"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/mta_sts_reports\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/domains\/:domain_id\/mta_sts_reports\/:id.json","http_method":"GET","short_description":"Get all the details of a MTA Report","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":400,"description":"Bad Request \u2014 invalid filter value (e.g. non-IP for sending_mta_ip \/ receiving_ip filters)","metadata":null},{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n  \"id\": 1,\n  \"domain_id\": 1,\n  \"organization-name\": \"Google Inc.\",\n  \"start-datetime\": \"2020-02-05T00:00:00Z\",\n  \"end-datetime\": \"2020-02-05T23:59:59Z\",\n  \"contact-info\": \"smtp-tls-reporting@google.com\",\n  \"report-id\": \"2020-02-05T00:00:00Z_webheat.com\",\n  \"policy-type\": \"sts\",\n  \"policy-string\": [\n    \"version: STSv1\",\n    \"mode: testing\",\n    \"mx: mx1.eu.mailhop.org \",\n    \"max_age: 386000\"\n  ],\n  \"policy-domain\": \"webheat.com\",\n  \"total-successful-session-count\": 0,\n  \"total-failure-session-count\": 7,\n  \"failure-details\": [\n    { \"id\": 1,\n      \"result_type\": \"certificate-host-mismatch\",\n      \"sending_mta_ip\": \"209.85.128.70\",\n      \"receiving_ip\": \"52.29.118.68\",\n      \"receiving_mx_hostname\": \"mx1.eu.mailhop.org\",\n      \"failed_session_count\": 1,\n      \"ip_address\": {\n        \"id\": 2,\n        \"sane_source_ip\": \"10.10.10.10\",\n        \"blacklisted\": null,\n        \"ptr\": null,\n        \"country\": \"ro\",\n        \"created_at\": \"2020-01-16T09:37:38.309Z\",\n        \"updated_at\": \"2020-01-16T09:37:38.323Z\"\n      }\n    },\n    { \"id\": 2,\n      \"result_type\": \"certificate-host-mismatch\",\n      \"sending_mta_ip\": \"209.85.221.70\",\n      \"receiving_ip\": \"52.29.118.68\",\n      \"receiving_mx_hostname\": \"mx1.eu.mailhop.org\",\n      \"failed_session_count\": 1,\n      \"ip_address\": {\n        \"id\": 2,\n        \"sane_source_ip\": \"10.10.10.10\",\n        \"blacklisted\": null,\n        \"ptr\": null,\n        \"country\": \"ro\",\n        \"created_at\": \"2020-01-16T09:37:38.309Z\",\n        \"updated_at\": \"2020-01-16T09:37:38.323Z\"\n      }\n    },\n    { \"id\": 3,\n      \"result_type\": \"certificate-host-mismatch\",\n      \"sending_mta_ip\": \"209.85.221.71\",\n      \"receiving_ip\": \"52.29.162.96\",\n      \"receiving_mx_hostname\": \"mx1.eu.mailhop.org\",\n      \"failed_session_count\": 3,\n      \"ip_address\": {\n        \"id\": 2,\n        \"sane_source_ip\": \"10.10.10.10\",\n        \"blacklisted\": null,\n        \"ptr\": null,\n        \"country\": \"ro\",\n        \"created_at\": \"2020-01-16T09:37:38.309Z\",\n        \"updated_at\": \"2020-01-16T09:37:38.323Z\"\n      }\n    }\n  ]\n}\n\n"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"postmaster_account_records":{"doc_url":"\/api\/2.0\/postmaster_account_records","id":"postmaster_account_records","api_url":"https:\/\/api.dmarcreport.com","name":"Postmaster account records","short_description":"          List and Search the Postmaster accounts.\n          Plus get all the details of an individual Postmaster Account domain.\n","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/postmaster_account_records\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/postmaster_account_records.json","http_method":"GET","short_description":"Cumulative data of all domains of a Postmaster Account","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"email","full_name":"email","description":"\n<p>Email address of Postmaster Account<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n    \"data\": {\n        \"abc.com\": {\n            \"total_spam_ratio\": 0.0,\n            \"domain_reputation\": \"HIGH\",\n            \"total_spf_success\": 43.0,\n            \"total_dkim_success\": 43.0,\n            \"total_dmarc_success\": 35.703,\n            \"total_inbound_encryption\": 43.0,\n            \"total_records\": 43,\n            \"delivery_errors\": 0.0,\n            \"ip_reputations\": {\n                \"counts\": {},\n                \"percentages\": {}\n            },\n            \"average_spam_ratio\": 0.0,\n            \"average_spf_success\": 100.0,\n            \"average_dkim_success\": 100.0,\n            \"average_dmarc_success\": 83.0,\n            \"average_inbound_encryption\": 100.0\n        },\n        \"xyz.com\": {\n            \"error_message\": \"The caller does not have permission\"\n        },\n        \"example.org\": {\n            \"total_spam_ratio\": 0.20600000000000002,\n            \"domain_reputation\": \"HIGH\",\n            \"total_spf_success\": 79.0,\n            \"total_dkim_success\": 79.0,\n            \"total_dmarc_success\": 1.338,\n            \"total_inbound_encryption\": 79.0,\n            \"total_records\": 79,\n            \"delivery_errors\": 0.0,\n            \"ip_reputations\": {\n                \"counts\": {\n                    \"BAD\": 363,\n                    \"LOW\": 448,\n                    \"MEDIUM\": 1747,\n                    \"HIGH\": 2387\n                },\n                \"percentages\": {\n                    \"BAD\": 7.3,\n                    \"LOW\": 9.1,\n                    \"MEDIUM\": 35.3,\n                    \"HIGH\": 48.3\n                }\n            },\n            \"average_spam_ratio\": 0.3,\n            \"average_spf_success\": 100.0,\n            \"average_dkim_success\": 100.0,\n            \"average_dmarc_success\": 1.7,\n            \"average_inbound_encryption\": 100.0\n        }\n    }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/postmaster_account_records\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/postmaster_account_records\/:id.json","http_method":"GET","short_description":"Details of a Postmaster Account domain.","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"email","full_name":"email","description":"\n<p>Email address of Postmaster Account<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"item","full_name":"item","description":"\n<p>Domain for which data is needed<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]}],"returns":[],"examples":["{\n    \"spam_rate_data\": {\n        \"2025-02-20\": 0.0,\n        \"2025-02-24\": 0.0,\n        \"2025-05-05\": 0.0,\n        \"2025-05-06\": 0.0,\n        \"2025-05-15\": 0.0\n    },\n    \"ip_reputation_data\": {\n        \"2025-02-20\": {\n            \"BAD\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            },\n            \"LOW\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            },\n            \"MEDIUM\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            },\n            \"HIGH\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            }\n        },\n        \"2025-02-21\": {\n            \"BAD\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            },\n            \"LOW\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            },\n            \"MEDIUM\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            },\n            \"HIGH\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            }\n        },\n        \"2025-05-15\": {\n            \"BAD\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            },\n            \"LOW\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            },\n            \"MEDIUM\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            },\n            \"HIGH\": {\n                \"percentage\": 0.0,\n                \"ips\": []\n            }\n        }\n    },\n    \"domain_reputation_data\": {\n        \"2025-02-20\": \"High\",\n        \"2025-03-21\": \"High\",\n        \"2025-03-26\": \"High\",\n        \"2025-03-27\": \"High\",\n        \"2025-03-31\": \"High\",\n        \"2025-04-01\": \"High\",\n        \"2025-05-12\": \"High\",\n        \"2025-05-14\": \"High\",\n        \"2025-05-15\": \"High\"\n    },\n    \"feedback_loop_data\": {\n        \"2025-05-09\": [\n            {\n                \"id\": 41,\n                \"domain\": \"xyz.com\",\n                \"date\": \"2025-05-09\",\n                \"spam_rate\": 0.0,\n                \"spammy_feedback_loops\": 0\n            }\n        ],\n        \"2025-05-12\": [\n            {\n                \"id\": 42,\n                \"domain\": \"xyz.com\",\n                \"date\": \"2025-05-12\",\n                \"spam_rate\": 0.0,\n                \"spammy_feedback_loops\": 0\n            }\n        ],\n        \"2025-05-14\": [\n            {\n                \"id\": 43,\n                \"domain\": \"xyz.com\",\n                \"date\": \"2025-05-14\",\n                \"spam_rate\": 0.0,\n                \"spammy_feedback_loops\": 0\n            }\n        ],\n        \"2025-05-15\": [\n            {\n                \"id\": 44,\n                \"domain\": \"xyz.com\",\n                \"date\": \"2025-05-15\",\n                \"spam_rate\": 0.0,\n                \"spammy_feedback_loops\": 0\n            }\n        ]\n    },\n    \"authentication_data\": {\n        \"2025-05-12\": {\n            \"spf\": 100.0,\n            \"dkim\": 100.0,\n            \"dmarc\": 100.0\n        },\n        \"2025-05-14\": {\n            \"spf\": 100.0,\n            \"dkim\": 100.0,\n            \"dmarc\": 98.1\n        },\n        \"2025-05-15\": {\n            \"spf\": 100.0,\n            \"dkim\": 100.0,\n            \"dmarc\": 99.1\n        }\n    },\n    \"encryption_data\": {\n        \"2025-05-08\": {\n            \"inbound_tls\": 100.0,\n            \"outbound_tls\": \"N\/A\"\n        },\n        \"2025-05-09\": {\n            \"inbound_tls\": 100.0,\n            \"outbound_tls\": \"N\/A\"\n        },\n        \"2025-05-12\": {\n            \"inbound_tls\": 100.0,\n            \"outbound_tls\": \"N\/A\"\n        },\n        \"2025-05-14\": {\n            \"inbound_tls\": 100.0,\n            \"outbound_tls\": \"N\/A\"\n        },\n        \"2025-05-15\": {\n            \"inbound_tls\": 100.0,\n            \"outbound_tls\": \"N\/A\"\n        }\n    },\n    \"delivery_errors_data\": {\n        \"2025-02-20\": [],\n        \"2025-03-26\": [\n            {\n                \"error_type\": \"PERMANENT_ERROR\",\n                \"reason\": \"Content Spammy\",\n                \"percentage\": 0.7\n            }\n        ],\n        \"2025-03-27\": [],\n        \"2025-05-14\": [],\n        \"2025-05-15\": []\n    }\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/postmaster_account_records\/connected","name":"connected","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/postmaster_account_records\/connected.json","http_method":"GET","short_description":"List of connected Postmaster Accounts.","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n    \"connected_accounts\": [\n        {\n            \"id\": 3,\n            \"email\": \"abc@gmail.com\",\n            \"created_at\": \"2025-05-16T09:26:58.159Z\"\n        },\n        {\n            \"id\": 4,\n            \"email\": \"xyz@example.com\",\n            \"created_at\": \"2025-05-20T10:47:52.964Z\"\n        }\n    ]\n}"],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false},"user_accounts":{"doc_url":"\/api\/2.0\/user_accounts","id":"user_accounts","api_url":"https:\/\/api.dmarcreport.com","name":"Account members","short_description":"\t\t      List of all members in your account.\n          Plus you can add, remove and veiw details of members in your account.\n","full_description":"","version":"2.0","formats":["JSON"],"metadata":null,"methods":[{"doc_url":"\/api\/2.0\/user_accounts\/index","name":"index","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/user_accounts","http_method":"GET","short_description":"List user accounts","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n    \"account_owner_email\": \"abc@xyz.org\",\n    \"user_accounts\": [\n        {\n            \"id\": 6,\n            \"account_id\": 1484,\n            \"user_id\": 713,\n            \"domains\": true,\n            \"alerts\": true,\n            \"domains_reports\": false,\n            \"plans\": false,\n            \"profile\": false,\n            \"reports\": true,\n            \"summary\": true,\n            \"teams\": true,\n            \"timeline\": true,\n            \"widgets\": true,\n            \"subscription\": true,\n            \"create_teams\": true\n        },\n        {\n            \"id\": 7,\n            \"account_id\": 1484,\n            \"user_id\": 1737,\n            \"domains\": true,\n            \"alerts\": true,\n            \"domains_reports\": false,\n            \"plans\": false,\n            \"profile\": false,\n            \"reports\": true,\n            \"summary\": true,\n            \"teams\": true,\n            \"timeline\": true,\n            \"widgets\": true,\n            \"subscription\": true,\n            \"create_teams\": false\n        },\n        {\n            \"id\": 8,\n            \"account_id\": 1484,\n            \"user_id\": 49,\n            \"domains\": true,\n            \"alerts\": true,\n            \"domains_reports\": false,\n            \"plans\": false,\n            \"profile\": false,\n            \"reports\": true,\n            \"summary\": true,\n            \"teams\": true,\n            \"timeline\": true,\n            \"widgets\": true,\n            \"subscription\": false,\n            \"create_teams\": true\n        }\n    ]\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/user_accounts\/show","name":"show","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/user_accounts\/:id","http_method":"GET","short_description":"Details of user account","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":["{\n    \"id\": 8,\n    \"user_id\": 49,\n    \"account_id\": 13,\n    \"profile\": false,\n    \"domains_reports\": false,\n    \"plans\": false,\n    \"api_tokens\": false,\n    \"domains\": true,\n    \"summary\": true,\n    \"timeline\": true,\n    \"reports\": true,\n    \"alerts\": true,\n    \"teams\": true,\n    \"widgets\": true,\n    \"timestamp\": null,\n    \"sso\": false,\n    \"tag\": false,\n    \"subscription\": false,\n    \"create_teams\": true\n}"],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/user_accounts\/create","name":"create","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/user_accounts.json","http_method":"POST","short_description":"Add user in account","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"user_account","full_name":"user_account","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"email","full_name":"user_account[email]","description":"\n<p>email of user, you want to add in account<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a String","expected_type":"string","metadata":null,"show":true,"validations":[]},{"name":"domains_reports","full_name":"user_account[domains_reports]","description":"\n<p>domains_reports access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"alerts","full_name":"user_account[alerts]","description":"\n<p>alerts access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"domains","full_name":"user_account[domains]","description":"\n<p>domains access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"reports","full_name":"user_account[reports]","description":"\n<p>reports access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"summary","full_name":"user_account[summary]","description":"\n<p>summary access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"teams","full_name":"user_account[teams]","description":"\n<p>teams access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"timeline","full_name":"user_account[timeline]","description":"\n<p>timeline access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"widgets","full_name":"user_account[widgets]","description":"\n<p>widgets access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"sso","full_name":"user_account[sso]","description":"\n<p>sso access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"tag","full_name":"user_account[tag]","description":"\n<p>tag access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"subscription","full_name":"user_account[subscription]","description":"\n<p>subscription access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"create_teams","full_name":"user_account[create_teams]","description":"\n<p>create_teams access flag<\/p>\n","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]}]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/user_accounts\/update","name":"update","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/user_accounts\/:id.json","http_method":"PUT","short_description":"Update user in account","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[{"name":"user_account","full_name":"user_account","description":"","required":true,"allow_nil":false,"allow_blank":false,"validator":"Must be a Hash","expected_type":"hash","metadata":null,"show":true,"validations":[],"params":[{"name":"domains_reports","full_name":"user_account[domains_reports]","description":"\n<p>domains_reports access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"alerts","full_name":"user_account[alerts]","description":"\n<p>alerts access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"domains","full_name":"user_account[domains]","description":"\n<p>domains access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"reports","full_name":"user_account[reports]","description":"\n<p>reports access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"summary","full_name":"user_account[summary]","description":"\n<p>summary access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"teams","full_name":"user_account[teams]","description":"\n<p>teams access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"timeline","full_name":"user_account[timeline]","description":"\n<p>timeline access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"widgets","full_name":"user_account[widgets]","description":"\n<p>widgets access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"sso","full_name":"user_account[sso]","description":"\n<p>sso access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"tag","full_name":"user_account[tag]","description":"\n<p>tag access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"subscription","full_name":"user_account[subscription]","description":"\n<p>subscription access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]},{"name":"create_teams","full_name":"user_account[create_teams]","description":"\n<p>create_teams access flag<\/p>\n","required":false,"allow_nil":false,"allow_blank":false,"validator":"Must be one of: <code>true<\/code>, <code>false<\/code>, <code>true<\/code>, <code>false<\/code>.","expected_type":"boolean","metadata":null,"show":true,"validations":[]}]}],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true},{"doc_url":"\/api\/2.0\/user_accounts\/destroy","name":"destroy","apis":[{"api_url":"https:\/\/api.dmarcreport.com\/v2\/accounts\/:account_id\/user_accounts\/:id.json","http_method":"DELETE","short_description":"Delete user from account","deprecated":null}],"formats":["JSON"],"full_description":"","errors":[{"code":401,"description":"Unauthorized","metadata":null},{"code":403,"description":"Forbidden","metadata":null},{"code":404,"description":"Not Found","metadata":null},{"code":500,"description":"Server crashed for some reason","metadata":null}],"params":[],"returns":[],"examples":[],"metadata":null,"see":[],"headers":[],"show":true}],"headers":[],"deprecated":false}}}}