Domains
Overview of all domains managed by this account.
List of all domain
GET https://api.kdmarc.com/api/v1/domain
Contain all the list of domains in your account
Headers
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": [
{
"name": "kratikal.com",
"isActive": true,
"dmarc": {
"valid": true,
"record": "v=DMARC1; p=reject; rua=mailto:[email protected],mailto:[email protected],mailto:[email protected]; ruf=mailto:[email protected],mailto:[email protected]; fo=1; adkim=s;",
"value": "p=reject;",
"subPolicy": "Sub policy is not configured",
"subPolicyValid": false
},
"spf": {
"valid": true,
"value": "SPF Present [~all]",
"record": "v=spf1 include:_spf.google.com ip4:54.240.37.117 ip4:168.245.74.19 include:zoho.com include:spf1.zoho.com include:transmail.net include:zcsend.net include:_spf.getresponse.com ~all"
}
}
]
}{
"errors": [
"user not found"
]
}Retrieve details of the domain
GET https://api.kdmarc.com/api/v1/domain/{domain}
Fetch the detail of the specified domain.
Path Parameters
domain
string
To fetch the details of the domain you have to put the domain name 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
Create a domain
POST https://api.kdmarc.com/api/v1/domain/
Start creating a new domain within this account.
Path Parameters
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
object
Example { "name":"kratikal.com" }
Deleting a domain
DELETE https://api.kdmarc.com/api/v1/domain/{domain}
Stop managing a domain with this account.
Path Parameters
domain
string
To delete the specific domain you have to put the domain name 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
Last updated
Was this helpful?