invites

Accept an invite

Accept an invitation using the JWT token

post/invites/accept

Request

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

Request body

inviteTokenstring required

JWT token from the invite

userNamestring required

Name of the user accepting the invite

passwordstring required

Password of the user accepting the invite

hasAcceptedMarketingboolean required

Marketing acceptance

departmentstring

Department within the municipality

Example request

{
  "inviteToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  "userName": "John Doe",
  "password": "password",
  "hasAcceptedMarketing": true,
  "department": "hauptamt"
}

Response

The invite has been successfully accepted

inviteIdstring uuid required

ID of the accepted invite

emailstring required

Email of the user who accepted the invite

orgIdstring uuid required

Organization ID the user was invited to

Example response

{
  "inviteId": "123e4567-e89b-12d3-a456-426614174000",
  "email": "user@example.com",
  "orgId": "123e4567-e89b-12d3-a456-426614174000"
}

Changes

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