v1
OAuth2
OpenAPI 3.1

Developer Portal

Public REST API for integrators: OAuth2 client_credentials, orders, identity, ledger, and HMAC-signed outbound webhooks.

1 · Self-enroll
Exchange a one-time token for client_id + client_secret via POST /api/v1/enroll.
2 · Call REST API
Send Authorization: Bearer <token>. Use Idempotency-Key for orders & payments.
3 · Receive webhooks
Verify HMAC SHA-256 on every delivery. Retries with exponential backoff.
For AI assistants
llms.txt — Hub integration manifest
Single machine-readable document Lovable / Cursor / Claude assistants on connected projects read to decide which Hub modules to consume vs. build themselves. Auto-updated when new Hub capabilities ship; clients detect changes via capabilities_version on GET /api/v1/me.
Base URL
prod
https://sunrift-hub.com

Interactive API reference

Powered by Swagger UI. Spec is served from /api/v1/openapi.json.