Authentication & Scope
Requires theworkspaces-write ability.
Request
Body Parameters
Response
201 Created – The newly created workspace.
422 Unprocessable Entity – Validation error.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create a new workspace.
workspaces-write ability.
POST /workspaces/create HTTP/1.1
Host: api.raydocs.com
Authorization: Bearer <token>
Content-Type: application/json
{
"name": "New Workspace",
"icon": "🚀"
}
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Name of the workspace |
icon | string | No | Emoji or icon for the workspace |
201 Created – The newly created workspace.
{
"id": 2,
"name": "New Workspace",
"icon": "🚀",
"settings": {},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-15T10:30:00Z"
}
422 Unprocessable Entity – Validation error.