---
title: "POST /login/email-signup"
method: POST
path: "/login/email-signup"
tags: ["auth"]
---

# POST /login/email-signup

`POST /login/email-signup`

Register with email password flow

## Request body

- object
  - `email` string, email, required
  - `password` string, required
  - `displayName` string
  - `teamSlug` string
  - `teamName` string
  - `signupDataUid` string
  - `teamInvite` string
  - `otp` string, required
  - `otpClientId` string, required
  - `flow` 'oss-agent'

## Response `200`

Default Response

- TokenResponse
  - `refreshToken` string, required
  - `accessToken` string, required

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

---

[API](https://skmtc.net/scalar/apis/core.md) · [All operations](https://skmtc.net/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/scalar/core/versions/f2eb95a82c72/schema)
