Domains
Get Domain By Name
Public lookup of a domain by hostname. Not project-scoped. Returns 404 if no domain matches.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
domainNamerequiredstring
Hostname to look up, without a protocol.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://www.saasco.com/api/v2/domains/by-name/string"{
"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": "NOT_FOUND",
"message": "Not found",
"issues": []
}{
"code": "INTERNAL_SERVER_ERROR",
"message": "Internal server error",
"issues": []
}Get Domain
Fetches a domain plus its email DNS config and whether verification jobs are still running. Returns 404 if no domain matches.
Create Domain
Registers a hostname on the project. Names are unique across Saasco. Reusing one that belongs to another project returns 400. Creating one does not enable sending, receiving, or shortlinks — those are separate activate calls.