Skip to main content
Retrieves a workspace by its internal ID or by its custom_id. To look up a workspace using your caller-defined custom_id, set the by_custom_id query parameter to true and pass the custom ID as the path parameter.
Permission required: workspace:read

Path Parameters

id
string
required
Workspace identifier. Pass the internal workspace ID, or the custom_id value when by_custom_id is set to true.

Query Parameters

by_custom_id
boolean
default:"false"
Set to true to look up the workspace by custom_id instead of the internal ID

Response

data
object