Skip to content
Endless Documentation
Projects

Create project

POST
/projects

Creates a project 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: projects: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_
title*string
Length1 <= length <= 120
emoji?|null
description?|null
slug?string
Match^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
Length1 <= length <= 80
visibility?string
Value in"private""workspace"
workspace_role?string
Value in"viewer""editor"
grants?array<>
Itemsitems <= 100

Response Body

OK

application/json
  1. response
project*
knowledge_skill?
Example Request
curl -X POST 'https://api.endless.app/projects' \  -H 'Content-Type: application/json' \  -d '{  "organization_id": "string",  "title": "string"}'
Example Response
{  "project": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "organization_id": "string",    "created_by_id": "string",    "slug": "string",    "title": "string",    "emoji": "string",    "description": "string",    "visibility": "private",    "workspace_role": "viewer",    "knowledge_skill_id": "3d128fff-f913-409f-9d63-3fb0a9e8e703",    "mod_source_id": "string",    "metadata": "string",    "deleted_at": "2019-08-24T14:15:22Z",    "deleted_by_id": "string",    "archived_at": "2019-08-24T14:15:22Z",    "archived_by_id": "string",    "created_at": "2019-08-24T14:15:22Z",    "updated_at": "2019-08-24T14:15:22Z"  },  "knowledge_skill": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "name": "string",    "description": "string",    "body": "string",    "files": "string"  }}