ZITADEL Docs
APIsCore ResourcesV1Organization Objects

GetOrgByDomainGlobal

Get Organization By Domain

Deprecated: use organization v2 service ListOrganizations instead.

Search an organization by the domain, overall organizations. The domain must match exactly.

GET
/global/orgs/_by_domain

Query Parameters

domain*string

Response Body

application/json

application/json

curl -X GET "https://loading/global/orgs/_by_domain?domain=string"
{
  "org": {
    "id": "string",
    "details": {
      "sequence": 0,
      "creationDate": "1s",
      "changeDate": "1s",
      "resourceOwner": "string"
    },
    "state": "ORG_STATE_UNSPECIFIED",
    "name": "string",
    "primaryDomain": "string"
  }
}
{
  "code": "not_found",
  "message": "string",
  "detail": {
    "type": "string",
    "value": "string",
    "debug": {}
  }
}

Was this page helpful?