---
title: "Signup"
method: POST
path: "/users"
tags: ["General APIs with JWT"]
---

# Signup

`POST /users`

## Request body

- CreateUserDto
  - `referral_code` string, nullable
  - `custom_referral_code` string, nullable
  - `signup_attribution` SignupAttributionDto — Bounded campaign data accepted only during account creation.
    - `utm_source` string, required
    - `utm_medium` string, required
    - `utm_campaign` string, required
    - `utm_id` string, nullable
    - `utm_content` string, nullable
    - `utm_term` string, nullable
    - `landing_path` string, required
  - `name` string, required
  - `email` string, required
  - `password` string, nullable
  - `validator_hotkey` string, nullable
  - `message` string, nullable
  - `signature` string, nullable
  - `miner_referral_code` string, nullable

## Response `200`

Successful Response

- SignupResponseDto
  - `msg` string, required
  - `is_new_user` boolean, required
  - `api_key` string, nullable
  - `signup_credit_granted` boolean

## Other responses

- `422` — Validation Error

---

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