API Reference
Status Check
Accounts
Workspaces
Workspace users
Workspace domains
Workspace pages
Workspace sections
Workspace plan tasks
Workspace sections
Retrieve a list of workspace sections
Retrieve a list of workspace sections
GET
/
workspace-sections
Copy
Ask AI
curl --request GET \
--url https://api.dock.us/{version}/workspace-sections \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"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
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Query Parameters
Select the workspace section properties that should be returned
Filter workspace sections
Page number
Number of results to return
Response
200
application/json
Retrieve a list of workspace sections
The response is of type object
.
Copy
Ask AI
curl --request GET \
--url https://api.dock.us/{version}/workspace-sections \
--header 'Authorization: Bearer <token>'
Copy
Ask AI
{
"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
}
}
}
Assistant
Responses are generated using AI and may contain mistakes.