initialise and enrol endpoints instead of the single onboard-site-and-asset call.
How it works
Theonboard-site-and-asset endpoint combines site creation, asset creation, and enrollment in a single call. The advanced flow breaks this into separate steps:
- Initialise — creates the site and assets (with upsert semantics for existing entities), and returns eligibility information. No enrollment side effects.
- Eligibility — the initialise response includes eligibility data for the site. You can also re-check later via the standalone eligibility endpoint.
- Enrol — the commitment point. Grants dispatch consent, syncs market participation, and awards any applicable bonus.
View sequence diagram
View sequence diagram
- You want to check eligibility before committing to enrollment
- You need to collect additional consent or information between site creation and enrollment
- Your site or assets may already exist (e.g. from Capacity Market participation) and you want to update them —
onboard-site-and-assetwill return a409 Conflictin this case, whereasinitialisewill upsert - You want visibility into what changed —
initialisereturns whether each entity was created or already existed, which fields were updated, and any relevant warnings
Initialise
Create/upsert site and assets
Check eligibility
Check site eligibility
Enrol
Enrol site in a proposition
Unenrol
Unenrol from a proposition

