new_domain becomes the workspace's primary domain.new_domain from here. Triggered by POST /gws/primary-domain (beta, sandbox only for now). Billing is unchanged.workspace.txt.propagated. The new mailboxes stay IN_PROGRESS until workspace.dkim.propagated, when each flips to ACTIVE and fires mailbox.ready.for_primary_domain_swap: true.curl --location 'https://your-api-server.com' \
--header 'Content-Type: application/json' \
--data '{
"event": "workspace.domain.swapped",
"eventId": "evt_9f8e7d6c5b4a",
"data": {
"userId": "b3d6f2a1-4c8e-4f9d-a2b1-7e3d5c9f0a12",
"domain": "example.org",
"previousDomain": "example.com",
"status": "in_progress",
"for_primary_domain_swap": true
}
}'