Skip to main content

SEND OTP (Password TOTP)

Sends one time passoword (OTP) to the registered mobile number of the user. This API supports flow such as Forgot Passwords and for Registering Time-Based OTP (TOTP) for 2FA.

🔑Header Parameters

HeaderTypeDescriptionExample
Content-TypeStringSpecifies the format of the request body.application/json
x-api-keyStringThe API key provided for identifying the client application.x-api-key

📦 Request Body Schema

FieldsTypeRequiredENUM/ExampleDescription
user_idStringYes"UCC123456"Unqiue client code (UCC) provided to the user.
api_keyStringYes"abc123xyz"API key provided to user by Synapsewave
sourceStringYes"WEBAPI", "MOBILEAPI"Platform making the request; WEBAPI for browsers and MOBILEAPI for apps

🟢Success Response - 200K

Content-type: application/json

FieldTypeDescriptionExample
StatusStringStatus of the API Call (Default: Success)"success"
CodeStringCode representing the response type"s-101"
MessageStringHuman readable message"OTP sent to reset Password."
post/authentication/v1/user/password/reset/send-otp