Workspaces
Create, list, get and delete workspaces.
The workspace object
{
"id": "ws_3f9c2a71d0b84e6a5c1d7e20",
"name": "notes",
"createdAt": "2026-11-24T18:02:11.204Z"
}| Field | |
|---|---|
id | The workspace's id, which every other call uses |
name | Unique among the organization's workspaces |
createdAt | When it was created |
Create a workspace
POST /v1/workspaces| Body field | |
|---|---|
name | Required. 1 to 200 characters |
201 with the workspace.
| Error | When |
|---|---|
409 already_exists | The organization has a workspace of that name |
400 invalid_request | The name is missing, empty or too long |
curl -s -X POST "$ORIGAMI_URL/v1/workspaces" \
-H "authorization: Bearer $ORIGAMI_API_KEY" \
-H 'content-type: application/json' \
-d '{"name":"notes"}'List workspaces
GET /v1/workspaces200 with all of the organization's workspaces, oldest first:
{ "workspaces": [ { "id": "ws_3f9c2a71d0b84e6a5c1d7e20", "name": "notes", "createdAt": "2026-11-24T18:02:11.204Z" } ] }Get a workspace
GET /v1/workspaces/{id}200 with the workspace, or 404 not_found if there's none with that id in your organization.
Delete a workspace
DELETE /v1/workspaces/{id}204, or 404 not_found. From then on the workspace can't be reached, and its name is free for a new one.
Backlinks