---
title: "Verify OTP"
method: POST
path: "/{WSID}/{version}/verify/validate"
tags: ["Fyno Verify"]
---

# Verify OTP

`POST /{WSID}/{version}/verify/validate`

This API enables you to validate the OTP entered by the user using either `request_id` (received in response of the Fire an Event API) or `destination` (such as phone number, email).

## Path parameters

- `WSID` string, required
- `version` 'live' | 'test', required

## Query parameters

- `request_id` string
- `destination` string
- `otp` string, required

## Response `200`

OTP successfully validated

- object
  - `_message` string, required
  - `status` string, required

## Other responses

- `400` — Invalid OTP entered by user
- `401` — API Key or Workspace ID is invalid. User is unauthorised.

## Changes

- **2025-02-17** `ee2cf82f4e6a` — 6 info
  - the response property `_message` became required for the status `200`
  - the response property `_message` became required for the status `400`
  - the response property `_message` became required for the status `401`
  - the response property `status` became required for the status `200`
  - …2 more
- **2025-02-10** `a0995c30bb0b` — 1 info
  - endpoint added
- **2025-02-10** `2bbe1e92e031` — 2 breaking
  - api path removed without deprecation
  - api path removed without deprecation
- **2025-02-10** `1e381a0ba09d` — 1 breaking, 1 warning, 1 info
  - the `query` request parameter `request_id` became required
  - deleted the `query` request parameter `destination`
  - endpoint added
- **2025-02-10** `6f9dbe641420` — 1 breaking, 2 info
  - api path removed without deprecation
  - added the new optional `query` request parameter `destination`
  - the `query` request parameter `request_id` became optional

[Change history](https://skmtc.dev/fynoio/apis/fyno-rest-api/changes/:WSID/:version/verify/validate/post.md)

---

[API](https://skmtc.dev/fynoio/apis/fyno-rest-api.md) · [All operations](https://skmtc.dev/fynoio/apis/fyno-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fynoio/fyno-rest-api/revisions/ee288e1ee67d/schema)
