Skip to main content
POST
Search active workspaces

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
query
string

Search workspace name/description, opportunity display name/title, and your organization's text/select custom-field values.

Maximum string length: 30000
cursor
string

Opaque nextCursor from the previous page, bound to the actor and all filters.

perPage
integer
default:25
Required range: x <= 100
primaryFocusTypes
enum<string>[]

Primary focus types to include. This beta supports opportunity only.

Available options:
opportunity
includeWithoutPrimaryFocus
boolean
default:true

Include workspaces whose primary focus is absent.

lifecycle
enum<string>
default:current

Workspace lifecycle; source opportunity lifecycle does not affect membership.

Available options:
current,
archived
statusGroup
enum<string>
default:open
Available options:
open,
closed
statusCategories
enum<string>[]

Exact workspace categories, intersected with statusGroup.

Available options:
triage,
planned,
in_progress,
completed,
canceled
workspaceStatusIds
string[]

Current-organization custom workspace status IDs.

participants
object[]

Current-organization users or teams that narrow Active Work participation. A user ID may be me for the authenticated user.

participantOperator
enum<string>
default:any
Available options:
any,
all
labelIds
string[]

Include workspaces with any selected label belonging to the authenticated organization.

excludeLabelIds
string[]

Exclude workspaces with any selected label belonging to the authenticated organization.

customFields
object[]

Typed custom-field filters for the authenticated organization. Text uses contains; select uses is_any_of/is_not_any_of; multiselect uses includes/includes_all/excludes; number uses equals/gt/gte/lt/lte; date uses on/before/after with YYYY-MM-DD. Every type also supports is_set/is_not_set without value. Option operators require an array.

Maximum array length: 50

Response

Matching workspaces

data
object[]
required
meta
object
required