Get Domain Verification Record
GET
https://api.vercel.com/v9/domains/{domain}/verificationGet the TXT verification record needed to claim ownership of a domain for the authenticated team. The caller must add this TXT record to
_vercel.{domain} in their DNS configuration, then call POST /domains/:domain/claim to complete the ownership transfer.https://api.vercel.com/v9/domains/{domain}/verification
const response = await fetch('https://api.vercel.com/v9/domains/domain/verification?teamId=string&slug=string', { method: 'GET', headers: { 'Authorization': 'Bearer YOUR_ACCESS_TOKEN', 'Content-Type': 'application/json', },});
const data = await response.json();console.log(data);Response
{ "txtRecord": "string", "verificationDomain": "string"}AuthorizationbearerToken
Default authentication mechanism