---
updatedAt: 2026-05-05T21:09:24.000Z
agentTools:
  projectIndex: https://apidocs.verkada.com/llms.txt
---

# Get Hosts for a Site

Returns hosts for a specific Guest site.

If email is provided, returns the corresponding host with a matching email.
Otherwise, returns a paginated list of hosts for the site.

# OpenAPI definition

```json
{
  "components": {
    "schemas": {
      "HostResponse": {
        "description": "Response containing a list of hosts",
        "properties": {
          "cursor": {
            "description": "Pagination cursor for retrieving the next page of results.",
            "title": "Cursor",
            "type": "string"
          },
          "items": {
            "description": "List of hosts.",
            "items": {
              "$ref": "#/components/schemas/HostResponseItemV2"
            },
            "title": "Items",
            "type": "array"
          }
        },
        "required": [
          "items"
        ],
        "title": "HostResponse",
        "type": "object"
      },
      "HostResponseItemV2": {
        "properties": {
          "email": {
            "description": "The email of the host.",
            "title": "Email",
            "type": "string"
          },
          "first_name": {
            "description": "The preferred first name of the host. If none is specified by the host, the same as original_first_name.",
            "title": "First Name",
            "type": "string"
          },
          "full_name": {
            "description": "The full name of the host.",
            "title": "Full Name",
            "type": "string"
          },
          "has_delegate": {
            "description": "Whether the host has a delegate assigned.",
            "title": "Has Delegate",
            "type": "boolean"
          },
          "host_id": {
            "description": "The unique identifier of the host.",
            "format": "uuid",
            "title": "Host Id",
            "type": "string"
          },
          "last_name": {
            "description": "The last name of the host.",
            "title": "Last Name",
            "type": "string"
          },
          "original_first_name": {
            "description": "The original first name of the host.",
            "title": "Original First Name",
            "type": "string"
          },
          "phone_number": {
            "description": "The phone number of the host.",
            "title": "Phone Number",
            "type": "string"
          },
          "requires_host_approval": {
            "description": "Whether the host requires host approval on all visits.",
            "title": "Requires Host Approval",
            "type": "boolean"
          }
        },
        "required": [
          "host_id",
          "first_name",
          "last_name",
          "full_name",
          "original_first_name",
          "requires_host_approval",
          "has_delegate"
        ],
        "title": "HostResponseItemV2",
        "type": "object"
      }
    },
    "securitySchemes": {
      "ApiKey": {
        "description": "Legacy API Key acquired from Command",
        "in": "header",
        "name": "x-api-key",
        "type": "apiKey"
      },
      "ApiToken": {
        "description": "API Token acquired from API Login",
        "in": "header",
        "name": "x-verkada-auth",
        "type": "apiKey"
      }
    }
  },
  "info": {
    "title": "Guest API",
    "version": "v1"
  },
  "openapi": "3.0.3",
  "paths": {
    "/v2/guest/hosts": {
      "get": {
        "description": "Returns hosts for a specific Guest site.\n\nIf email is provided, returns the corresponding host with a matching email.\nOtherwise, returns a paginated list of hosts for the site.",
        "operationId": "getHostViewV2",
        "parameters": [
          {
            "in": "query",
            "name": "site_id",
            "required": true,
            "schema": {
              "description": "The unique identifier of the Guest site. Valid sites can be retrieved with the Guest Site API.",
              "format": "uuid",
              "title": "Site Id",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "email",
            "required": false,
            "schema": {
              "description": "Optional email filter. If provided, only returns the host matching this email.",
              "title": "Email",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "cursor",
            "required": false,
            "schema": {
              "description": "Pagination cursor for retrieving the next page of results.",
              "title": "Cursor",
              "type": "string"
            }
          },
          {
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 100,
              "description": "Maximum number of hosts to return. Default is 100, maximum is 200.",
              "exclusiveMinimum": true,
              "maximum": 200,
              "minimum": 0,
              "title": "Limit",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HostResponse"
                }
              }
            },
            "description": "OK"
          }
        },
        "summary": "Get Hosts for a Site",
        "tags": [
          "Hosts"
        ]
      }
    }
  },
  "security": [
    {
      "ApiToken": []
    },
    {
      "ApiKey": []
    }
  ],
  "servers": [
    {
      "url": "https://{region}.verkada.com",
      "variables": {
        "region": {
          "default": "api",
          "enum": [
            "api",
            "api.eu",
            "api.au",
            "api.oh"
          ]
        }
      }
    }
  ],
  "x-explorer-enabled": true,
  "x-proxy-enabled": true,
  "x-samples-enabled": true,
  "x-samples-languages": [
    "curl",
    "node",
    "ruby",
    "javascript",
    "python"
  ]
}
```