---
title: "Verify an unauthenticated OTP challenge"
method: POST
path: "/v1/public/challenges/verify"
tags: ["Challenges"]
---

# Verify an unauthenticated OTP challenge

`POST /v1/public/challenges/verify`

## Request

- Base URL: `https://identity-api.paymongo.com`
- URL: `https://identity-api.paymongo.com/v1/public/challenges/verify`
- Auth: none required

Verifies the OTP submitted for a public action. Caller identifies via email rather than a JWT.

## Request body

- MfaVerifyPublicChallengeRequestEnvelopeDTO
  - `data` object
    - `attributes` MfaVerifyPublicChallengeRequestDTO
      - `action` string, required
      - `code` string, required
      - `email` string, required

## Response `204`

No Content

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `410`: Gone
- `422`: Unprocessable Entity
- `500`: Internal Server Error
- `502`: Bad Gateway

---

[API](https://skmtc.dev/paymongo/apis/identity.md) - [All operations](https://skmtc.dev/paymongo/apis/identity/llms.txt) - [OpenAPI document](https://skmtc.dev/paymongo/apis/identity/revisions/cc3056164874?raw)
