Skip to Content
ZITADEL Docs
APIsCore ResourcesV1Instance Lifecycle

CreateInstance

Creates a new instance with all needed setup data This might take some time

POST
/system/v1/instances/_create

Request Body

application/json
  1. body
instanceName?instance_name
firstOrgName?first_org_name
customDomain?custom_domain
defaultLanguage?default_language
human*

oneof field for the user managing the instance

Response Body

Success

application/json
  1. response
instanceId?instance_id
details?
pat?pat
machineKey?machine_key
Formatbyte
Example Request
curl -X POST 'https://example.com/system/v1/instances/_create' \  -H 'Content-Type: application/json' \  -d '{  "human": {}}'
Example Response200
{  "instanceId": "string",  "details": {    "sequence": 0,    "creationDate": "2023-01-15T01:30:15.01Z",    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string"  },  "pat": "string",  "machineKey": "string"}

Was this page helpful?