## Request



### HTTP headers

HeaderDescription
X-CM-ProductTokenYour product token. Retrieve from [Messaging Gateway app](🔗).
Content-Typeapplication/json

### Request body



### URL parameter

ParameterTypeDescription
idstringThe identifier for the OTP, returned in the response after creating the OTP.

### Parameter

ParameterTypeDescription
codestringThe code received via the specified channel.

## Response





Once a code has been successfully validated, it cannot be validated again.

### Parameters

ParameterDescription
idThe identifier of the OTP.
channelThe channel used to send the code.
verifiedIndicates if the code was valid.
createdAtThe date the OTP was created.
expiresAtThe date the OTP will expire.