Get company counts
Tile numbers for the companies the filters show (total, top industry, industries, countries, average ICP score), plus every industry and country to filter by.
GET/api/v1/companies/summary
Parameters
Query
| Name | In | Description |
|---|---|---|
q | query | Search text. |
industry | query | One industry. |
country | query | One country. |
enrichment | query | enriched or not_enriched. One of enriched, not_enriched. |
list_id | query | Only companies behind this lead list. |
Example
curl
curl -X GET "https://crm.ashwanth.dev/api/v1/companies/summary" \
-H "Authorization: Bearer $SALES_ENGINE_API_KEY"CLI
sales-engine companies summaryResponse
A 200 with the result under data, on creation too. Errors come back as an error object with a stable code; see Errors.
Shape
{
"data": { ... }
}Run it below to see the live shape for your workspace.
Try it
Runs against this server, as the workspace behind the key. Kept in this page while you browse the docs, gone on reload, never stored. Signed in to the app? Leave it blank and the call runs as you.
Query
Search text.
One industry.
One country.
enriched or not_enriched.
Only companies behind this lead list.
Request
GET /api/v1/companies/summary