---
title: "Start two factor authentication process"
method: POST
path: "/blaize/two-factor-authentication"
tags: ["User"]
---

# Start two factor authentication process

`POST /blaize/two-factor-authentication`

## Request

- Base URL: `https://demo-site`
- URL: `https://demo-site/blaize/two-factor-authentication`
- Auth: one of:
  - API key in cookie `blaize_session`
  - API key in query parameter `jwt`
  - API key in header `x-blaize-jwt`
  - API key in header `x-zephr-jwt`
  - HTTP bearer
  - API key in cookie `blaize_jwt`

Starts the two factor authentication process. An email will be sent to the email address provided in the request with a link to complete the process.

## Request body

- StartTwoFactorAuthenticationRequest
  - `action` 'login' | 'register' | 'completeRegistration'
  - `identifiers` object
    - `email_address` string
  - `method` 'email'

## Response `201`

OK

## Other responses

- `404`: User not found
- `405`: Two factor authentication is not active

---

[API](https://skmtc.dev/zuora/apis/zuora-2.md) - [All operations](https://skmtc.dev/zuora/apis/zuora-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zuora/apis/zuora-2/revisions/678190d04c40?raw)
