Classification

Fetch the classification for the specific source of a domain and configured the data for that domain.

Retrieve classification for a source in domain list

GET https://api.kdmarc.com/api/v1/domain/{domain}/source/{source}

Fetch the details of the sources classification.

Path Parameters

Name
Type
Description

domain

string

To fetch the details of the specific domain for e.g. example.com

source

string

To fetch the classification details of the specific source from the domain who is utilizing your domain for e.g. google.com

Authorization

string

The HTTP Authorization request header contains the credentials to authenticate a user agent with a server, this can be generated through Dashboard within settings

{
  "data": {
    "sourceId": "XXXXX",
    "sourceDisplay": "Sorcename",
    "classification": "valid",
    "status": {
      "spf": {
        "result": "pass"
      },
      "dkim": {
        "result": "pass"
      }
    },
    "reportStatus": {
      "spf": {
        "result": "pass"
      },
      "dkim": {
        "result": "pass"
      }
    },
    
  }

Update classification for a source in domain list

PATCH https://api.kdmarc.com/domain/{domain}/source/{source}

Fetch the classification for the specific source of a domain

Path Parameters

Name
Type
Description

source

string

To fetch the classification details of the specific source from the domain who is utilizing your domain for e.g. google.com

domain

string

To fetch the details of the specific domain for e.g. example.com

Authorization

string

The HTTP Authorization request header contains the credentials to authenticate a user agent with a server, this can be generated through Dashboard within settings

Request Body

Name
Type
Description

record

object

{ "spfRecord": " include:_spf.example.com", "dkimSelector": "example._domainkey", "spfDomain":"example.com", "dkimDomain":"example.com", "type": "UnKnown" }

{
  "data": {
    "sourceId": "XXXXX",
    "sourceDisplay": "Sorcename",
    "classification": "valid",
    "status": {
      "spf": {
        "result": "pass"
      },
      "dkim": {
        "result": "pass"
      }
    },
    "reportStatus": {
      "spf": {
        "result": "pass"
      },
      "dkim": {
        "result": "pass"
      }
    },
    
  }

Last updated

Was this helpful?