List sites
GET
Lists the sites for the calling organization. Requires an API key with the
read action. Returns all sites when no pagination params are supplied, otherwise a
single page.
Loading code example
Loading code example
Authorizations
apiKeystringheaderrequired
API key passed in the header.
Query Parameters
continuationTokenstring
Opaque token from a prior page; omit for the first page.
limitinteger | string<int32>
Page size; omit (with no token) to return all sites.
Pattern:
^-?(?:0|[1-9]\d*)$Response
application/json
The sites (a bare array, or a paginated envelope when paginating).
itemsarray<object>items.placeIdstringrequireditems.orgIdstringrequireditems.tenantIdstringrequireditems.siteNamestringrequireditems.addressstringitems.latitudenumber | string<double>Pattern:
^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$items.longitudenumber | string<double>Pattern:
^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?$items.integrationIdsarray<string>items.levelTypesobjectitems.levelGroupsarray<object>items.attributesobjectitems.preferredDisplayMetricsarray<string>items.createdAtstring<date-time>requireditems.updatedAtnull | string<date-time>items.createdBystringrequireditems.updatedBynull | stringcontinuationTokennull | stringhasMoreboolean