ghl_project_create_space
Creates a top-level project management space, optionally private, and grants access to specified users for private spaces.
Instructions
PROJECT MANAGEMENT API — hierarchy is spaces -> folders -> lists -> tasks (+ comments, space statuses, recurring tasks). Task batch-get is RBAC-filtered (inaccessible ids are omitted, not errors) and omits embedded subtasks. position is an opaque server-assigned lexorank string; there is no public reorder endpoint. Recurring tasks use owners/contactIds and rruleOptions.intervalType (task create uses assignees/contactId). Task search supports updatedAt filtering/sorting for incremental sync. The docs do not describe what a delete cascades to — treat every delete as destructive.
Create Space
Creates a top-level space (optional privacy + userIds when private). A default list is seeded server-side but is not returned on the public response.
Endpoint: POST /projects/spaces (Version header: v3; source: v3/projects-v3.json)
OAuth scopes: projects/workspace.write
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Create body for a space, folder, or list. `name` is required. When `isPrivate` is true, send a non-empty `userIds` array (add-only grants). `icon` and `description` are not accepted on the public API. | |
| locationId | No | Location id. Required for APP channel (`?locationId=`). Ignored for OAuth/PIT (token location is used). Do not send in path, body, or headers. |