- Overview
- Important concepts
- Authentication
- Enrollment process
- End-user app design
- Monitoring / Telemetry
- Control
- Change log
- Mobile App API
- Cloud API
- Sites
- Commissioning
- Sessions
- Commands
- Programs
- Telemetry
- Webhooks
Get Sites
Cloud Mock
https://mock.apidog.com/m1/479670-0-default
Cloud Mock
https://mock.apidog.com/m1/479670-0-default
GET
/v1/sites
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Query Params
skip
integer
optional
limit
integer
optional
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://mock.apidog.com/m1/479670-0-default/v1/sites?skip&limit'
Responses
🟢200Success
application/json
Body
array of:
id
string
Id
Example:
abc-789
created_at
string <date-time>
Created At
updated_at
string <date-time>
Updated At
first_name
string | null
optional
Example:
John
last_name
string | null
optional
Example:
Doe
company_name
string | null
optional
Example:
ABC Co.
email
string <email> | null
optional
state_code
enum<string> | enum<null>
State code
Allowed values:
AKALARAZCACOCTDEFLGAHIIAIDILINKSKYLAMAMDMEMIMNMOMSMTNCNDNENHNJNMNVNYOHOKORPAPRRISCSDTNTXUTVAVTWAWIWVWY
city
string | null
City
Example:
San Francisco
zip_code
string | null
Zip Code
Examples:
888008880188802
street_address
string | null
Street Address
Example:
123 Main St
street_address2
string | null
Street Address2
service_account_id
string | null
Service Account Id
Example:
deprecated
Example
[
{
"id": "abc-789",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"first_name": "John",
"last_name": "Doe",
"company_name": "ABC Co.",
"email": "[email protected]",
"state_code": "AK",
"city": "San Francisco",
"zip_code": "88800",
"street_address": "123 Main St",
"street_address2": "string",
"service_account_id": "deprecated"
}
]