Create a site
Authorizations
OAuth 2.0 client credentials. Exchange your client_id and client_secret for an access token scoped to the organisation that provides data access.
Headers
ID of the organisation the request operates on behalf of (e.g. org_...). Must be an organisation the API client has access to.
"org_01k83mfmhgchya944v86ryvhpq"
Body
Human-readable name for the new managed site.
3 - 100Free-form postal address of the new site (e.g. "Friedrichstr. 1, 10117 Berlin, Germany"). The server geocodes it before saving — check the response for the persisted location.
3 - 200The site managing this record. Must be a site within your API key's scope and must match the managing site of the provided organisation. Reference it either by its ID or by its external ID, but not both.
- Option 1
- Option 2
The organisation this site is grouped under. Reference it either by its ID or by its external ID, but not both.
- Option 1
- Option 2
A optional custom ID that can be set to an internal ID from your system. This ID must be unique within all objects of the organisation you operate in. You can later use this external ID to reference and query this object. Be aware that you can update this ID later. If you need an immutable ID, use the object ID returned when creating the object.
1 - 100^[A-Za-z0-9\-_]+$"MY-CUSTOM-ID"
Response
Site
"ste_01k8g7aec6dt5zrtamc72ww446"
"Biomass Lutz"
Deprecated: use coordinates and address instead.
Latitude/longitude coordinates of the site.
Postal address of the site, if known.
Deprecated: use organisation instead.
"org_01k83mfmhgchya944v86ryvhpq"
The organisation this site is grouped under.
"SITE-EXT-0001"
References a site by its ID and the external ID you assigned to it (if any).