ProjectsDomains
Enable Link Tracking
Sets the tracking host to trackingSubdomain (default links) and issues the tracking CNAME. Changing it re-issues DNS, and Resend allows one change per 24 hours.
Authorization
Authorization AuthorizationBearer <token>
In: header
Path Parameters
projectIdrequiredstring
ID of the project that owns the domain.
domainIdrequiredstring
ID of the domain.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
trackingSubdomainstring
Subdomain to serve open and click tracking from, e.g. links for links.acme.com. Defaults to links.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/projects/string/domains/string/link-tracking" \ -H "Content-Type: application/json" \ -d '{}'{ "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}