Loading...
One header, one account. There is no OAuth and no user-delegated flow.
curl https://events.vihaya.app/api/v1/events \
-H "x-api-key: $VIHAYA_API_KEY"Origin and are unaffected.When you create a key you choose what it can do. If you are building a checkout into your own product, take the Checkout only key.
Checkout only
For a client integration.
Can
Cannot
Full access
For your own dashboards and scripts.
Everything above, plus attendee lists, event management and broadcasts. Treat it like a password — it can read every attendee you have, so it should not live in a third party's codebase.
Creating, editing and reading all work immediately. Publishing requires the account to have been granted organiser access. Check canPublish on /api/v1/me first — without it a publish returns 403 while everything else keeps working.
Unpublishing is never blocked. Taking a broken event down must never depend on a permission check.