---
title: "POST /user/register"
method: POST
path: "/user/register"
tags: ["/user/"]
---

# POST /user/register

`POST /user/register`

## Request body

- CreateUserRequest
  - `recaptcha` string, required — ReCAPTCHA response token for the novelai.net domain
  - `key` string, required — Required access key
  - `email` string — SHA-256 hashed email in hexadecimal
  - `emailCleartext` string, required — Email address (provided as cleartext for email verification, direct service communications, and opt-in marketing)
  - `giftkey` string — Subscription gift key, if provided will be automatically activated upon registration
  - `locale` object — Locale used by the user, e.g. 'en' or 'jp
  - `allowMarketingEmails` boolean, required — If the user opts in to marketing emails
  - `isRecaptchaEnterprise` boolean

## Response `201`

The user has been successfully created.

- CreateUserResponse
  - `accessToken` string, required — Access Token to be used in the Authorization header in the format of "Bearer ${accessToken}"

## Other responses

- `400` — A validation error occured.
- `409` — A conflict error occured.
- `500` — An unknown error occured.

---

[API](https://skmtc.net/novelai/apis/novelai-primary-api.md) · [All operations](https://skmtc.net/novelai/apis/novelai-primary-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/novelai/novelai-primary-api/revisions/327b3674db26/schema)
