Workspaces
List workspaces
Every workspace your token covers: main workspaces and their sub-workspaces. Use an id from here as the Workspace header on other calls.
GET
https://api.scaledmail.com/v2/workspaces- Rate limit
- Read: 300 calls per minute per token
All workspaces in one answer, no paging. A workspace shows only while the token's creator is a member of it.
Headers
AuthorizationstringrequiredBearer <your API token>. Tokens start withsm_.live_
Response (200)
dataobject[]requiredEvery workspace the token covers, in one reply (no paging).
ShowHide child fields
idstringrequiredThe workspace id (
org_).. . . namestringrequiredThe workspace name.
parent_idstringoptionalThe main workspace of a sub-workspace (
org_). Only on a sub-workspace.. . .
Responses
- 200OK. Always, when the token is valid. The token's home workspace comes first.
- 403Not allowed. The token can't use the workspace in
Workspace(workspace_).not_ allowed - 429Too many. More than 300 read calls a minute with this token. Wait for
Retry-Afterseconds.
Like every call, it can also answer 401 (bad key). See Errors.
