Sites
Create a new site
API Documentation
Account
Sites
Chargers
Datapoints
Sites
Create a new site
Creates a new site
POST
/
teams
/
{team_id}
/
sites
Authorization
string
*
Bearer
Authorization
Required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
team_id
integer
*
team_id
Required
integer
object
identity
string
*
identity
Required
string
name
string
*
name
Required
string
street
string
*
street
Required
string
house_number
string
*
house_number
Required
string
house_number_addition
string
house_number_addition
string
postal_code
string
*
postal_code
Required
string
city
string
*
city
Required
string
country
string
*
country
Required
string
Request
team_id
integer
requiredThe id of the team
Response
data
Site
The newly created site
id
integer
The identifier of the site
name
string
The name of the site
street
string
The street of the site
postal_code
string
The postal code of the site
house_number
string
The house number of the site
house_number_addition
string
The addition to the house number of the site
city
string
The city of the site
country
string
The country of the site
created_at
string
The date the site was created
updated_at
string
The date the site was last updated