Errors & status codes

Every error response is JSON. CORS headers are always present, including on errors.

HTTP status codes

StatusWhenBody
200SuccessEndpoint-specific JSON
400Body failed validation{ "error": "Invalid body", "details": {…} }
401Missing, malformed, or revoked API key{ "error": "Missing or invalid API key" }
404Event not found in this workspace (feedback only){ "error": "Event not found in this workspace" }
405Method not allowedEmpty
500Internal error{ "error": "…" }

CORS

HeaderValue
Access-Control-Allow-Origin*
Access-Control-Allow-MethodsPOST, GET, OPTIONS
Access-Control-Allow-Headersauthorization, content-type, x-veriloop-key
Access-Control-Max-Age86400
The endpoint allows any origin so you can prototype from a static HTML page. In production we still recommend calling Veriloop from your server so the API key never ships to the browser.

Rate limits

Soft limit of ~120 requests/second per workspace during preview. Exceeding it returns an HTTP 429 with { "error": "rate_limited" }. Contact us if you need higher throughput.