Projects

Create a project

Creates a new Ditto project in your workspace.

Projects hold project-scoped text items, as opposed to library components which are reusable across projects.

post/projects

Request

  • Base URL: https://api.dittowords.com/v2
  • URL: https://api.dittowords.com/v2/projects
  • Auth: API key in header Authorization

Request body

namestring required

The name of the new project.

folderIdstring

The developer ID of the folder to create the project in. If omitted, the project is created at the workspace root.

baseIdstring

The Developer ID of the base to connect the new project to. If omitted, the project will not be connected to a base.

Example request

{
  "name": "My New Project",
  "folderId": "my-folder-id",
  "baseId": "my-base"
}

Response

Returns the developer ID and name of the created project, as well as the developer ID of the connected base (or null).

idstring required

The Developer ID of the created project

namestring required

The name of the created project

baseIdstring nullable required

The Developer ID of the base the project is connected to, or null if not connected to a base

Example response

{
  "id": "my-new-project",
  "name": "My New Project",
  "baseId": "my-base"
}

Changes

No recorded changes to this operation across all 1 revision of this API.