Skip to content
COL0

COL0 API documentation

Small public API of col0.com. Machine-readable spec: openapi.json.

Authentication

No API keys. GET /api is open. The two POST endpoints require a solved Cloudflare Turnstile token and a col0.com Origin, so they only work from the forms on this site.

Endpoints

Example requests

curl https://col0.com/api
curl -X POST https://col0.com/api/contact \
  -H 'Origin: https://col0.com' \
  -H 'Content-Type: application/json' \
  -d '{"name":"Ana","email":"ana@example.com","message":"Hello","consent":"true","cf-turnstile-response":"<token>"}'

Errors and rate limits

Errors are JSON with ok, error, message and resolution. Limit: 20 requests per 60 seconds per IP (RateLimit-Policy header; Retry-After on 429).

Versioning and deprecation

Every response carries API-Version (current: 1). Breaking changes bump the version. Deprecations are announced with Deprecation and Sunset headers at least 90 days in advance.