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
/v1/email/domains/{id}/custom-tracking/recheck

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.

Authorization

apiKey
headerx-api-key<token>

Path Parameters

id*string
Match^dom_[0-9a-hjkmnp-tv-z]{16,24}$

Response Body

CustomTrackingStatus

application/json
  1. response
enabled*boolean
customTracking*|null
parentDomains*array<string>
Example Request
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"  ]}

Related documentation