1 operation. Every schema and example on this page is generated from the platform contract.
Called by the page Supabase’s email-change link opens. Needs a Bearer token. Reads the account fresh, copies its address to the profile, and retires any confirm link to an address the account has left. Changes nothing the account did not already change.
The sign-in address as the auth server holds it now.
curl -X POST "https://www.membber.com/api/v1/account/sign-in-email/settle" \
-H "Idempotency-Key: 1f0e2d3c-4b5a-4678-9abc-def012345678" \
-H "Content-Type: application/json" \
-d '{}'import { createMembberClient } from "@membber/sdk-ts";
const membber = createMembberClient();
const { data, error } = await membber.raw.POST("/api/v1/account/sign-in-email/settle", {
body: {},
headers: { "Idempotency-Key": crypto.randomUUID() },
});
if (error) {
// Typed error envelope: { error: { code, message, requestId } }
throw new Error(`${error.error.code}: ${error.error.message}`);
}
console.log(data);import MembberSwift
let client = MembberClient(
serverURL: MembberClient.productionServerURL,
tokenProvider: { nil }
)
let response = try await client.api.settleSignInEmail(
body: .json(.init())
).ok.body.json
print(response){
"email": "alex@example.com"
}