List email workspaces
Returns every email workspace belonging to the project, filtered by provider.
Query Parameters
- Type: stringenumprovider
Filter workspaces by provider. One of
google(default) oroutlook.values- google
- outlook
Responses
- application/json
- application/json
Request Example for get/v1/email_workspaces
curl 'http://api.mailreach.co/api/v1/email_workspaces?provider=google' \
--header 'X-Api-Key: YOUR_SECRET_TOKEN'
[
{
"id": 42,
"name": "Acme Sales",
"created_at": "2026-02-14T09:30:00.000Z",
"provider": "google",
"outlook_tenant_id": "1f9e4b2c-3f67-4f8e-9b3e-0f0f6a9b1e2d",
"outlook_client_id": "82c5c74d-6ba1-42b1-9c1d-91f8a7b51b2a",
"outlook_client_secret_expires_at": "2028-01-29T00:00:00.000Z"
}
]