Domain API

fetch dns records

API endpoint URL for non-EU customers - https://emailapi.netcorecloud.net/

API endpoint for EU customers - https://apieu.netcorecloud.net/

This API enables you to fetch the DNS records (SPF, DKIM & Custom Envelope) for a domain added in your account. It is mandatory to add these records in your domain's advanced DNS settings to activate your domain.

What are SPF and DKIM? And why are these are important to have?

SPF (Sender Policy Framework) record ascertains ESPs that Pepipost is authorized to send emails using your domain.

DKIM (Domain Key Identified Mail) is a method to validate the authenticity of email messages. We send each email with a DKIM signature and ESPs use this signature to verify the authenticity of the email using the DKIM record entered in your domain's DNS settings.

get/domain/dns

Request

  • Base URL
    https://emailapi.netcorecloud.net/v5.1
  • URL
    https://emailapi.netcorecloud.net/v5.1/domain/dns
  • Auth
    API key in header api_key

Query parameters

domainstring required

Name of the domain added in your account

Headers

api_keystring required

Your Pepipost API Key. You can find this in your Pepipost account at Settings->Integrations.

Response

Success

object required

Changes

No recorded changes to this operation across all 1 revision of this API.