Loading...
Loading...
Keep your own front end, your own branding and your own checkout. Vihaya handles the tickets, QR codes, gate scanning and payouts behind it.
Create a key at Developer → API keys in your Vihaya dashboard. If you are building a checkout into your own product, choose Checkout only — it can sell tickets but cannot read attendee details. The key is shown once and stored hashed. Send it as x-api-key on every request, then call /me to confirm which account it belongs to.
curl https://events.vihaya.app/api/v1/me \
-H "x-api-key: $VIHAYA_API_KEY"An event is always created as a draft. It has no public page and cannot sell until you publish it, so there is no way to accidentally put a half-filled page in front of ticket buyers.
curl -X POST https://events.vihaya.app/api/v1/events \
-H "x-api-key: $VIHAYA_API_KEY" \
-H "content-type: application/json" \
-d '{
"title": "TechFest 2027",
"description": "Two days of workshops and talks.",
"startDate": "2027-03-01",
"location": "Kollam",
"capacity": 300,
"price": 250
}'startDate, not date. The response echoes both, which misleads on a second read.Every endpoint on this page is generated from the live API specification at events.vihaya.app/api/v1/openapi.json, so it cannot drift from the running service.