---
title: "Get latest DNS verification results for organization"
method: GET
path: "/organizations/{organizationId}/dns-verification/latest"
tags: ["Phishing Configs"]
---

# Get latest DNS verification results for organization

`GET /organizations/{organizationId}/dns-verification/latest`

## Request

- Base URL: `https://api.xfa.tech`
- URL: `https://api.xfa.tech/organizations/{organizationId}/dns-verification/latest`
- Auth: HTTP bearer

## Path parameters

- `organizationId` string, required

## Response `200`

Returns the latest DNS verification results

- DomainVerificationResult[]
  - `organization_id` string, required: ID of the organization
  - `domain` string, required: Domain name
  - `domain_timestamp` string: Domain timestamp
  - `timestamp` integer, required: Unix timestamp
  - `config_id` string, required: ID of the config
  - `dmarc` object, required
    - `valid` boolean, required: Whether DMARC record is valid
    - `record` string: DMARC record
    - `error` string: Error message if validation failed
    - `security_score` integer, required: Security score for DMARC
    - `policy` string: DMARC policy
    - `subdomain_policy` string: Subdomain policy
    - `alignment` object, required
      - `dkim` string, required: DKIM alignment (strict, relaxed)
      - `spf` string, required: SPF alignment (strict, relaxed)
    - `reporting` object, required
      - `aggregate_uri` string: Aggregate reporting URI
      - `forensic_uri` string: Forensic reporting URI
      - `percentage` integer, required: Percentage
    - `recommendations` string[]: Recommendations for improvement
    - `warnings` string[]: Warnings
  - `spf` object, required
    - `valid` boolean, required: Whether SPF record is valid
    - `record` string: SPF record
    - `error` string: Error message if validation failed
    - `security_score` integer, required: Security score for SPF
    - `all_mechanism` string: All mechanism
    - `lookup_count` integer, required: Number of lookups
    - `has_ipv6` boolean, required: Whether IPv6 is present
    - `record_length` integer, required: Record length
    - `recommendations` string[]: Recommendations for improvement
    - `warnings` string[]: Warnings
  - `dkim` object, required
    - `selectors` object[], required: DKIM selectors
      - `selector` string, required: Selector name
      - `found` boolean, required: Whether selector was found
      - `valid` boolean, required: Whether selector is valid
      - `record` string: DKIM record
      - `key_length` integer, required: Key length
      - `key_algorithm` string: Key algorithm
      - `hash_algorithm` string: Hash algorithm
      - `service_type` string: Service type
    - `security_score` integer, required: Security score for DKIM
    - `recommendations` string[]: Recommendations for improvement
    - `warnings` string[]: Warnings
  - `dnssec` object, required
    - `valid` boolean, required: Whether DNSSEC is valid
    - `error` string: Error message if validation failed
    - `security_score` integer, required: Security score for DNSSEC
    - `algorithm` string: Algorithm
    - `key_length` integer: Key length
    - `chain_valid` boolean, required: Whether chain is valid
    - `recommendations` string[]: Recommendations for improvement
    - `warnings` string[]: Warnings
  - `overall_score` integer, required: Overall security score
  - `ttl` integer, required: Time to live

## Other responses

- `403`: User is not authorized for this organization
- `500`: Internal server error

---

[API](https://skmtc.dev/xfa/apis/xfa-api.md) · [All operations](https://skmtc.dev/xfa/apis/xfa-api/llms.txt) · [OpenAPI document](https://skmtc.dev/xfa/apis/xfa-api/revisions/1a1be0e8972b?raw)
