1. Auth
Enviable Logistics App
  • Auth
    • Login
      POST
    • Sign UP
      POST
    • Verify Email
      POST
    • Resend Email OTP
      POST
    • Forgot password
      POST
    • Reset Password
      POST
    • Change Password
      POST
    • User
      GET
  • Delivery
    • Checkout
      POST
    • Track Delivery
      GET
    • Get Delivery
      GET
    • Calculate Price
      POST
  • Rider
    • Auth
      • Login
      • Logout
      • Forgot password
      • Change email
    • My Orders
      GET
    • Analytics
      GET
    • Update Order Status
      POST
    • Change status to picked up
      POST
    • Change status to delivered
      POST
    • Change inter-state status to picked up
      PUT
    • Change errand stauts to in-transit
      PUT
  • Errand
    • Create Errand
      POST
    • Get Errand
      GET
    • Upload Proof
      POST
    • Get Errand Categories
      GET
  • User
    • Upload Profile Picture
      POST
    • Get All Reusuable Info
      GET
    • Update Profile
      POST
    • Store Info for Reuse
      POST
    • Get Orders
      GET
    • Get Transactions
      GET
    • Get Transaction From Paystack
      GET
    • Get Operational States
      GET
  • Join Waitlist
    POST
  • Get Pickup Centers
    GET
  • Playground
    GET
  • Get fees
    GET
  • Update Location
    POST
  • Get in-app Notifications
    GET
  1. Auth

Login

POST
{{base_url}}/auth/login

Request

Body Params application/json

Example
{
    "email": "john.doe@example.com",
    "password": "pA$$w0rd",
    "remember": true
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --globoff 'https://api.enviablelogistics.com/auth/login' \
--header 'Content-Type: application/json' \
--data-raw '{
    "email": "john.doe@example.com",
    "password": "pA$$w0rd",
    "remember": true
}'

Responses

🟢200OK
application/json
Bodyapplication/json

Example
{"access_token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwMDAvYXV0aC9sb2dpbiIsImlhdCI6MTcyMjM0ODY1MCwiZXhwIjoxNzI0OTQwNjUwLCJuYmYiOjE3MjIzNDg2NTAsImp0aSI6ImxXd1RFMXVBejRiNnJKR3QiLCJzdWIiOiI1IiwicHJ2IjoiMjNiZDVjODk0OWY2MDBhZGIzOWU3MDFjNDAwODcyZGI3YTU5NzZmNyJ9.JISBMUBkY9kP-EOjiT1vi1uIJ6IC1mEzhRDnEIwdKvE","token_type":"bearer","expires_in":2592000}
🟠401Unauthorized
Modified at 2024-07-30 17:20:53
Next
Sign UP
Built with