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
| Header | Type | Description | Example |
|---|---|---|---|
| Content-Type | String | Specifies the format of the request body. | application/json |
| x-api-key | String | The API key provided for identifying the client application. | x-api-key |
📦 Request Body Schema
| Fields | Type | Required | ENUM/Example | Description |
|---|---|---|---|---|
| user_id | String | Yes | "UCC123456" | Unqiue client code (UCC) provided to the user. |
| api_key | String | Yes | "abc123xyz" | API key provided to user by Synapsewave |
| source | String | Yes | "WEBAPI", "MOBILEAPI" | Platform making the request; WEBAPI for browsers and MOBILEAPI for apps |
🟢Success Response - 200K
Content-type: application/json
| Field | Type | Description | Example |
|---|---|---|---|
| Status | String | Status of the API Call (Default: Success) | "success" |
| Code | String | Code representing the response type | "s-101" |
| Message | String | Human readable message | "OTP sent to reset Password." |
post
/authentication/v1/user/password/reset/send-otp