RaylightAPI

API reference

API reference

Every endpoint, generated from the OpenAPI document, with a curl example for each.

Generated from the OpenAPI 3.1 document the server publishes, which comes from the schemas the routes validate with, so what is listed here is what the API accepts. Base URL https://api.raylight.app. Raw document: https://api.raylight.app/v1/openapi.json.

Authenticated calls take Authorization: Bearer rl_live_... with the scope named on each operation; a few need no scope. Every non-2xx body is { "error": "...", "code": "..." }; validation failures add issues. Success bodies are listed field by field under each operation.

The event Raylight sends to your webhook endpoints is here too, under Webhooks: its headers, every payload field, and what your answer means.