> ## Documentation Index
> Fetch the complete documentation index at: /docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Verify multi-factor authentication with one-time password (OTP)

> Verify MFA using a one-time password (OTP) to complete the token request.

## Endpoint

`POST /oauth/token`

Verifies multi-factor authentication (MFA) using a one-time password (OTP). To verify MFA with an OTP, prompt the user to get the OTP code, then make a request to the /oauth/token endpoint. The request must have the OTP code, the mfa\_token you received (from the mfa\_required error), and the grant\_type set to `http://auth0.com/oauth/grant-type/mfa-otp`. The response is the same as responses for password or `http://auth0.com/oauth/grant-type/password-realm` grant types. Learn more at [Associate OTP Authenticators](/docs/mfa/guides/mfa-api/otp).

### Learn More

* [Associate OTP Authenticators](https://auth0.com/docs/mfa/guides/mfa-api/otp)

## Headers

**DPoP** `string`

A DPoP proof for the request. This is optional and only required if your application uses Demonstrating Proof-of-Possession.

## Body Parameters

The request body is in `application/x-www-form-urlencoded` format.

**grant\_type** `string` *required*

Denotes the flow you are using. For OTP MFA use `http://auth0.com/oauth/grant-type/mfa-otp`.

**client\_id** `string`

Your application's Client ID.

**client\_secret** `string`

Your application's Client Secret.

**mfa\_token** `string` *required*

The `mfa_token` you received from `mfa_required` error.

**otp** `string` *required*

OTP Code provided by the user.

**client\_assertion** `string`

A JWT containing a signed assertion with your application credentials.

**client\_assertion\_type** `string`

The value is `urn:ietf:params:oauth:client-assertion-type:jwt-bearer`.

## Response Schema

\{}

application/json

**access\_token** `string`

The access token for the authenticated session.

**token\_type** `string`

The type of token issued.

**expires\_in** `integer`

The access token lifetime in seconds.

## Response Messages

| Status | Description |
| - | - |
| 200 | OTP verification successful. |
| 400 | Invalid request, such as missing parameters or invalid OTP. |
