---
agentTools:
  projectIndex: https://thenftbrewery.readme.io/llms.txt
---

# Create User

This API is used to create AUTH Code for a customer.<br><br> <b>Required Parameters</b> :- <br><br> <b>Admin Email</b> - Admin registered email address <br><br> <b>email</b> - Email associated with the user account customer <br><br> <b>phone</b> - Phone number associated with the user account

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "NFTB APIs",
    "version": "1.0.0",
    "description": ""
  },
  "servers": [
    {
      "url": "https://dev.api.thenftbrewery.com"
    }
  ],
  "components": {
    "schemas": {
      "Authcode": {
        "type": "object",
        "properties": {
          "AdminEmail": {
            "type": "string"
          },
          "email": {
            "type": "string"
          },
          "phone": {
            "type": "string"
          }
        }
      }
    }
  },
  "paths": {
    "/api/v1/admin/user": {
      "post": {
        "summary": "Create User",
        "tags": [
          "Authentication APIs"
        ],
        "description": "This API is used to create AUTH Code for a customer.<br><br> <b>Required Parameters</b> :- <br><br> <b>Admin Email</b> - Admin registered email address <br><br> <b>email</b> - Email associated with the user account customer <br><br> <b>phone</b> - Phone number associated with the user account",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/Authcode"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "AuthCode Generated Successfully"
          },
          "400": {
            "description": "Bad Request Errors"
          },
          "403": {
            "description": "Access Denied"
          },
          "406": {
            "description": "1.This Email Address Already Exists  <br>  2.Please Provide Valid Email Address Address"
          }
        }
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 98,
      "1": 154,
      "2": 22,
      "3": 185,
      "4": 157,
      "5": 178,
      "6": 247,
      "7": 0,
      "8": 49,
      "9": 249,
      "10": 105,
      "11": 121
    }
  }
}
```