POST
/
inbound
/
domains
curl --request POST \
  --url https://api.jetemail.com/inbound/domains \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "domain": "example.com",
  "nexthop": "mail.example.com:25"
}'
{
  "success": true,
  "result": {
    "domain": "example.com",
    "nexthop": "mail.example.com:25",
    "status": "active",
    "uuid": "550e8400-e29b-41d4-a716-446655440000"
  }
}

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"

nexthop
string
required

Next hop server in format domain:port or IP:port

Example:

"mail.example.com:25"

Response

200
application/json
Domain added successfully
success
boolean
Example:

true

result
object