Liveforce
  1. Leads API Overview
Liveforce
  • Introduction
  • Staff API Overview
    • List Staff Members
      GET
    • Get Staff Member Details
      GET
    • Create a Staff Member
      POST
    • Update a Staff Member
      PUT
  • Leads API Overview
    • List Leads
      GET
    • Get Lead Details
      GET
    • Leads Summary
      GET
    • Leads Count by Status
      GET
    • Leads Types
      GET
    • Lead Notes List
      GET
    • Lead Note Detail
      GET
    • Lead Notes Create
      POST
    • Lead Notes Update
      PUT
    • Lead Files
      GET
    • Upload Lead File
      POST
    • Generate Report
      GET
    • Generate CSV Report
      GET
  • Call Logs API Overview
    • List Call Logs
      GET
    • Get Call Log Detail
      GET
  • Tickets API Overview
    • List Tickets
      GET
    • Create a Ticket
      POST
    • Get Ticket Details
      GET
    • List Ticket Statuses
      GET
  • Deals Management API Overview
    • List Deals
      GET
    • Create a Deal
      POST
    • Update a Deal
      PUT
    • Get a Deal Details
      GET
    • List Deals Sources
      GET
    • List Deals Pipeline
      GET
    • Add a Deal Comment
      POST
    • Update a Deal Comment
      PUT
    • Add an Attachment
      POST
    • Delete an Attachment
      DELETE
    • List a Deal Services
      GET
    • Get a Deal Service Detail
      GET
    • Add a Deal Service
      POST
    • Update a Deal Service
      PUT
  1. Leads API Overview

Leads Count by Status

GET
/leads/status-count
Retrieves the count of leads categorized by their statuses. This endpoint helps users understand the distribution of leads across different stages, allowing for better resource allocation and focus on specific groups.

Request

Authorization
Send your HTTP requests with an
Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password
Example:
Authorization: Basic *****************

Responses

🟢200Success
application/json
Body
data
array [object {3}] 
required
total_leads
string 
required
status
string 
required
identifier
string 
required
message
string 
required
Example
{
    "data": [
        {
            "total_leads": "1",
            "status": "Active",
            "identifier": "active"
        },
        {
            "total_leads": "0",
            "status": "Closed",
            "identifier": "closed"
        },
        {
            "total_leads": "0",
            "status": "Disputed",
            "identifier": "disputed"
        }
    ],
    "message": "success"
}
🟠401Unauthorized
Modified at 2024-09-05 09:37:06
Previous
Leads Summary
Next
Leads Types
Built with