Sites

You can use Butlr's GraphQL API to create, update, and retrieve information about sites.

A site represents a group of buildings located within a contiguous area, such as a campus or city blocks, all within the same time zone. Organizations can manage one or multiple sites depending on their needs.

This page provides guidance on how to retrieve, create, and update site information within an organization, enabling efficient management of site-related data and ensuring seamless operations across locations.


Get all site(s)

query allSites {
  sites {
      data {
        id
        name
        buildings {
          id
          name
          ...BuildingFragment
        }
        siteNumber
        customID
        timezone
    }
  }
}

Code Examples


Update site(s)

Code Examples

Last updated