---
title: "Verify OTP"
method: POST
path: "/dev/otp/verify"
---

# Verify OTP

`POST /dev/otp/verify`

## Request

- Base URL: `https://www.fast2sms.com`
- URL: `https://www.fast2sms.com/dev/otp/verify`
- Auth: none declared. Required headers: `Authorization`

Verify the OTP received by the user. Each OTP has a limited number of verification attempts.

## Headers

- `Authorization` string, required

## Request body

- object
  - `mobile` string, required: 10-digit Indian mobile number.
  - `otp` string, required: The OTP to verify.

## Response `200`

OTP verified successfully

- object
  - `return` boolean
  - `status_code` integer
  - `message` string

## Other responses

- `400`: Bad Request - Invalid OTP, expired, or max attempts reached
- `404`: Not Found - OTP not found or already verified

---

[API](https://skmtc.dev/fast2sms/apis/otp-api.md) - [All operations](https://skmtc.dev/fast2sms/apis/otp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fast2sms/apis/otp-api/revisions/273b6f3afe06?raw)
