🧪 Sandbox only for now. This endpoint is currently available in the sandbox environment only; live access is coming soon.
dnsRecords fields are null until provisioning has retrieved them — wait for the corresponding webhook before reading them.gws:readcurl --location 'https://api.resellerstack.ai/api/v1/gws?userId=b3d6f2a1-4c8e-4f9d-a2b1-7e3d5c9f0a12&domain=example.com&contains=example&page=1&limit=50' \
--header 'rs-x-api-key: <api-key>'{
"status": 200,
"message": "Workspaces",
"data": {
"workspaces": [
{
"domain": "example.com",
"adminEmail": "admin@example.com",
"status": "provisioning",
"totalSeats": 3,
"usedSeats": 3,
"availableSeats": 0,
"dnsRecords": [
{
"purpose": "domain_verification",
"type": "TXT",
"host": "@",
"expectedValue": "google-site-verification=abc123xyz",
"currentValue": "google-site-verification=abc123xyz",
"propagatedAt": "2026-09-16T20:14:00.000Z"
},
{
"purpose": "mx",
"type": "MX",
"host": "@",
"expectedValue": "smtp.google.com",
"currentValue": null,
"priority": 1,
"propagatedAt": null
},
{
"purpose": "dkim",
"type": "TXT",
"host": "google._domainkey",
"expectedValue": "v=DKIM1; k=rsa; p=MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQ...",
"currentValue": null,
"propagatedAt": null
}
],
"createdAt": "2026-09-16T20:00:00.000Z"
}
],
"total": 1,
"page": 1,
"limit": 50
}
}