{
"status": 200,
"message": "Workspaces fetched successfully",
"data": {
"totalSearchedCount": 2,
"currentPage": 1,
"nextPage": 2,
"totalPages": 1,
"totalWorkspacesCount": 2,
"totalDomainsCountGoogle": 8,
"totalDomainsCountMicrosoft": 0,
"totalPurchasedMailboxesCountGoogle": 25,
"totalPurchasedMailboxesCountMicrosoft": 0,
"currentWorkspace": {
"id": "5d0f3b52-8c1e-4a8e-9f67-2b1c7e0a4d11",
"name": "Acme Outreach",
"user_id": "c1f4a7d2-3b5e-4c6a-8d9f-0a1b2c3d4e5f",
"domainCountGoogle": "6",
"domainCountMicrosoft": "0",
"assignedMailboxesCountGoogle": "14",
"assignedMailboxesCountMicrosoft": "0",
"totalMailboxesPurchasedGoogle": "20",
"totalMailboxesPurchasedMicrosoft": "0",
"activeMailboxCountGoogle": "12",
"activeMailboxCountMicrosoft": "0",
"billingDetails": {
"id": "0b6d2f6e-7a43-4f0b-9a70-5e6c1b2d3f40",
"userId": "c1f4a7d2-3b5e-4c6a-8d9f-0a1b2c3d4e5f",
"workspaceId": "5d0f3b52-8c1e-4a8e-9f67-2b1c7e0a4d11",
"company": "Acme Inc.",
"firstName": "Jane",
"lastName": "Doe",
"addressLineOne": "2207 Maple Avenue",
"addressLineTwo": "Suite 500",
"addressLineThree": null,
"city": "Dallas",
"state": "Texas",
"country": "US",
"postalCode": "75201",
"phoneCc": "1",
"phone": "2149876543",
"languagePreference": "en"
},
"role": "OWNER"
},
"workspaces": [
{
"id": "9a4e5c10-6b7d-4e21-8f33-1c2d3e4f5a6b",
"name": "Acme Sales",
"user_id": "c1f4a7d2-3b5e-4c6a-8d9f-0a1b2c3d4e5f",
"domainCountGoogle": "2",
"domainCountMicrosoft": "0",
"assignedMailboxesCountGoogle": "4",
"assignedMailboxesCountMicrosoft": "0",
"totalMailboxesPurchasedGoogle": "5",
"totalMailboxesPurchasedMicrosoft": "0",
"activeMailboxCountGoogle": "4",
"activeMailboxCountMicrosoft": "0",
"billingDetails": null,
"role": "ADMIN"
}
]
}
}