---
title: "Generate secure random passwords"
method: POST
path: "/api/password-gen"
tags: ["Text"]
---

# Generate secure random passwords

`POST /api/password-gen`

## Request

- Base URL: `https://toolsthatdontupload.com`
- URL: `https://toolsthatdontupload.com/api/password-gen`
- Auth: one of:
  - none
  - API key in header `X-API-Key`

## Request body

- object
  - `length` integer
  - `count` integer

## Response `200`

Success (JSON)

## Other responses

- `400`: Invalid input (problem+json)

---

[API](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api.md) · [All operations](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api/llms.txt) · [OpenAPI document](https://skmtc.dev/toolsthatdontupload/apis/tools-that-don-t-upload-api/revisions/fc4cea318919?raw)
