Create an Identity Record
Creates an Identity Record holding the person-property relationship for a
consent or access registration. Returns an ir key that must be supplied
as record-metadata.identity-record-ref when creating the linked AccessRecord.
The Identity Record holds:
pii-principal— MPxN, move-in date, and optionally address.expressed-by— whether the data subject or an authorised representative initiated the registration.principal-verification— identity verification evidence (method, outcome, reference). Strongly recommended; null if no structured verification was performed.email— stored as a one-way hash for future magic-link re-identification and lookup. Optional but required if magic-link re-identification is to be used.initiate-passkey-registration— iftrue, the response includes apasskey-registration-redirectcontaining a short-lived URL toid.central.consent. Redirect the customer to this URL — the register completes the WebAuthn ceremony on its own origin, stores the public key, and redirects back with?dar-passkey-token={token-ref}. CallGET /identity-records/{ir}/re-identify/{token-ref}once to confirm. Supplypasskey-return-urlto control where the customer lands after the ceremony.
Identity Records are scoped to the authenticated Data User and are never
exposed to the unauthenticated GET /access-records/{ak} endpoint used by
Data Providers.
Authorizations
Body
Request body for POST /identity-records. Extends the core IdentityRecord fields with email, initiate-passkey-registration, and passkey-return-url.
If true, the register generates a passkey registration session and returns a passkey-registration-redirect. Redirect the customer to the supplied URL; the register completes the WebAuthn ceremony on id.central.consent and redirects back to passkey-return-url with ?dar-passkey-token={token-ref} on success.
Required when initiate-passkey-registration is true. The URL the register redirects the customer to after the passkey ceremony completes. Must exactly match a URL pre-registered for the Data User's DUID. Ignored if initiate-passkey-registration is false or omitted.
"https://app.bright-energy.com/onboard/passkey-done"
Response
Identity record created successfully. If initiate-passkey-registration
was true, passkey-registration-redirect is populated — redirect the
customer to redirect-url. The register completes the WebAuthn ceremony
on id.central.consent and sends the customer back to return-url with
?dar-passkey-token={token-ref}. Call
GET /identity-records/{ir}/re-identify/{token-ref} once to confirm.
Populated when initiate-passkey-registration was true. Redirect the customer to redirect-url — the register runs the WebAuthn registration ceremony on id.central.consent and returns them to return-url with ?dar-passkey-token={token-ref}. Call GET /identity-records/{ir}/re-identify/{token-ref} once to confirm. Null otherwise.

