Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/zitadel/zitadel/llms.txt

Use this file to discover all available pages before exploring further.

Instance management endpoints allow you to view and configure your ZITADEL instance, including managing domains and viewing instance information.

Get My Instance

Deprecated: Use Instance Service v2 GetInstance instead. Returns details about the current instance such as name, version, and domains.

HTTP Request

GET /admin/v1/instances/me

Permissions

Requires iam.read permission.

Response

instance
object
Information about the instance.
id
string
Unique identifier of the instance.
creation_date
timestamp
When the instance was created.
change_date
timestamp
When the instance was last modified.
sequence
string
Current sequence number.
name
string
Display name of the instance.
version
string
ZITADEL version running.

Example Request

curl -X GET 'https://api.zitadel.cloud/admin/v1/instances/me' \
  -H 'Authorization: Bearer <TOKEN>'

Example Response

{
  "instance": {
    "id": "123456789",
    "creation_date": "2024-01-01T00:00:00.000Z",
    "change_date": "2024-03-15T10:00:00.000Z",
    "sequence": "12345",
    "name": "My ZITADEL Instance",
    "version": "2.45.0"
  }
}

List Instance Domains

Deprecated: Use Instance Service v2 GetInstance instead. Returns a list of domains configured for this ZITADEL instance.

HTTP Request

POST /admin/v1/domains/_search

Permissions

Requires iam.read permission.

Response

result
array
List of configured domains.
domain
string
The domain name.
is_primary
boolean
Whether this is the primary domain.
generated
boolean
Whether this domain was auto-generated.

Example Request

curl -X POST 'https://api.zitadel.cloud/admin/v1/domains/_search' \
  -H 'Authorization: Bearer <TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{}'

List Trusted Domains

Deprecated: Use Instance Service v2 ListTrustedDomains instead. Returns domains that are trusted for use as public hosts.

HTTP Request

POST /admin/v1/trusted_domains/_search

Permissions

Requires iam.read permission.

Add Trusted Domain

Deprecated: Use Instance Service v2 AddTrustedDomain instead. Adds a domain to the list of trusted domains.

HTTP Request

POST /admin/v1/trusted_domains

Permissions

Requires iam.write permission.

Request Body

domain
string
required
The domain name to add to the trusted list.

Example Request

curl -X POST 'https://api.zitadel.cloud/admin/v1/trusted_domains' \
  -H 'Authorization: Bearer <TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{
    "domain": "app.example.com"
  }'

Remove Trusted Domain

Deprecated: Use Instance Service v2 RemoveTrustedDomain instead. Removes a domain from the list of trusted domains.

HTTP Request

DELETE /admin/v1/trusted_domains/{domain}

Permissions

Requires iam.write permission.

Path Parameters

domain
string
required
The domain name to remove.

Example Request

curl -X DELETE 'https://api.zitadel.cloud/admin/v1/trusted_domains/app.example.com' \
  -H 'Authorization: Bearer <TOKEN>'

Health Check

Checks if the ZITADEL system API is alive.

HTTP Request

GET /admin/v1/healthz

No Authentication Required

Response

Returns 200 as soon as ZITADEL is running.

Example Request

curl -X GET 'https://api.zitadel.cloud/admin/v1/healthz'

Notes

  • Instance domains are the URLs where ZITADEL is accessible
  • Trusted domains can be used as public hosts in your applications
  • The primary domain is used for default redirects and email links
  • Use the v2 Instance Service API for new implementations