Welcome to the Kinde community.

P
K
A
A
A

create user using management api

is there a way where i can create user directly with email and password using, where the user can just login without the user need to verify the email while logging in for the first time for the first time

Plain Text
const usersResponse = await fetch(
      "https://{business_name}.kinde.com/api/v1/user",
      {
        method: "POST",
        headers: {
          "Content-Type": "application/json",
          Accept: "application/json",
          Authorization: `Bearer ${access_token}`,
        },
        body: JSON.stringify({
          profile: {
            given_name: firstName,
            family_name: lastName,
          },
          organization_code: "org--------",
          identities: [
            {
              type: "email",
              details: {
                email: email,
                password: password,
              },
            },
          ],
        }),
      }
    );
    const userData = await usersResponse.json();
A
1 comment
Not just yet, we are working on support to be able to set a users password via API - https://updates.kinde.com/board/set-a-hashed-user-password-via-api

And the ability to tag an email as already verified is available via user import by .csv. Just not API yet, but I have passed this over to the team
Add a reply
Sign up and join the conversation on Discord
Join