---
title: "Verifies the OTP and returns a secure token for chat authentication."
method: POST
path: "/v1/chat/widget/verifyOtp"
tags: ["Chat"]
---

# Verifies the OTP and returns a secure token for chat authentication.

`POST /v1/chat/widget/verifyOtp`

## Request body

- ChatValidationModel
  - `apiKey` string, nullable
  - `visitorId` string, nullable
  - `email` string, nullable
  - `otpCode` string, nullable
  - `language` string, nullable

## Response `200`

OK

- OkResult
  - `statusCode` integer

## Other responses

- `400` — Bad Request

---

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