Skip to content

[POST] login

/api/login

LoginRequestDTO

Attributes:

Name Type Description
data str

encrypted data containing the user's credentials in the format of DecryptedLoginDataDTO

DecryptedLoginDataDTO

Attributes:

Name Type Description
email str

email address of the driver

password str

password of the driver

LoginResponseDTO

Attributes:

Name Type Description
driver_id str

unique id assigned to the driver

first_name str

first name of the driver

last_name str

last name of the driver

email_address str

email address of the driver

token str

session token generated for the driver

rfid Optional[str]

unique rfid tag assigned to the driver if any

phone_number Optional[str]

registered phone number of the user

profile_picture Optional[str]

link to the user's uploaded profile picture