Authentication

User registration

Register a new user account with email, password, and organization name. Automatically logs in the user and sets authentication cookies.

post/auth/register

Request

  • The document declares no server URL.
  • Auth: none declared

Request body

emailstring required

Email address for the user account

passwordstring required

Password for the user account

orgNamestring required

Organization name

userNamestring required

User name

marketingAcceptanceboolean required

Marketing acceptance

departmentstring

Department within the municipality

Example request

{
  "email": "user@example.com",
  "password": "password123",
  "orgName": "My Organization",
  "userName": "John Doe",
  "marketingAcceptance": true,
  "department": "hauptamt"
}

Response

Registration successful. User is automatically logged in and authentication cookies are set.

successboolean required

Operation success status

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 51 revisions of this API.