---
title: "Create new password"
method: POST
path: "/api/v1/createPassword"
tags: ["Authentication"]
---

# Create new password

`POST /api/v1/createPassword`

## Request

- Base URL: `https://stackby.com`
- URL: `https://stackby.com/api/v1/createPassword`
- Auth: HTTP bearer

Create password for OAuth users

## Request body

- object
  - `password` string
  - `confirmPassword` string

## Response `200`

Password created successfully

- ApiResponse
  - `success` boolean
  - `message` string
  - `data` object
  - `timestamp` string, date-time

---

[API](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation.md) - [All operations](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/stackby/apis/stackby-api-complete-documentation/revisions/c9909a003a56?raw)
