• Features
  • Pricing
Get Started

List CategoriesCreate CategoryGet CategoryUpdate CategoryDelete CategoryReorder Categories

POST /v1/categories

Create a new category by sending a JSON request body.

POST /v1/categories creates a new category.

Authentication

Send an organization API key in x-api-key or Authorization: Bearer <key>.

Request Body

name and color are required.

NameTypeRequiredDescription
namestringYesCategory name, from 1 to 100 characters.
colorstringYesCategory color, from 1 to 50 characters.
descriptionstringNoCategory description, up to 500 characters.

Example

curl -X POST "https://api.blueputto.com/v1/categories" \
  -H "x-api-key: YOUR_API_KEY" \
  -H "content-type: application/json" \
  -d '{"name":"Sculpture","color":"#7c3aed"}'

Success Response

201 Created

{
  "data": {}
}

Error Responses

  • 400 Bad Request
  • 401 Unauthorized
  • 429 Too Many Requests

GET /v1/categories

List categories with pagination.

GET /v1/categories/{categoryId}

Retrieve a single category by its UUID.

On this page

AuthenticationRequest BodyExampleSuccess ResponseError Responses