---
title: "Create an account"
method: POST
path: "/auth/signup"
tags: ["Accounts"]
---

# Create an account

`POST /auth/signup`

## Request

- Base URL: `https://api.temp.md`
- URL: `https://api.temp.md/auth/signup`
- Auth: none declared
- TypeScript: <https://skmtc.dev/temp-md/apis/temp-md-public-api/docs/auth/signup/post.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- SignupInput
  - `email` string, email, required
  - `password` string, password, required

## Response `201`

Authenticated account

- LoginResult
  - `token` string, required
  - `userId` string, required
  - `email` string, email, required

## Other responses

- `400`: Invalid request
- `409`: Request conflicts with current state
- `429`: Rate limit exceeded

---

[API](https://skmtc.dev/temp-md/apis/temp-md-public-api.md) - [All operations](https://skmtc.dev/temp-md/apis/temp-md-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/temp-md/apis/temp-md-public-api/revisions/4753682e1e3a?raw)
