Admin Login
Authenticate admin or staff users to access the App Courier admin panel.Request Body
Admin user’s email address
Admin user’s password
Response
Indicates if the login was successful
JWT authentication token for subsequent API requests
Unique identifier for the authenticated user
User type identifier (role ID)
Full name of the authenticated user
Branch/office ID associated with the user
Total number of shipments processed today
Total number of customers
User type name/description
Branch/office name
User’s email address
User’s address
Customer Login
Authenticate customer users to access their App Courier account and track shipments.Request Body
Customer’s username or email address
Customer’s password
Response
Indicates if the login was successful
JWT authentication token for subsequent API requests
Unique identifier for the authenticated customer
User type identifier (customer role)
Full name of the customer
Associated branch/office ID
User type description
Branch/office name
Customer’s email address
Customer’s address
Authentication Token Usage
After successful login, include the authentication token in subsequent API requests:Tokens are stored in SharedPreferences on the client side and should be included in the Authorization header for all authenticated requests.