Auth

Register a new user

Changed on

Registers a new user with an email and password. This endpoint can be called unauthenticated to register a new admin, or authenticated (as an admin) to register a standard user into a specific team.

post/v1/auth/register

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/v1/auth/register
  • Auth: one of:
    • none
    • HTTP bearer

Request body

emailstring email required
passwordstring required
team_idstring uuid

Example request

{
  "email": "user@example.com",
  "password": "secretpassword123",
  "team_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}

Response

User registered successfully

Changes

    • info

      the endpoint scheme security BearerAuth was added to the API

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the new optional request property

    • info

      added the required property / to the response with the status

    • info

      added the required property / to the response with the status