List workspaces

GET {{baseUrl}}/workspaces?location_id=<string>&page_size=30&next_page_token=<string>

Use this API to list a location's workspaces.

Scopes: workspace:readworkspace:read:admin

Rate Limit Label: MEDIUM

Request Params

KeyDatatypeRequiredDescription
location_idstring(Required) The location's ID.
page_sizenumberThe number of records returned within a single API call.
next_page_tokenstringUse the next page token to paginate through large result sets. A next page token is returned whenever the set of available results exceeds the current page size. This token's expiration period is 15 minutes.

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{&quot;next_page_token&quot;:&quot;\u003cstring\u003e&quot;,&quot;page_size&quot;:30,&quot;total_records&quot;:&quot;\u003cinteger\u003e&quot;,&quot;workspaces&quot;:[{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;workspace_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;workspace_type&quot;:&quot;desk&quot;,&quot;location_id&quot;:&quot;\u003cstring\u003e&quot;},{&quot;id&quot;:&quot;\u003cstring\u003e&quot;,&quot;workspace_name&quot;:&quot;\u003cstring\u003e&quot;,&quot;workspace_type&quot;:&quot;room&quot;,&quot;location_id&quot;:&quot;\u003cstring\u003e&quot;}]}