Get Sites
GET
/v1/sitesGet all registered sites
Request
Query Params
skip
integer
optional
limit
integer
optional
Request samples
Responses
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
id
string
Id
The ID of the site in your system.
created_at
string <date-time>
Created At
updated_at
string <date-time>
Updated At
first_name
string | null
optional
last_name
string | null
optional
email
string <email> | null
optional
state_code
string | null
State
>= 2 characters<= 2 characters
city
string | null
City
zip_code
string | null
Zip Code
In the sandbox, use zip codes 88800, 88801 or 88802 to match with test programs.
Examples:
888008880188802
street_address
string | null
Street Address
street_address2
string | null
Street Address2
service_account_id
string | null
Service Account Id
An ID assigned to the residential customer by the utility. Can typically be found on the utility bill.
Example
[
{
"id": "string",
"created_at": "2019-08-24T14:15:22.123Z",
"updated_at": "2019-08-24T14:15:22.123Z",
"first_name": "string",
"last_name": "string",
"email": "[email protected]",
"state_code": "st",
"city": "string",
"zip_code": "88800",
"street_address": "string",
"street_address2": "string",
"service_account_id": "string"
}
]
Last modified: 7 months ago