Skip to main content
GET
/
accounts
/
{account_id}
/
company-status-counts
Get company counts by status
curl --request GET \
  --url https://www.useroulette.com/api/v1/accounts/{account_id}/company-status-counts \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "total": 150,
    "no_status": 12,
    "statuses": [
      {
        "status_id": "uuid-1",
        "status_name": "Initial Review",
        "count": 45
      },
      {
        "status_id": "uuid-2",
        "status_name": "Due Diligence",
        "count": 23
      },
      {
        "status_id": "uuid-3",
        "status_name": "Partner Meeting",
        "count": 15
      },
      {
        "status_id": "uuid-4",
        "status_name": "Term Sheet",
        "count": 8
      },
      {
        "status_id": "uuid-5",
        "status_name": "Passed",
        "count": 47
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

account_id
string<uuid>
required

Response

success
boolean
required
data
object
required