API Reference
Authentication
Authenticate using username and password submitted via form data.
This endpoint is compatible with standard OAuth2 clients that use form-based authentication. Returns an access token upon successful authentication.
POST
Login For Access Token Form
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/x-www-form-urlencoded
Previous
Onboard site and asset**Deprecated** — prefer [`/onboard`](/api-reference/entities/site/onboard) instead.
The new `/onboard` endpoint supports multiple assets per site in a single call and includes improvements in idempotency, resilience and response details.
---
Register a site, asset, and dispatch consent in a single call.
Creates the site and asset, grants consent, and enrols in the relevant flex proposition.
This endpoint will:
1. Create the site
2. Create the asset associated with the site
3. Enrol in the relevant flex proposition
Returns the created site and asset, including their IDs. Fails if the site or asset already exists.
Next
Login For Access Token Form

