tesla
  1. Auth
tesla
  • tesla
    • Auth
      • data captain
        • cars
        • get car model
        • get color model car
        • get manufacture years
      • register Captain
        POST
      • Login
        POST
      • Logout
        POST
      • register
        POST
      • edit profile
        PUT
      • delete account
        DELETE
      • get profile
        GET
      • change password
        PUT
      • active account
        PUT
      • Verification Account
        POST
    • Forget Password
      • verify Email
    • Booking
      • store booking
      • get all
      • Drift
      • Drift Copy
      • get one
      • Update Ride
      • Multiple Point Trip
    • Captains
      • get all
      • captain booking details
      • get one
      • update location
    • Cars
      • get all
      • get brand and model car
    • Payment
      • store
      • get all
      • get one
    • Gratuity
      • store
      • get all
      • get one
    • Contact Us
      • store
    • categories
      • get all
    • Services
      • get all
      • status service captain
    • location
      • update and channel
    • Saved Places
      • get all
      • store
      • update
      • delete
    • Promotion
      • get one
      • store
    • Transfer Wallet
      • store
      • Card Charging
      • get all
      • Verify Otp
      • Reset Otp
    • Public Information
      • Public Information
    • Setting
      • get one
    • Notification
      • unread notification
      • rad notification
      • rad notification Copy
    • Questions
      • questions
    • Payment Method
      • get all
    • Gratuity Salary
      • get all
    • Delay Period
      • get all
    • Favorites
      • get all
    • Order
      • get all
      • store
      • update
      • delete
      • Approved Request Order
      • delivery of orders
    • Wallet Charging
      • store
    • Plans
      • get all
      • store
      • subscriptions confirm
  1. Auth

Login

POST
{{tessla}}/login
Last modified:2025-04-23 12:18:44
Maintainer:Not configured
Request Request Example
Shell
JavaScript
Java
Swift
cURL
curl --location -g --request POST '{{tessla}}/login' \
--header 'Accept: application/json' \
--header 'Accept-Language: en' \
--header 'app_type: client' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "megijoce@mailinator.com",
    "password": "megijoce@mailinator.com"
}'
Response Response Example
{"data":{"id":13,"name":"client","email":"megijoce@mailinator.com","phone":"01007363331","address":"dssdfsd","email_verified_at":null,"verified_at":"2025-04-19 20:26:25","verification_code":"123456","type":"client","gender":"male","is_active":true,"personal_photo":"https://tessla.test/public","created_at":"2025-04-19T20:26:25.000000Z","updated_at":"2025-04-20T14:08:46.000000Z","is_boolean":true,"wallet_balance":"0.00","username":null,"access_token":"1|ENujv8GUPKTpPQdeNgW7nN3lojbcm2nfrYRZYdRt68e48a74","id_photo":"https://tessla.test/public","photo":"https://tessla.test/public","id_back_photo":"https://tessla.test/public","wallet":{"id":12,"user_id":13,"amount":"0.00","debit_balance":"0.00","currency":"JOD","wallet_code":"60744035059892","type":"client","created_at":"2025-04-19T20:26:25.000000Z","updated_at":"2025-04-19T20:26:25.000000Z"},"client":null,"captain":null,"merchant":null},"message":"User authenticated successfully","status":true}

Request

Header Params

Body Params application/json

Examples

Responses

🟢200OK
application/json
Body

Modified at 2025-04-23 12:18:44
Previous
register Captain
Next
Logout
Built with