Saasco logoSaasco logo
Saasco logoSaasco logo

Introduction

Quick StartWhat is Saasco?

Analytics

CRM

Email Marketing

Knowledge

Support

Projects

getList DomainsgetGet DomaingetGet Domain By NamepostCreate DomainpostUpdate DomaindelDelete DomainpostActivate Email SendingpostActivate Email ReceivingdelDisable Email SendingdelDisable Email ReceivingpostEnable ShortlinkdelDisable ShortlinkpostEnable Link TrackinggetGet Email Receiving ConfiggetGet Sender ReputationgetGet Sender Reputation By Domain NamepostRefresh Sender ReputationgetGet Domain Warmup StatuspostComplete Domain WarmuppostVerify Email DNSpostVerify Email Receiving DNSpostVerify Shortlink
Domains

Enable Shortlink

Adds the hostname to Vercel so custom-domain shortlinks resolve. If DNS already verifies, project members get a verification email. Otherwise status stays PENDING until Verify Shortlink succeeds.

POST
/projects/{projectId}/domains/{domainId}/shortlink

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

curl -X POST "https://www.saasco.com/api/v2/projects/string/domains/string/shortlink"
{
  "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
}
{
  "code": "BAD_REQUEST",
  "message": "Invalid input data",
  "issues": []
}
{
  "code": "UNAUTHORIZED",
  "message": "Authorization not provided",
  "issues": []
}
{
  "code": "FORBIDDEN",
  "message": "Insufficient access",
  "issues": []
}
{
  "code": "INTERNAL_SERVER_ERROR",
  "message": "Internal server error",
  "issues": []
}

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.

Disable Shortlink

Removes the hostname from Vercel and turns custom-domain shortlinks off.