v2DeprecatedTop Account List
Count Accounts
Count the found accounts in a partner workspace's top account list.
Returns the total number of found accounts in the partner workspace's top account list. Only accounts whose enrichment resolved a company record are counted. Accounts that could not be matched are excluded.
Count accounts
GET/api/v2/partner/workspaces/{partner_workspace_id}/top-account-list/count
Path parameters
| Parameter | Type | Description |
|---|---|---|
| partner_workspace_id | string | Opaque workspace identifier from the partner system. |
Example request
curl "https://api.getsillage.com/api/v2/partner/workspaces/ws_123/top-account-list/count" \
-H "Authorization: Bearer $SILLAGE_API_KEY"Example response
{
"total": 87
}Response fields
| Field | Type | Description |
|---|---|---|
| total | integer | Number of found accounts in the top account list. |
Errors
| Status | Meaning |
|---|---|
| 401 | The master key is missing or invalid. |
| 403 | The master key is not authorized to access this resource. |
| 404 | No workspace found for this partner_workspace_id. |
| 429 | Too many requests. |
| 500 | An unexpected server error occurred. |
Error responses use RFC 9457 problem documents with Content-Type: application/problem+json.