---
title: "Add an email+password login to a social-only account."
method: POST
path: "/api/v1/account/set-password"
tags: ["Account"]
---

# Add an email+password login to a social-only account.

`POST /api/v1/account/set-password`

## Request

- Base URL: `https://api.avatarfactory.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.avatarfactory.io/api/v1/account/set-password`
- Auth: one of:
  - API key in cookie `session`
  - HTTP bearer

## Request body

- SetPasswordRequest
  - `password` string, required

## Response `200`

OK

- OkResponse
  - `ok` boolean, required

## Other responses

- `400`: Bad Request
- `409`: Conflict
- `422`: Unprocessable Entity
- `429`: Too Many Requests

---

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