Skip to main content

Authentication

This endpoint requires JWT authentication. Include the bearer token in the Authorization header.

Endpoint

POST /api/events

Request body

Response

Returns 200 OK with no body on successful creation.

Example request

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"
  }'

Example response

200 OK

Build docs developers (and LLMs) love