Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

OverviewGetting startedAgent setupWhat is Saasco?

SDK

Quick startTrackingIdentifyConfigurationWidgetsProperties

MCP

Quick startHow it worksAuthorizationTool reference
Skills for agents

REST API

Quick start
getList DomainsgetGet DomainpostCreate DomainpostUpdate DomaindelDelete DomainpostActivate Email SendingpostActivate Email ReceivingdelDisable Email SendingdelDisable Email ReceivingpostEnable ShortlinkdelDisable ShortlinkpostEnable Link TrackinggetGet Email Receiving ConfiggetGet Sender ReputationgetGet Sender Reputation By Domain NamegetGet Domain Warmup StatuspostVerify Email DNSpostVerify Email Receiving DNSpostVerify Shortlink
ProjectsDomains

Disable Email Sending

View as MarkdownAgent setup

Turns sending off and clears tracking state. If inbound still uses the same Resend registration, that registration is kept and only sending is disabled. Otherwise the domain is removed from Resend. Re-activating issues a new record set rather than reusing a stale one.

DELETE
/projects/{projectId}/domains/{domainId}/email

Authorization

Authorization
AuthorizationBearer <token>

In: header

Path Parameters

projectIdrequiredstring

ID of the project that owns the domain.

domainIdrequiredstring

ID of the domain.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/projects/string/domains/string/email"
{  "id": "string",  "createdAt": "string",  "updatedAt": "string",  "emailStatus": "INACTIVE",  "emailProvider": "string",  "emailProviderDomainId": "string",  "emailReceivingStatus": "INACTIVE",  "emailReceivingProviderId": "string",  "trackingSubdomain": "string",  "trackingVerificationStatus": "PENDING",  "shortlinkEnabled": true,  "vercelConfigured": true,  "vercelVerificationStatus": "PENDING",  "vercelVerificationError": "string",  "vercelVerificationDNS": [    {      "domain": "string",      "reason": "string",      "type": "string",      "value": "string"    }  ],  "emailVerificationRequestedAt": "string",  "receivingVerificationRequestedAt": "string",  "shortlinkVerificationRequestedAt": "string",  "senderReputationComputedAt": "string",  "warmupStatus": "PENDING",  "warmupStartedAt": "string",  "warmupWindowStartedAt": "string",  "projectId": "string",  "name": "string",  "senderReputation": 50,  "warmupDay": 0,  "warmupSentCount": 0}

Activate Email Receiving

Turns inbound email on for the domain. The hostname stays registered; this only enables receiving. Read the MX records from Get Email Receiving Config, add them, then call Verify Email Receiving DNS before mail is accepted.

Disable Email Receiving

Turns inbound email off. If sending still uses the Resend registration, only receiving is disabled. If sending is already off, the registration is removed. Sets receiving status to INACTIVE.