flaky-kilobyte-10585
05/12/2025, 2:20 PMbrief-egg-61061
05/12/2025, 2:20 PMbrief-egg-61061
05/12/2025, 2:20 PMflaky-kilobyte-10585
05/12/2025, 2:27 PMbrief-egg-61061
05/12/2025, 2:27 PMbrief-egg-61061
05/12/2025, 2:27 PMts await frontendAPI.updateRegistrationFlow({ flow: id, updateRegistrationFlowBody: { method: "password", password: "super secure password", traits: { email: "<mailto:mymail@example.com|mymail@example.com>", }, transient_payload: { firstname: "John" }, }, })
The transient_payload will be presented to any post-registration webhook, but it will not be persisted by Ory. This allows you to access firstname in the webhook without adding it as a trait to your identity [Possibility to define complex data types in the metadata of identity](https://github.com/ory/network/issues/187). If you do not use transient_payload and firstname is not part of the identity traits or metadata, it will not be available in the after webhook.