Workspaces

Get workspace

One workspace your token covers, by id.

GEThttps://api.scaledmail.com/v2/workspaces/:id
Rate limit
Read: 300 calls per minute per token

No Workspace header is needed: the id in the path says which one.

Path parameters

  • idstringrequired

    The workspace id (org_...).

Headers

  • Authorizationstringrequired

    Bearer <your API token>. Tokens start with sm_live_.

Response (200)

  • idstringrequired

    The workspace id (org_...).

  • namestringrequired

    The workspace name.

  • parent_idstringoptional

    The main workspace of a sub-workspace (org_...). Only on a sub-workspace.

Responses

  • 200OK. The token covers this workspace.
  • 403Not allowed. The token can't use the workspace in Workspace (workspace_not_allowed).
  • 404Not found. No workspace with this id, or your token does not cover it.
  • 429Too many. More than 300 read calls a minute with this token. Wait for Retry-After seconds.

Like every call, it can also answer 401 (bad key). See Errors.