Skip to main content
curl --request POST \
  --url https://api.autosend.com/v1/domains/60d5ec49f1b2c72d9c8b1111/inbound/disable \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "id": "60d5ec49f1b2c72d9c8b1111",
    "domainName": "example.com",
    "verificationStatus": "VERIFIED",
    "ownershipVerified": true,
    "dkimEnabled": true,
    "mailFromEnabled": true,
    "dmarcEnabled": true,
    "dnsRecords": {},
    "createdAt": "2026-01-05T10:00:00.000Z",
    "lastCheckedAt": "2026-03-10T14:20:00.000Z",
    "verifiedAt": "2026-01-05T12:00:00.000Z",
    "regionKey": "us-east-1",
    "verificationInProgress": false,
    "inboundEnabledAt": null,
    "inboundDomainVerifiedAt": null
  }
}
Disable inbound email receiving on a custom domain. Calling this endpoint clears the domain’s inbound state and removes the inbound MX record from the returned DNS records. If the domain had been added to the SES receipt rule, its recipient condition is removed so SES stops accepting its mail. You can safely remove the inbound MX record from your DNS afterwards.

Authorizations

Authorization
string | header
required
Bearer authentication header of the form Bearer <token>, where <token> is your API key.

Path Parameters

domainId
string
required
The id of the domain on which to disable inbound receiving.

Response

success
boolean
Indicates whether the request was successful.
data
object
The updated domain object.

Errors

404
object
Returned when no domain with the given domainId exists in the project.
500
object
Returned when inbound receiving could not be disabled on the domain.