POST
/
outbound
/
domains
curl --request POST \
  --url https://api.jetemail.com/outbound/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "domain": "example.com"
}'
{
  "success": true,
  "message": "Domain added successfully",
  "domain": "example.com",
  "uuid": "550e8400-e29b-41d4-a716-446655440000",
  "status": 0,
  "created_date": 1735689600,
  "dns": {
    "dkim": {
      "host": "jetemail._domainkey.example.com",
      "value": "v=DKIM1; k=rsa; p=MIGfMA0..."
    },
    "spf": {
      "host": "example.com",
      "value": "v=spf1 include:spf.jetsmtp.net ~all"
    },
    "dmarc": {
      "host": "_dmarc.example.com",
      "value": "v=DMARC1; p=none"
    }
  }
}

Authorizations

Authorization
string
header
required

Enter your Bearer token in the format "Bearer {token}"

Body

application/json
domain
string
required

Domain name to add

Example:

"example.com"

Response

200
application/json
Domain added successfully
success
boolean
Example:

true

message
string
Example:

"Domain added successfully"

domain
string

The added domain name

Example:

"example.com"

uuid
string

Unique identifier for the domain

Example:

"550e8400-e29b-41d4-a716-446655440000"

status
integer

Domain status code

Example:

0

created_date
integer

Creation timestamp

Example:

1735689600

dns
object