Mock OTP sent:
Waiting...
Base URL: https://testapi.mishclothes.in/
Generates a 4-digit OTP for the given phone number.
| Parameter | Type | Description |
|---|---|---|
action | String | Must be "request_otp" |
phone | String | Target phone number |
{
"action": "request_otp",
"phone": "9876543210"
}
Validates the code. If correct, returns an access token.
| Parameter | Type | Description |
|---|---|---|
action | String | Must be "verify_otp" |
otp | String | The 4-digit code received |
{
"status": "success",
"message": "Login successful",
"access_token": "a1b2c3d4...",
"token_type": "Bearer"
}