Authentication
This endpoint requires JWT authentication. Include the bearer token in the Authorization header.Endpoint
Request body
Response
Returns200 OK with no body on successful creation.
Powered by Mintlify
Auto-generate your docs
Create a new event for the authenticated user
POST /api/events
200 OK with no body on successful creation.
curl -X POST https://api.brautcloud.com/api/events \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"userId": 123,
"eventName": "Summer Wedding",
"location": "Garden Venue",
"date": "2026-07-15T14:00:00",
"password": "secretpass123",
"qrCode": "QR_CODE_DATA_HERE"
}'
200 OK