Skip to content
Endless Documentation
Canvases

Create canvas

POST
/canvases

Creates a canvas and returns the created row.

Authorization

headerAuthorizationBearer <esk_live_…>

A workspace API key created in workspace settings. It acts as the member who created it, narrowed to its abilities, projects and credit limit. Each operation names the ability it needs.

Scope: canvases:write

Header Parameters

Endless-Api-Version?string

Pin the caller to an API major (1). Omit to accept the current version. A major this deployment cannot serve is refused with 400 unsupported_api_version.

Request Body

application/json
  1. body
organization_id*string
Match^org_
id?string
Formatuuid
name*string
Length1 <= length
description?string|null
emoji?|null
color?string|null
thumbnail_url?string|null
visibility?string
Value in"private""workspace"
workspace_role?string
Value in"viewer""editor"
grants?array<>
Itemsitems <= 100
project_id?string
Formatuuid

Response Body

OK

application/json
  1. response
id*string
Formatuuid
owner_id*string
organization_id*string|null
name*string
description*string|null
emoji*string|null
color*string|null
thumbnail_url*string|null
visibility*string
Value in"private""workspace""public"
workspace_role*string
Value in"viewer""editor""manager""owner"
last_activity_at*|null
dual_board_id*string|null
deleted_at*|null
deleted_by_id*string|null
created_at*string
Formatdate-time
updated_at*string
Formatdate-time
shared*boolean
can_edit*boolean
can_delete*boolean
Example Request
curl -X POST 'https://api.endless.app/canvases' \  -H 'Content-Type: application/json' \  -d '{  "organization_id": "string",  "name": "string"}'
Example Response
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "owner_id": "string",  "organization_id": "string",  "name": "string",  "description": "string",  "emoji": "string",  "color": "string",  "thumbnail_url": "string",  "visibility": "private",  "workspace_role": "viewer",  "last_activity_at": "2019-08-24T14:15:22Z",  "dual_board_id": "string",  "deleted_at": "2019-08-24T14:15:22Z",  "deleted_by_id": "string",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "shared": true,  "can_edit": true,  "can_delete": true}