v1

latestOpenAPI 3.0.12026-07-22120163333.7 KB
Sales Agents V2

Get current user's Sales Agent quota

Retrieves AI quota information for the current logged-in user, including total quota, used quota, remaining quota, and borrow status.

get/v2.0/sales-agents/quota

Headers

Authorizationstring required

Bearer [access_token]

Response

Quota information retrieved successfully

totalQuotainteger

Total quota limit

usedQuotainteger

Used quota count (working leads)

remainingQuotainteger

Remaining quota count

hasQuotaAvailableboolean

Whether quota is available

usagePercentagenumber double

Quota usage percentage (0-100)

isBorrowedboolean

Whether AI is borrowed from others

borrowLevelstring

Borrow level if borrowed: SELF, GROUP, TEAM

borrowedFrominteger

Borrowed from user/office ID

Example response

{
  "totalQuota": 100,
  "usedQuota": 45,
  "remainingQuota": 55,
  "hasQuotaAvailable": true,
  "usagePercentage": 45,
  "borrowLevel": "SELF",
  "borrowedFrom": 12346
}