Dashboard
How it Works Documentation Quick Start PAPI — Pages & Assets MAPI — Dynamic Data Integrations SAPI — Sessions & Forms MCP Server OpenClaw Skill Tools Deploy Dashboard
Identity

Identity

⚡ Built-in — Platform Built-in

Owner-only identity-key operations for a project (e.g. atomically re-key a customer email across all platform data).

⚡ Built-in — No Setup Required This integration is built into the WebsitePublisher platform. All endpoints are available immediately — no API key needed.

Endpoints (1)

POST rekey-email

Atomically re-key a shop-customer email from old_email to new_email across all platform (papi) tables that couple on it, in a single transaction. All-or-nothing, idempotent, collision-checked. Owner only. (MAPI entity records are the site's own responsibility — re-key those via the MAPI API.)

Field Type Required Description
old_email string ✓ Yes The current email (identity key) to move away from.
new_email string ✓ Yes The new email to move the identity to.
options array No Optional object: { include_invoices: bool (default true — set false to leave issued invoices untouched), merge: bool (default false; v1 rejects collisions) }.

MCP Tool Names

When using this integration through an AI assistant (Claude, ChatGPT, Cursor, etc.), the endpoints are available as MCP tools:

EndpointMCP Tool Name
rekey-email identity_rekey_email
← Back to all integrations