---
title: "Signup"
method: POST
path: "/auth/signup"
tags: ["Auth"]
---

# Signup

`POST /auth/signup`

Create an operator account. Password must meet dashboard password policy. Requires the deployment's admin secret in `x-admin-secret` unless `user_auth.signup_requires_admin_secret` is set to false in config (it defaults to true).

## Request body

- SignupRequest
  - `email` string, required
  - `password` string, required
  - `merchant_id` string, nullable — Attach the new user to an existing merchant.

## Response `200`

Authenticated user

- AuthResponse
  - `token` string
  - `user_id` string
  - `email` string
  - `merchant_id` string
  - `role` string
  - `merchants` MerchantInfo[]
    - `merchant_id` string
    - `merchant_name` string
    - `role` string

---

[API](https://skmtc.net/juspay/apis/decision-engine.md) · [All operations](https://skmtc.net/juspay/apis/decision-engine/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/juspay/decision-engine/versions/36e7a0972ee6/schema)
