ZITADEL Docs
APIsCore ResourcesV2User

Create a User

Create a new user or service account in the specified organization.

Required permission:

  • user.write
POST
/v2/users/new

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://loading/v2/users/new" \  -H "Content-Type: application/json" \  -d '{    "human": {      "hashedPassword": {        "hash": "string"      }    }  }'
{
  "id": "string",
  "creationDate": "2023-01-15T01:30:15.01Z",
  "emailCode": "string",
  "phoneCode": "string"
}

Was this page helpful?