POST
/
accounts
/
headcount
curl --request POST \
  --url https://app.prontohq.com/api/v2/accounts/headcount \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '{
  "company_linkedin_id": "1818",
  "departments": [
    "Engineering",
    "Sales",
    "Finance"
  ]
}'
{
  "Engineering": {
    "3_months_evolution": {
      "base_headcount": 8611,
      "current_headcount": 8681,
      "headcount_gain": 70,
      "headcount_gain_percentage": 1
    },
    "6_months_evolution": {
      "base_headcount": 8412,
      "current_headcount": 8681,
      "headcount_gain": 269,
      "headcount_gain_percentage": 3
    },
    "12_months_evolution": {
      "base_headcount": 8153,
      "current_headcount": 8681,
      "headcount_gain": 528,
      "headcount_gain_percentage": 6
    }
  },
  "Finance": {
    "3_months_evolution": {
      "base_headcount": 2801,
      "current_headcount": 2830,
      "headcount_gain": 29,
      "headcount_gain_percentage": 1
    },
    "6_months_evolution": {
      "base_headcount": 2774,
      "current_headcount": 2830,
      "headcount_gain": 56,
      "headcount_gain_percentage": 2
    },
    "12_months_evolution": {
      "base_headcount": 2659,
      "current_headcount": 2830,
      "headcount_gain": 171,
      "headcount_gain_percentage": 6
    }
  },
  "Sales": {
    "3_months_evolution": {
      "base_headcount": 6130,
      "current_headcount": 6258,
      "headcount_gain": 128,
      "headcount_gain_percentage": 2
    },
    "6_months_evolution": {
      "base_headcount": 5914,
      "current_headcount": 6258,
      "headcount_gain": 344,
      "headcount_gain_percentage": 6
    },
    "12_months_evolution": {
      "base_headcount": 5549,
      "current_headcount": 6258,
      "headcount_gain": 709,
      "headcount_gain_percentage": 13
    }
  }
}

Authorizations

X-API-KEY
string
header
required

Your API key

Body

application/json

Response

200
application/json

Successfully retrieved headcount data

The response is of type object.