Recheck a custom tracking domain's certificate
Checks the hostname's certificate now instead of waiting for the next scheduled check, and returns the refreshed state.
POST
Checks the hostname's certificate now instead of waiting for the next scheduled check, and returns the refreshed state. Samva checks a hostname at most once every 30 seconds; a recheck inside that window returns the state from the last check. Returns a conflict when custom tracking is disabled or being torn down.
apiKeyheader
x-api-key<token>id*stringMatch
^dom_[0-9a-hjkmnp-tv-z]{16,24}$CustomTrackingStatus
application/json- response
enabled*booleancustomTracking*|nullparentDomains*array<string>import { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.email.recheckCustomTracking({
"id": "example"
});Example Response
{
"enabled": true,
"customTracking": {
"status": "pending",
"label": "string",
"hostname": "string",
"parentDomain": "string",
"region": "string",
"sslStatus": "string",
"certificate": {
"reason": {
"code": "initializing",
"message": "string"
},
"lastCheckedAt": "string",
"nextCheckAt": "string"
},
"dnsRecords": {
"tracking": {
"name": "string",
"type": "string",
"value": "string"
},
"dcvDelegation": {
"name": "string",
"type": "string",
"value": "string"
}
},
"caaBlocked": true,
"verificationErrors": [
"string"
],
"teardownScheduledAt": "string"
},
"parentDomains": [
"string"
]
}