API reference
API reference
Every endpoint and webhook event of the Sparkle API, generated from its OpenAPI spec.
The pages in this section are generated from the OpenAPI spec, so they always match the API the
server exposes. The spec itself is at /openapi/v1.yaml, and every page here
is also markdown at its URL plus .md.
- Base URL:
https://api.sparkle.ai/public/v1 - Authentication: your organization's API key in the
X-API-Keyheader. - Writes: every
POSTandPUTtakes anIdempotency-Keyheader. - Lists: cursor-paginated. Pass
page_info.end_cursorascursor, and up to 100 items aslimit. - Errors: RFC 9457 problem details, described under Errors.
- Changes: listed in the API changelog, with how breaking changes are announced.