---
title: "Register a new user"
method: POST
path: "/api/v1/register"
tags: ["Authentication"]
---

# Register a new user

`POST /api/v1/register`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/register`
- Auth: none declared

Register a new user with email, password, and company details. Creates a Stripe customer and free subscription.

## Request body

- UsersUserRegisterRequestBody
  - `billingAddress` string
  - `city` string
  - `companyName` string
  - `country` string
  - `email` string, required
  - `firstName` string, required
  - `industry` string
  - `lastName` string, required
  - `line1` string
  - `line2` string
  - `location` string
  - `password` string, required
  - `phoneNumber` string
  - `postalcode` string
  - `rollId` string
  - `sessionId` string
  - `ssoType` string
  - `state` string
  - `userName` string

## Response `200`

Returns user_Id and access_token

- object

## Other responses

- `400`: Bad Request - Invalid input or email already exists
- `500`: Internal Server Error

---

[API](https://skmtc.dev/nife/apis/nife-io-swagger-api.md) - [All operations](https://skmtc.dev/nife/apis/nife-io-swagger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nife/apis/nife-io-swagger-api/revisions/6e868dc62795?raw)
