TRUXCO
  1. TRUXCO DRIVER APP
TRUXCO
  • TRUXCO DRIVER APP
    • REQUEST OTP
      POST
    • VERIFY OTP
      POST
    • RESEND OTP
      POST
    • DRIVER DOCUMENTS
      POST
    • UPLOAD DRIVER DOCUMENT
      POST
    • DRIVER TRIP DETAIL
      POST
    • ORDER DETAIL
      POST
  1. TRUXCO DRIVER APP

REQUEST OTP

Develop Env
http://122.160.87.36:9097/accordBackend
Develop Env
http://122.160.87.36:9097/accordBackend
POST
/api/requestOTP
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://122.160.87.36:9097/accordBackend/api/requestOTP' \
--header 'Content-Type: application/json' \
--data-raw '{
    "emailId" : "NAVEENMALHOTRA@GMAIL.COM",
    "deviceId" : "1234567890",
    "deviceModelName" : "iphone"
}'
Response Response Example
Success
{
    "responseCode": 200,
    "responseMsg": "Success"
}

Request

Body Params application/json
emailId
string 
required
Email ID of the Driver
deviceId
string 
required
Device of the mobile device being used by the driver
deviceModelName
string 
required
Device Model name
deviceType
string 
required
Expected Values ANDROID or IPHONE.
Android app developer need to send ANDROID as constant value in deviceType key. Similarly for IOS app value needs to be IPHONE
osVersion
string 
required
Examples

Responses

🟢200Success
application/json
Body
responseCode
integer 
required
responseMsg
string 
required
Modified at 2025-06-13 04:17:45
Next
VERIFY OTP
Built with