v1
latestOpenAPI 3.0.22026-07-146168117.0 KBSpaces
This endpoint returns a list of spaces that are accessible by the authorized user. Please note that this feature is exclusively available as part of the Business API.
get/spaces
Query parameters
searchstring
Search spaces by name.
limitinteger
The number or results to return.
skipinteger
Number of results to skip in the result set.
after_idstring
Return results after the provided ID.
before_idstring
Return results before the provided ID.
before_datestring date-time
Return results created on or after this date-time (UTC). Overwritten by before_id.
after_datestring date-time
Return results created before this date (UTC). Overwritten by after_id.
sort'ASC' | 'DESC'
The direction to sort in. Results are sorted by created_at, and defaults to "DESC".
Response
Successfully returned a list of spaces
Example response
{
"results": {
"spaces": [
{
"name": "My Space",
"created_at": "2016-08-25T21:10:29Z",
"updated_at": "2016-08-25T21:10:29Z",
"account_timezone": "America/Los_Angeles",
"created_at_utc": "2016-08-25T21:10:29Z",
"updated_at_utc": "2016-08-25T21:10:29Z"
}
]
},
"total": 57,
"has_more": true,
"limit": 20
}