1. Drivers
TTC | W-SYNC
  • Introduction
  • Authentication
  • Error Handling
  • Tickets
    • Online Booking
      POST
    • Get Ticket
      GET
    • List Tickets
      GET
    • List Tickets Status
      GET
  • Drivers
    • Get Driver
      GET
    • List Drivers
      GET
    • Signup
      POST
    • Signin
      POST
    • Change Password
      POST
    • Forgot Password
      POST
    • Reset Password
      POST
    • Update Driver
      PATCH
  • Car Tracking
    • List Tracking
      GET
    • Get Tracking
      GET
    • Update Tracking
      PATCH
    • Assign Driver
      POST
  • Notification Webhooks
    • Overview
    • Authenticating Webhooks
    • Event Types
    • Webhooks
W-SYNC
  1. Drivers

Forgot Password

POST
https://ttcuat.wsync.app/api/v1/driver/forgot
Initiates the password recovery process for a driver. This endpoint accepts the driver's registered email address and triggers the system to send a verification code. The received code must then be provided as forgottenCode when making a request to the /api/v1/driver/resetPassword endpoint to set a new password.

Request

Authorization
Basic Auth
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************
or
Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Bodyapplication/json

Response Response Example
{
    "object": "forgot",
    "livemode": false,
    "status": "success",
    "email": "username@domain.com",
    "forgottenCode": "CG0gYHRjcc8AaGJ8aO.Dgu9e317150cc6723f9c8",
    "url": "https://ttcuat.wsync.app/auth/reset-password/CG0gYHRjcc8AaGJ8aO.Dgu9e317150cc6723f9c8"
}
Previous
Change Password
Next
Reset Password
Built with