Skip to main content
POST
/
categories
Create Category
curl --request POST \
  --url https://api.proced.ai/categories \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "New Category Title"
}
'
{
  "id": "cm2uqwcpd002s7xta3b1j8q3p",
  "name": "New Category Title",
  "workspaceId": "cm2uj5ffn001x7xtag73jmpx0",
  "createdAt": "2024-01-01T09:00:00.000Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name or title of the category

Example:

"New Category Title"

Response

Create Category

id
string
required

Unique project ID, typically generated automatically

Example:

"cm2uqwcpd002s7xta3b1j8q3p"

name
string
required

The name or title of the category

Example:

"New Category Title"

workspaceId
string
required

Workspace ID to which the project belongs

Example:

"cm2uj5ffn001x7xtag73jmpx0"

createdAt

The creation date and time of the project, set automatically

Example:

"2024-01-01T09:00:00.000Z"