Dhesend

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"
    },
    ...
  ]
}
Endpoint
This endpoint is used to create Domains.
POST /domain/create
Query parameters
domainstringrequired
Name of the domain.

Dhesend @ 2024 - Made with ❤ by  DHEM