CRUD
Workspaces
Retrieve multiple workspaces by their IDs
Returns a list of workspaces resolved for the provided IDs.<br/> Guarantees that the array-size and order of the returned workspaces matches the order of requested IDs.<br/> Does not fail if any of the requested workspaces is not found or not accessible - instead it returns null as an array-element of the corresponding workspace which could not be accessed.<br/>Requirements:<br/>- auth-client scopes: "workspace:read"<br/>- user permission: "read" or higher
post/api/workspaces/list
Request
- Base URL: https://app.airfocus.com
- URL: https://app.airfocus.com/api/workspaces/list
- Auth: HTTP bearer
Query parameters
actAsAdminboolean
Enable sudo-mode for admins for a single request, which gives full permission to all workspaces in the team.
Request body
string[] required
Response
Example response
[
{
"_embedded": {
"children": [
{
"workspace": {
"description": {
"blocks": [
{
"content": [
{
"content": "hello world",
"type": "text"
}
],
"type": "paragraph"
}
],
"richText": true
}
}
}
],
"parents": [
{
"workspace": {
"description": {
"blocks": [
{
"content": [
{
"content": "hello world",
"type": "text"
}
],
"type": "paragraph"
}
],
"richText": true
}
}
}
]
},
"description": {
"blocks": [
{
"content": [
{
"content": "hello world",
"type": "text"
}
],
"type": "paragraph"
}
],
"richText": true
}
}
]Changes
No recorded changes to this operation across all 1 revision of this API.