Domain
Create Domain
Learn how to create Domain using Dhesend API.
import Dhesend from 'dhesend';
const dhesend = new Dhesend('dhe_fdd03c4eb1');
dhesend.domain.create("hello.com");{
"id": "82cfbba4-a122-42bd-b83f-9ed619c1257e",
"name": "hello.com",
"message": "Add these records to your DNS settings",
"txt": {
"name": "_amazonses.hello.com",
"value": "aPHM0gKRcIibfc10gE3fVNVroySRcKsYHGAOPTQqm9Q="
},
"dkim": [
{
"name": "4a2lpuhhttgnshi63qlgz6xk6yom4lfe._domainkey.hello.com",
"type": "CNAME",
"value": "4a2lpuhhttgnshi63qlgz6xk6yom4lfe.dkim.amazonses.com"
},
...
]
}Query parameters
Name of the domain.