Skip to content

Create a wiki page ​

POST/api/v1/workspaces/{slug}/pages/

Create a workspace page

Path Parameters ​

slug:requiredstring

Workspace slug

Body Parameters ​

name:requiredstring

Name.

access:optionalinteger
  • 0 - Public
  • 1 - Private
color:optionalstring

Color.

is_locked:optionalboolean

Is locked.

archived_at:optionalstring

Archived at.

view_props:optionalobject

View props.

logo_props:optionalobject

Logo props.

external_id:optionalstring

External id.

external_source:optionalstring

External source.

description_html:requiredstring

Description html.

Scopes ​

wiki.pages:write

Create a wiki page
bash
curl -X POST \
  "https://api.plane.so/api/v1/workspaces/my-workspace/pages/" \
  -H "X-API-Key: $PLANE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "Example Name",
  "access": 0,
  "color": "Example Name",
  "is_locked": true,
  "archived_at": "2024-01-01",
  "view_props": "example-value",
  "logo_props": "example-value",
  "external_id": "550e8400-e29b-41d4-a716-446655440000",
  "external_source": "github",
  "description_html": "<p>Example content</p>"
}'
Response201
json
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "Example Name",
  "created_at": "2024-01-01T00:00:00Z",
  "updated_at": "2024-01-01T00:00:00Z",
  "description_html": "<p>Example content</p>",
  "owned_by": "550e8400-e29b-41d4-a716-446655440000",
  "access": 0,
  "color": "Example Name",
  "is_locked": true,
  "archived_at": "2024-01-01",
  "workspace": "550e8400-e29b-41d4-a716-446655440000",
  "created_by": "550e8400-e29b-41d4-a716-446655440000",
  "updated_by": "550e8400-e29b-41d4-a716-446655440000"
}