---
title: "Initialize the email authentication process for a user's embedded wallet"
method: POST
path: "/sdk/{environmentId}/users/embeddedWallets/emailAuth"
tags: ["SDK"]
---

# Initialize the email authentication process for a user's embedded wallet

`POST /sdk/{environmentId}/users/embeddedWallets/emailAuth`

Initialize the email authentication process for a user's embedded wallet

## Path parameters

- `environmentId` string, required

## Request body

- InitEmailAuthRequest
  - `walletId` string, required
  - `turnkeyEmailAuthTargetPublicKey` string, required

## Response `200`

Init email auth response

- InitEmailAuthResponse
  - `turnkeyUserId` string, required
  - `turnkeyApiKeyId` string, required

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not found
- `422` — Unprocessable Entity
- `500` — Internal Server Error

---

[API](https://skmtc.net/dynamic/apis/dashboard-api.md) · [All operations](https://skmtc.net/dynamic/apis/dashboard-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dynamic/dashboard-api/revisions/aac826315d90/schema)
