Skip to main content

API

Programmatic developer utilities for scripts, CI, and internal platforms.

Cliviro exposes small, predictable endpoints for formatting JSON, decoding JWTs, and generating UUIDs from automation.

curl example

curl -X POST https://cliviro.com/v1/format/json \
  -H "Content-Type: application/json" \
  -d '{"input":"{\"ok\":true}","mode":"format"}'

Endpoints

Live utility endpoints with explicit limits.

Responses are JSON, request bodies stay small, and JWT decoding does not perform signature verification.

POST

/v1/format/json

Format and validate JSON payloads from scripts, CI, or internal tools.

POST

/v1/decode/jwt

Decode JWT headers and claims without logging sensitive tokens.

GET

/v1/generate/uuid

Generate UUIDs and identifiers for tests, fixtures, and automation.

Request format

POST endpoints require application/json and return 400 for malformed requests.

Validation

Invalid JSON and invalid JWT payloads return 422 with a readable message.

Limits

UUID generation accepts count=1 through count=50 to keep responses predictable.