1. Help Center
  2. API Documentation

Step 1: Authentication

Getting your ACCESS_TOKEN using your username and password

Use this endpoint to authenticate a user with the Dispatcher account. It will return account information with an access token.

Request Parameters

Parameter

Required?

Type

Description

Password

YES

string

Dispatcher account password

Email

YES

string

Dispatcher account email

Request Sample cURL/Payload

curl -X POST "https://umbrella.yojee.com/api/v3/auth/signin" -H "accept: application/json" -H "content-type: application/json" -d "{ \"password\": \"12345678\", \"email\": \"123@yojee.com\"}"

Sample Response Body

Server Code Status: 200 => Dispatcher Login Success

example value(s)

{
"user_profile_id": 1,
"phone": "+6598765432",
"name": "Bob Doe",
"email": "bob@mail.com",
"auth_infos": {
"worker_infos": {
"yojee": [
{
"company_slug": "yojee",
"company_name": "Yojee"
}
]
},
"sender_infos": {
"yojee": [
{
"sender_organisation_slug": "aceflyers",
"sender_organisation_name": "Aceflyers",
"company_slug": "yojee",
"company_name": "Yojee"
}
]
},
"dispatcher_infos": {
"yojee": [
{
"company_slug": "yojee",
"company_name": "Yojee"
}
]
}
},
"access_token": "pCVPeEEUuKnM7geUOcSLY2imA5l6YUdjymkApBDAAGY="
}