Workspace

The Workspace object represents a Notion workspace.

Properties

PropTypeDescription
id*stringUnique identifier of the workspace.
name*stringWorkspace's name.
memberCount*numberThe number of members in the workspace.
plan*PlanPlan of the workspace.
iconIconDataWorkspace icon.
role*RoleRole of the user in this workspace.

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  name: "My Workspace",
  icon: { type: "lucide", src: "badge-check" },
  memberCount: 5,
  plan: "free",
  role: "owner"
}

Plan

There are 5 possible plans in Notion

  • free
  • education
  • plus
  • business
  • enterprise

Role

There are 3 possible roles in Notion

  • owner
  • member
  • guest

On this page