---
title: "Set initial password for platform users"
method: POST
path: "/v1/auth/set-password"
tags: ["Authentication"]
---

# Set initial password for platform users

`POST /v1/auth/set-password`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/auth/set-password`
- Auth: HTTP bearer

Only allowed when the user has no password set (platform_oidc users after claiming).

## Request body

- object
  - `password` string, required
  - `password_confirm` string, required

## Response `200`

Password set successfully

- object
  - `message` string

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/ae109b496830?raw)
