Skip to main content

Validate DKIM and SPF for a domain

PUT 

https://api.tinyemail.com/relay/v1/domain/dns/check

This endpoint validates DKIM and SPF records for the given domain.

Request

Body

required
    domain string

Responses

DKIM and SPF validation result

Schema
    dkim object
    status string
    dns object[]
  • Array [
  • type string
    name string
    value string
  • ]
  • spf object
    status string
    dns object[]
  • Array [
  • type string
    name string
    value string
  • ]

Authorization: X-RELAY-ACCESS-TOKEN

name: X-RELAY-ACCESS-TOKENtype: apiKeyin: headerdescription: Provide the api key as bearer token as follows. Pass the value as `TOKEN {{api_key}}`. Replace the `{{api_key}}` with your API key provided during onbaording.
curl -L -X PUT 'https://api.tinyemail.com/relay/v1/domain/dns/check' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'X-RELAY-ACCESS-TOKEN: <API_KEY_VALUE>' \
--data-raw '{
"domain": "tinyemail.com"
}'
Request Collapse all
Base URL
https://api.tinyemail.com/relay/v1
Auth
Body required
{
"domain": "tinyemail.com"
}
ResponseClear

Click the Send API Request button above and see the response here!