- Getting Started with HYEGRO API
- User Guide
- Developer Guide
- HYEGRO Developer Docs
- HYEGRO CRM API v1.0
- Users
- Access Token & License Info
- Login History
- Leads
- Contacts
- Accounts
- Products & Inventory
- Deals
- Quotations
- Orders
- Invoices
- Cases
- Activities & Tasks
- Search
- METADATA API
- Files & Attachments
Login For Access Token
POST
https://backend.test-hyegro.com/token
Request
Header Params
user-agent
User-Agent
Any of
Body Params application/x-www-form-urlencoded
grant_type
Grant Type
Any of
Match pattern:
password
username
string
Username
password
string
Password
scope
string
Scope
Default:
client_id
Client Id
Any of
client_secret
Client Secret
Any of
Responses
🟢200OK
application/json
Body
access_token
string
Access Token
token_type
string
Token Type
expires_in
integer
Expires In
user_info
object (UserInfo)
required
id
integer
Id
email
string
Email
username
string
Username
role
string
Role
manager_id
Manager Id
license
object (LicenseInfo)
required
Example:
{"expiry_date":"2024-12-31T23:59:59","is_trial":false,"license_type":"Standard","remaining_days":300,"total_admins":2,"total_users":10,"used_admins":1,"used_users":5}
license_type
string
License Type
expiry_date
string <date-time>
Expiry Date
total_users
integer
Total Users
used_users
integer
Used Users
total_admins
integer
Total Admins
used_admins
integer
Used Admins
is_trial
boolean
Is Trial
remaining_days
Remaining Days
billing_cycle
optional
Example
{
"access_token": "string",
"token_type": "string",
"expires_in": 0,
"user_info": {
"id": 0,
"email": "string",
"username": "string",
"role": "string",
"manager_id": 0
},
"license": {
"expiry_date": "2024-12-31T23:59:59",
"is_trial": false,
"license_type": "Standard",
"remaining_days": 300,
"total_admins": 2,
"total_users": 10,
"used_admins": 1,
"used_users": 5
}
}
🟠422Parameter Error
Modified at 2025-04-15 14:01:55