User and Workspace management
List Workspaces
Changed onGet a list of all the active workspaces in the organization.
get/public/v1/workspaces
Request
- Base URLhttps://api.pandadoc.com
- Auth
- API key in header Authorization
- or OAuth 2Authorization codehttps://app.pandadoc.com/oauth2/authorizeToken URLhttps://api.pandadoc.com/oauth2/access_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
qstring
Filters workspaces by name (case-insensitive).
countinteger
Number of elements in page.
pageinteger
Page number.
Response
Page of workspaces
Example response
{
"results": [
{
"id": "ajnN7eGutJZsRKjQrNuPkh",
"name": "Test workspace",
"date_created": "2021-06-17T15:51:13.226974Z",
"owner": "josh@example.com"
}
]
}Changes
- info
added the new optional
queryrequest parameterq
- info