v1

latestSwagger 2.02026-08-04413100357.6 KB
user

Verify OTP sent to mobile

post/user/verifyMobileOTP

Headers

authorizationstring required

Bearer Token

content-languagestring required

en/ar

Request body

mobilestring required

Phone number to validate

OTPCodenumber

OTP sent via SMS to the user

isDeviceboolean required

Whether the device that made the request is the same as the one the OTP was sent to

deviceType'WEB' | 'IOS' | 'ANDROID' required

Type of the device current using

role'customer' | 'business' required

Role of the user who made the request

firebaseIDstring

ID from firebase after SMS send

Response

Successful