HubSpot Ideas

e5an

Teams API (Settings, User Provisioning) should show child team ids

/settings/v3/users/teams

 

Or parent team ids, or both. Since there can be a hierarchy to HubSpot teams, that must be one of the properties on a team so it's kind of strange that the API doesn't return it already.

 

 

{
  "results": [
    {
      "id": "100",
      "name": "Test Team",
      "userIds": [
        "123"
      ],
      "secondaryUserIds": [
        "124"
      ],
      "childTeamIds": [
        "101",
        "102",
        "103"
      ]
    }
  ]
}