GET
/
workspace-sections
curl --request GET \
  --url https://api.dock.so:4000/{version}/workspace-sections \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "workspaceSections": [
      {
        "id": "RiHO4e0Ju3DS",
        "updatedAt": "2021-01-01T00:00:00.000Z",
        "createdAt": "2021-01-01T00:00:00.000Z",
        "object": "workspaceSection",
        "url": "https://api.dock.us/v1/workspace-sections/RiHO4e0Ju3DS",
        "name": "Planning",
        "navigationName": "Home",
        "index": 0,
        "isHidden": false,
        "isSynced": false,
        "isCollaborative": false,
        "isHiddenFromNavigation": false,
        "templateSectionId": "RiHO4e0Ju3DS"
      }
    ],
    "pageInfo": {
      "page": 1,
      "pages": 10,
      "total": 100,
      "pageTotal": 10,
      "hasNextPage": true,
      "hasPrevPage": false
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

properties
enum<string>[]

Select the workspace section properties that should be returned

Available options:
name,
navigationName,
isHidden,
index,
isSynced,
isCollaborative,
isHiddenFromNavigation,
createdAt,
updatedAt,
templateSectionId
filters
object

Filter workspace sections

page
integer

Page number

limit
integer

Number of results to return

Response

200
application/json
Retrieve a list of workspace sections
data
object