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
GET /api: current version, documentation URL and endpoint list.POST /api/contact: send the contact form. Fields:name,email,message,consent,cf-turnstile-response.POST /api/lead-magnet: request a free resource by email. Fields:email,resource,consent,cf-turnstile-response.
Example requests
curl https://col0.com/apicurl -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.