---
updatedAt: 2026-09-21T22:53:03.000Z
agentTools:
  projectIndex: https://docs.zesty.io/llms.txt
---

# Get Domain

Returns a domain for a given instance.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "API used to control management of users, roles, instances, and teams.",
    "title": "Accounts API",
    "contact": {},
    "version": "1.0"
  },
  "paths": {
    "/instances/{instance_zuid}/domains/{domain_zuid}": {
      "get": {
        "security": [
          {
            "Bearer": []
          }
        ],
        "description": "Returns a domain for a given instance.",
        "tags": [
          "/instances/domains"
        ],
        "summary": "Get Domain",
        "operationId": "get-domain",
        "parameters": [
          {
            "description": "ZUID of the instance where the domain will be retrieved",
            "name": "instance_zuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "description": "ZUID of the domain to retrieve",
            "name": "domain_zuid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/body_samples.JSONResult"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "data": {
                          "$ref": "#/components/schemas/body_samples.DomainsResponseSuccess"
                        }
                      }
                    }
                  ]
                }
              }
            }
          },
          "401": {
            "description": "Unauthorized",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/body_samples.JSONResultUnauthorized"
                }
              }
            }
          },
          "404": {
            "description": "Not Found",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/body_samples.JSONResultNotFound"
                }
              }
            }
          }
        },
        "x-readme": {
          "explorer-enabled": false
        }
      }
    }
  },
  "tags": [
    {
      "description": "domains represent a domain name that is associated with an instance.",
      "name": "/instances/domains"
    }
  ],
  "servers": [
    {
      "url": "https://accounts.api.zesty.io/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "Bearer": {
        "description": "Type \"Bearer\" followed by a space and JWT token.",
        "type": "apiKey",
        "name": "Authorization",
        "in": "header"
      }
    },
    "schemas": {
      "body_samples.DomainsResponseSuccess": {
        "type": "object",
        "properties": {
          "ZUID": {
            "type": "string",
            "example": "22-abcd-1234"
          },
          "branch": {
            "type": "string",
            "example": "dev"
          },
          "createdAt": {
            "type": "string",
            "format": "date-time",
            "example": "2021-06-29T20:00:00Z"
          },
          "createdByUserZUID": {
            "type": "string",
            "example": "5-abcd-1234"
          },
          "domain": {
            "type": "string",
            "example": "example.com"
          },
          "instanceZUID": {
            "type": "string",
            "example": "8-abcd-1234"
          },
          "updatedAt": {
            "type": "string",
            "format": "date-time",
            "example": "2021-06-29T20:00:00Z"
          },
          "updatedByUserZUID": {
            "type": "string",
            "example": "5-abcd-1234"
          },
          "verificationCode": {
            "type": "string",
            "example": "123456"
          },
          "verificationExpiry": {
            "type": "string",
            "format": "date-time",
            "example": "2021-06-29T20:00:00Z"
          },
          "verified": {
            "type": "boolean",
            "example": false
          }
        }
      },
      "body_samples.EmptyData": {
        "type": "object"
      },
      "body_samples.JSONResult": {
        "type": "object",
        "properties": {
          "_meta": {
            "$ref": "#/components/schemas/body_samples.Meta"
          },
          "data": {}
        }
      },
      "body_samples.JSONResultNotFound": {
        "type": "object",
        "properties": {
          "_meta": {
            "$ref": "#/components/schemas/body_samples.Meta"
          },
          "data": {
            "$ref": "#/components/schemas/body_samples.EmptyData"
          },
          "message": {
            "type": "string",
            "example": "No Results Found for ZUID: x-abcd-1234"
          }
        }
      },
      "body_samples.JSONResultUnauthorized": {
        "type": "object",
        "properties": {
          "_meta": {
            "$ref": "#/components/schemas/body_samples.Meta"
          },
          "data": {
            "$ref": "#/components/schemas/body_samples.EmptyData"
          },
          "error": {
            "type": "string",
            "example": "invalid session"
          }
        }
      },
      "body_samples.Meta": {
        "type": "object",
        "properties": {
          "limit": {
            "type": "integer",
            "example": 1
          },
          "offset": {
            "type": "integer",
            "example": 0
          },
          "start": {
            "type": "integer",
            "example": 0
          },
          "timestamp": {
            "type": "string",
            "example": "2024-04-11T14:49:51.039478001Z"
          },
          "totalResults": {
            "type": "integer",
            "example": 1
          }
        }
      }
    }
  }
}
```