Authenticate on behalf of an end user by supplying their external user ID.
This endpoint is used by authenticated API clients to create a user-scoped access token for a specific end user (referenced by their external ID) in the API client’s organisation. If no such end user exists, one will be created on demand.
Returns a bearer access token scoped to this end user upon success.
The access token received from the authorization server in the OAuth 2.0 flow.
The email of the user, to be added for new users or upserted for existing users.
Timezone-aware ISO 8601 timestamp (e.g. '2026-01-01T12:34:56Z') indicating when the household gave consent for Axle to access readings from their boundary meter, if consent was given.
Unless explicitly exempted, this must be provided on the first call to this endpoint (per external_user_id). It can optionally be included in later calls for the same external_user_id; the value submitted most recently will be kept on record.