For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
SupportDashboard
GuidesAPI Reference
GuidesAPI Reference
  • Endpoints
      • GETTab counts for the loads list
      • GETGet calls for a load
      • GETGet failed carrier verifications for a load
      • GETGet active escalations for a load
      • GETList webhook endpoints
      • POSTRegister a webhook endpoint
      • GETGet a webhook endpoint
      • DELDelete a webhook endpoint
      • PATCHUpdate a webhook endpoint
      • POSTRotate the signing secret
      • GETList delivery attempts for an endpoint
      • GETList attempts for a logical message
      • POSTReplay a delivery
      • GETList subscribable event types
LogoLogo
SupportDashboard
EndpointsAPI

Tab counts for the loads list

GET
/loads/counts
GET
/api/v1/loads/counts
$curl https://tryenvoy.ai/api/v1/loads/counts \
> -H "Authorization: Bearer <token>" \
> -H "Content-Type: application/json"
1{
2 "all": 124,
3 "active_notifications": 15,
4 "active_outreaches": 8,
5 "all_calls": 22,
6 "failed_verifications": 3,
7 "active_escalations": 5,
8 "active_offers": 12
9}

Returns per-tab badge counts for the loads list view. Honors the same filter set as GET /loads so the badges reflect what each tab would show under the user’s current filters.

Authentication: Supports API key and bearer token authentication.

Was this page helpful?
Previous

Get calls for a load

Next
Built with

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Headers

X-Organization-IDstring or nullOptional

Query parameters

searchstring or nullOptional
statuslist of enums or nullOptional
modelist of enums or nullOptional
Allowed values:
equipment_typelist of enums or nullOptional
customer_namelist of strings or nullOptional
carrier_rep_namestring or nullOptional
Filter by assigned carrier rep name
origin_citystring or nullOptional

Substring match on origin stop city (ILIKE)

destination_citystring or nullOptional

Substring match on destination stop city (ILIKE)

pickup_date_fromdate or nullOptional
pickup_date_todate or nullOptional
delivery_date_fromdate or nullOptional
delivery_date_todate or nullOptional
distance_mindouble or nullOptional>=0
distance_maxdouble or nullOptional>=0
posted_rate_mininteger or nullOptional>=0
posted_rate_maxinteger or nullOptional>=0

Response

Successful Response
allinteger>=0
All loads matching the current filters
active_notificationsinteger>=0
Loads with at least one unread notification for the current user
active_outreachesinteger>=0
Loads with outreach activity and no accepted offer yet
all_callsinteger>=0
Loads with at least one phone call, regardless of status
failed_verificationsinteger>=0

Loads whose outreach carriers have at least one failed carrier_verifications row

active_escalationsinteger>=0
Loads with at least one ACTIVE escalation awaiting a human response
active_offersinteger>=0
Loads with at least one pending offer

Errors

401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error
429
Too Many Requests Error