Sending Profile
Your sending profile is used to manage email authentication such as DKIM, DMARC and SPF along with branded link URLs and bounce addresses. SMTPD has an opinionated sending setup that brings better deliverability.
Sending Profiles are critical to email deliverability and are continuously validated by the SMTPD platform. If any DNS records are removed OR incorrectly altered, your sending profile will be set into a "pending" and all sending will fail for any messages linked to that sending profile.
Create sending profile
POST
https://api.smtpd.dev/api/v1/profile/email
This endpoint allows you to create a new sending profile, you can add as many sending profiles as needed. Every sending profile is continuously validated, if any DNS records are missing the sending profile will be placed into a pending
state, if that remains for longer than 72hrs the sending profile will be disabled and eventually deleted.
Headers
Name | Type | Description |
---|---|---|
Authentication | string |
|
Request Body
Name | Type | Description |
---|---|---|
link_domain_default_redirect | string | The default redirect destination for the link_domain |
bounce_domain | string | The reply-to address domain |
link_domain | string | The domain used for the branded links |
sending_domain | string | The domain used in the "from address" |
profile_name | string | The name of the Sending Profile |
Get sending profile domain setup details
GET
https://api.smtpd.dev/api/v1/profile/email/:id/setup
This endpoint allows you to get the sending profile domain setup details by ID
Path Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the sending profile. |
Headers
Name | Type | Description |
---|---|---|
Authentication | string |
|
Verify sending profile domain setup
PUT
https://api.smtpd.dev/api/v1/profile/email/:id/verify
This endpoint enqueues a verification task for the sending profile.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the sending profile |
Headers
Name | Type | Description |
---|---|---|
Authentication | string |
|
Get sending profile by ID
GET
https://api.smtpd.dev/api/v1/profile/email/:id
This endpoint allows you to get a sending profile by ID.
Path Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the sending profile. |
Headers
Name | Type | Description |
---|---|---|
Authentication | string |
|
Get all sending profiles
GET
https://api.smtpd.dev/api/v1/profile/email
This endpoint allows you to all the sending profiles for an account.
Headers
Name | Type | Description |
---|---|---|
Authentication | string |
|
Last updated