Team Users

Create/invite team user

Creates a new team user with access to the dashboard.

If a password is provided, sets it directly. Otherwise, generates a temporary password and returns a password reset link that can be sent to the user.

Creates the user account and user document.

post/v1/account/users/invite

Request

  • Base URL: https://api.winnr.app
  • URL: https://api.winnr.app/v1/account/users/invite
  • Auth: HTTP bearer

Request body

emailstring email required

User's email address

passwordstring

Password (optional - if not provided, a reset link is generated)

first_namestring

First name

last_namestring

Last name

role'admin' | 'member'

User role (admin or member)

Response

User created successfully

Changes

No recorded changes to this operation across all 1 revision of this API.