acoustic-dinner-4855
04/25/2024, 7:39 PMchilly-king-10285
04/25/2024, 7:39 PMchilly-king-10285
04/25/2024, 7:40 PM/self-service/recovery/api
. Here is an example of how to create a recovery flow in React Native: jsx import { Configuration, FrontendApi } from "@ory/client" const frontend = new FrontendApi( new Configuration({ basePath: `https://${process.env.ORY_PROJECT_SLUG}.<http://projects.oryapis.com|projects.oryapis.com>`, }), ) export async function createRecovery() { return await frontend.createNativeRecoveryFlow() }
For more details, you can refer to the [Ory documentation](https://www.ory.sh/docs/kratos/bring-your-own-ui/custom-ui-basic-integration#create-recovery-flow).