post

/domain

This endpoint enables you to add domains which can be used for sending emails.

What is Sending Domain? And why it’s required?

A Sending Domain is a domain that is used to indicate who has sent an email- It’s the “From:” header. Eg. when you see sign up confirmation email of Pepipost, you see it coming from alerts@pepipost.com. Here “pepipost.com” is the sender domain.

To start sending emails to your customers, you can use either your top-level domain eg. mycompany.com or you can use a sub-domain like email.mycompany.com.

For maximum deliverability, we recommend- in fact we made it mandatory to configure SPF and DKIM records for your sending domain.

Once you have added the sender domain, you need to verify and authenticate the same by adding SPF and DKIM records under domain settings in your Pepipost account. Post that Pepipost compliance team will review the domain. You will be ready to send emails, once the sender domain is approved by the team.

1 Header

Request Body

1 Example
Schema
object
domainName
string

The domain which you want to get whitelabel for sending email. e.g. mydomain.com

pattern: ^[a-zA-z0-9-]+(\.[a-zA-z0-9-]{2,25}){1,3}$

Responses

1 Example
Schema
object
data
object
message
string

Send a Test Request