dnsRecords array (TXT + MX + DKIM entries) that the customer must configure. Present currentValue will be null for all records at this stage since DNS has not propagated yet.dnsRecords item shape:purpose: 'domain_verification' | 'dkim' | 'mx' | 'spf'type: 'TXT' | 'MX'host: '@' or 'google._domainkey'expectedValue: what DNS must resolve tocurrentValue: what DNS currently resolves to, or null if not yet propagatedpriority: MX records onlypropagatedAt: ISO timestamp when confirmed, or nullcurl --location 'https://your-api-server.com' \
--header 'Content-Type: application/json' \
--data-raw '{
"event": "workspace.txt.ready",
"eventId": "evt_9f8e7d6c5b4a",
"data": {
"userId": "b3d6f2a1-4c8e-4f9d-a2b1-7e3d5c9f0a12",
"domain": "example.com",
"dnsRecords": [
{
"purpose": "domain_verification",
"type": "TXT",
"host": "@",
"expectedValue": "google-site-verification=abc123",
"currentValue": null,
"propagatedAt": null
},
{
"purpose": "mx",
"type": "MX",
"host": "@",
"expectedValue": "smtp.google.com",
"currentValue": null,
"priority": 1,
"propagatedAt": null
}
]
}
}'