Get a workspace
Read one workspace of your organisation by id with an organisation key: name, slug, status, plan and defaults.
GET /v3/organisation/workspaces/{id}
Response (200)
json
{
"id": "9d2f6c1e-4b3a-4e7d-8a1f-0c5b7e9d2a64",
"name": "Acme EU",
"slug": "acme-eu",
"status": "active",
"home": false,
"plan": "professional",
"timezone": "Europe/Athens",
"default_language": "en",
"created_at": "2026-10-29T10:00:00Z"
}Responses
| Status | Description |
|---|---|
200 | OK. The workspace. |
401 | Missing or invalid organisation key — workspace keys (afn_live_ / afn_test_) are refused here by design. |
403 | insufficient_scope — the key lacks workspaces:read — or ip_not_allowed. |
404 | No workspace with this id in your organisation (ids of other organisations are never revealed). |
Code examples
cURL
curl https://api.wemail.io/v3/organisation/workspaces/9d2f6c1e-4b3a-4e7d-8a1f-0c5b7e9d2a64 \
-H "Authorization: Bearer afn_org_…"Node.js
const res = await fetch("https://api.wemail.io/v3/organisation/workspaces/9d2f6c1e-4b3a-4e7d-8a1f-0c5b7e9d2a64", {
headers: { Authorization: "Bearer " + process.env.WEMAIL_ORG_KEY },
});
console.log(await res.json());Python
import os, requests
res = requests.get(
"https://api.wemail.io/v3/organisation/workspaces/9d2f6c1e-4b3a-4e7d-8a1f-0c5b7e9d2a64",
headers={"Authorization": "Bearer " + os.environ["WEMAIL_ORG_KEY"]},
)
print(res.json())ResponseExample response
{
"id": "9d2f6c1e-4b3a-4e7d-8a1f-0c5b7e9d2a64",
"name": "Acme EU",
"slug": "acme-eu",
"status": "active",
"home": false,
"plan": "professional",
"timezone": "Europe/Athens",
"default_language": "en",
"created_at": "2026-10-29T10:00:00Z"
}