cURL
curl --request GET \ --url https://api.example.com/api/sso/orgs/{orgId}/domains \ --cookie better-auth.session_token=
[ { "id": "<string>", "domain": "<string>", "txtRecordName": "<string>", "txtRecordValue": "<string>", "status": "pending", "allowAutoEnroll": true, "createdAt": "<string>", "verifiedAt": "<string>", "lastCheckedAt": "<string>" } ]
Returns all domain verification records with DNS TXT challenge details.
Default Response
pending
Was this page helpful?