Generate an OTP code and queue the message to the provided chatId for secure authentication.
chatId and OTP configuration[email protected])
6 characters.
false.
true.
useLetter is true. Default is false.
1800 seconds (30 minutes).

uuid: Unique identifier for this OTP requestchat_id: The recipient’s chat IDcode: The generated OTP code (store this securely if needed)status: Current status (pending, sent, validated, or expired)otp_type: Type of OTP (always code for this endpoint)expires_at: ISO 8601 timestamp when the code expirescreated_at: ISO 8601 timestamp when the code was created
uuid to track the verification statusBearer authentication header of the form Bearer <token>, where <token> is your auth token.
Hypersender instance UUID