---
title: "Register new user"
method: POST
path: "/api/auth/email-password/sign-up"
tags: ["Email Password Plugin"]
---

# Register new user

`POST /api/auth/email-password/sign-up`

Registers a new user with email and password

## Request body

- SignUpRequest
  - `callback_url` string, nullable
  - `email` string, required
  - `image` string, nullable
  - `metadata` object, nullable
  - `name` string, required
  - `password` string, required

## Response `201`

Created

- SignUpResponse
  - `session` Session, required
    - `created_at` string, date-time, required
    - `expires_at` string, date-time, required
    - `id` string, required
    - `ip_address` string, nullable
    - `token` string, required
    - `updated_at` string, date-time, required
    - `user_agent` string, nullable
    - `user_id` string, required
  - `user` User, required
    - `created_at` string, date-time, required
    - `email` string, required
    - `email_verified` boolean, required
    - `id` string, required
    - `image` string, nullable
    - `metadata` object, nullable
    - `name` string, required
    - `updated_at` string, date-time, required

## Changes

- **2026-07-08** `61a78375af21` — 12 info
  - the response property `session/created_at` became required for the status `201`
  - the response property `session/expires_at` became required for the status `201`
  - the response property `session/id` became required for the status `201`
  - the response property `session/token` became required for the status `201`
  - …8 more
- **2026-07-08** `03c0b81270ce` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/authula/apis/authula-api/changes/api/auth/email-password/sign-up/post.md)

---

[API](https://skmtc.dev/authula/apis/authula-api.md) · [All operations](https://skmtc.dev/authula/apis/authula-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/authula/authula-api/revisions/4f40429caade/schema)
