Workspace plans
Retrieve a workspace plan
API Reference
Status Check
Accounts
Workspaces
Workspace users
Workspace domains
Workspace pages
Workspace sections
Workspace plan tasks
Workspace plans
Retrieve a workspace plan
GET
/
workspace-plans
/
{id}
curl --request GET \
--url https://api.dock.so:4000/{version}/workspace-plans/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"workspacePlan": {
"id": "RiHO4e0Ju3DS",
"updatedAt": "2021-01-01T00:00:00.000Z",
"createdAt": "2021-01-01T00:00:00.000Z",
"object": "workspacePlan",
"url": "https://api.dock.us/v1/workspace-plans/RiHO4e0Ju3DS",
"title": "Onboarding",
"isCollapsed": true,
"viewType": "list"
}
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
Unique identifier
Example:
"RiHO4e0Ju3DS"
Query Parameters
Select the workspace plan properties that should be returned
Available options:
title
, isCollapsed
, viewType
, createdAt
, updatedAt
Response
200
application/json
Retrieve a workspace plan by ID
Id of the object
Example:
"RiHO4e0Ju3DS"
Last updated date
Example:
"2021-01-01T00:00:00.000Z"
Created at date
Example:
"2021-01-01T00:00:00.000Z"
Type of the object
Available options:
workspacePlan
Example:
"workspacePlan"
URL to the resource
Example:
"https://api.dock.us/v1/workspace-plans/RiHO4e0Ju3DS"
Title of the workspace plan
Example:
"Onboarding"
Whether the workspace plan is by default collapsed
Example:
true
View type of the workspace plan
Available options:
list
, card
Example:
"list"
curl --request GET \
--url https://api.dock.so:4000/{version}/workspace-plans/{id} \
--header 'Authorization: Bearer <token>'
{
"data": {
"workspacePlan": {
"id": "RiHO4e0Ju3DS",
"updatedAt": "2021-01-01T00:00:00.000Z",
"createdAt": "2021-01-01T00:00:00.000Z",
"object": "workspacePlan",
"url": "https://api.dock.us/v1/workspace-plans/RiHO4e0Ju3DS",
"title": "Onboarding",
"isCollapsed": true,
"viewType": "list"
}
}
}