List Workspaces
List your organization's workspaces, newest first.
List your organization's workspaces, newest first.
GET /v1/organizations/workspacesQuery parameters
include_defaultbooleanoptionalDefault falseInclude the Default Workspace.
include_archivedbooleanoptionalDefault falseInclude archived workspaces.
limitintegeroptionalDefault 20Items per page, 1 to 1000.
after_idstringoptionalReturn the page after this ID (older items). Pass the previous page's
last_id.
before_idstringoptionalReturn the page before this ID (newer items). Pass the previous page's
first_id.
Response
dataWorkspace[]optional[Workspace objects](/api-reference/admin/workspaces#the-workspace- object).
has_morebooleanoptionaltrue when there are more items beyond this page.
first_idstring | nulloptionalID of the first item on this page, or null if the page is empty.
last_idstring | nulloptionalID of the last item on this page, or null if the page is empty.
Errors
| Status | Reason |
|---|---|
400 | A boolean is not true or false, or limit is out of range, both after_id and before_id are set, or the cursor ID doesn't exist. |