POST
/
domains
Create Domain
curl --request POST \
  --url https://api.amisend.com/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "example.com"
}'
{
  "_id": "<string>",
  "name": "<string>",
  "team": "<string>",
  "user": "<string>",
  "status": "<string>",
  "ses": {
    "verifyDomainToken": "<string>",
    "dkmi": [
      "<string>"
    ]
  },
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

201
application/json

Domain created successfully

The response is of type object.