---
title: "Email a link to set a first password"
method: POST
path: "/userAccount/password/setup/email"
tags: ["User Account"]
---

# Email a link to set a first password

`POST /userAccount/password/setup/email`

## Request

- Base URL: `https://app.pipeshub.com/api/v1`
- URL: `https://app.pipeshub.com/api/v1/userAccount/password/setup/email`
- Auth: HTTP bearer

Sends the authenticated user a single-use link, to the email on their account, for setting a first password.
For users who have no password yet, for example those who signed in with Google. Users who already have one change it with `POST /userAccount/password/reset`.

## Response `200`

The link was sent

- object
  - `data` string

## Other responses

- `400`: The user already has a password
- `401`: Invalid or expired access token
- `404`: The user no longer exists
- `429`: Too many requests

## Changes

- **2026-10-28** `dbb5e203b445`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pipeshub-ai/apis/pipeshub-api/changes/userAccount/password/setup/email/post.md)

---

[API](https://skmtc.dev/pipeshub-ai/apis/pipeshub-api.md) - [All operations](https://skmtc.dev/pipeshub-ai/apis/pipeshub-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pipeshub-ai/apis/pipeshub-api/revisions/dbb5e203b445?raw)
