Skip to content
ansvra.Documentation
Prompts
Prompts

Create category

Create one category. Account allowances and project availability apply.

POST/projects/{projectId}/categories
Required permission prompts:write

The key must include this project and its owner must still have access.

Authentication and permissions · Errors and limits

Authorization

Authorizationstring · headerRequired

Bearer access key. Never put a key in the URL.

Idempotency-Keystring · headerRequired

Required for creation: 1–128 letters, numbers, dots, underscores, colons or hyphens. Reuse for retries of the same request within 24 hours.

Path parameters

projectIdstringRequired

Project identifier from List projects.

Request body

application/json. Unknown fields are rejected.

namestringRequired

Category name, 1–100 characters.

Response fields

dataobjectRequired

Create one category. Account allowances and project availability apply.

Child fields
idstringRequired

Unique identifier for this record.

projectIdstringRequired

Project that owns this record.

namestringRequired

Saved name.

metaobjectRequired

Request metadata. Present on JSON success responses.

Child fields
requestIdstringRequired

Request identifier to include when contacting support.

resultScope"saved"Required

Saved customer information; excludes Overview preview results.

Ansvra

A clearer next step.

MEET YOUR AI GUIDE

A little clarity.
A clearer next move.

Ask about Ansvra, AI visibility, or your next step with content.

Opening chat…