Skip to main content

Authentication

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

Request

curl -X GET https://api.brautcloud.com/api/users \
  -H "Authorization: Bearer YOUR_JWT_TOKEN"

Response

Returns an array of user objects.
users
array
Array of UserResponse objects

Example response

[
  {
    "id": 1,
    "lastName": "Smith",
    "firstNameCoupleOne": "John",
    "firstNameCoupleTwo": "Jane",
    "createdAt": "2024-01-15T10:30:00",
    "email": "[email protected]",
    "emailVerified": true,
    "events": []
  },
  {
    "id": 2,
    "lastName": "Johnson",
    "firstNameCoupleOne": "Michael",
    "firstNameCoupleTwo": "Sarah",
    "createdAt": "2024-02-20T14:45:00",
    "email": "[email protected]",
    "emailVerified": false,
    "events": []
  }
]

Build docs developers (and LLMs) love