Create a category
POST /api/v1/projects/{project}/categories
A full-access key (ss_sk_…), or an editor or owner signed in.
Parameters
| Name | Type | Description |
|---|---|---|
project requiredpath |
string | The project's id. |
Request body
JSON, sent with Content-Type: application/json.
| Name | Type | Description |
|---|---|---|
name required |
string 1–60 characters |
Category name. |
description |
string up to 300 characters |
What belongs here, in plain words – the AI files mentions by it. |
icon |
string | An emoji. |
color |
string | Hex colour. |
position |
integer |
Example
curl -X POST "https://sniffington.com/api/v1/projects/{project}/categories" \
-H "Authorization: Bearer $SCOUT_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"Acme"}'