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
        POST
      • Logout
        POST
      • Forgot password
        POST
      • Change email
        POST
    • 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
    • Get All Reusuable Info
    • Update Profile
    • Store Info for Reuse
    • Get Orders
    • Get Transactions
    • Get Transaction From Paystack
    • Get Operational States
  • 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}}/rider/login

Request

Body Params application/json

Example
{
    "email_or_phone": "+2349099566140",
    "password": "pA$$w0rd"
}

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/rider/login' \
--header 'Content-Type: application/json' \
--data '{
    "email_or_phone": "+2349099566140",
    "password": "pA$$w0rd"
}'

Responses

🟢200OK
application/json
Bodyapplication/json

Example
{"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vbG9jYWxob3N0OjgwMDAvcmlkZXIvbG9naW4iLCJpYXQiOjE3MjUyMDIzNDYsImV4cCI6MTcyNTIwNTk0NiwibmJmIjoxNzI1MjAyMzQ2LCJqdGkiOiJRbjJwbnV0b3RlY1hualRHIiwic3ViIjoiNiIsInBydiI6IjIzYmQ1Yzg5NDlmNjAwYWRiMzllNzAxYzQwMDg3MmRiN2E1OTc2ZjcifQ.49FKsikNOehNzyqQ31CGoQF4shJSNozIpyvrnk_JSOM","user":{"id":6,"first_name":"Augustina","last_name":"Adewunmi","email":"lomobolaji@example.net","phone":"+2349099566140","role":"rider"}}
Modified at 2024-09-01 15:34:16
Previous
Calculate Price
Next
Logout
Built with