---
title: "Get property related counts"
method: GET
path: "/api/team/{id}/related-counts"
tags: ["Property"]
---

# Get property related counts

`GET /api/team/{id}/related-counts`

## Request

- Base URL: `https://api.sponsorunited.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sponsorunited.com/api/team/{id}/related-counts`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/team/:id/related-counts/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the property id together with counts of its related records: contacts, curated news, hashtags, locations, home/away/user events and audits

## Path parameters

- `id` integer, required

## Response `200`

The property with its related record counts.

- object
  - `id` integer
  - `contacts_count` integer
  - `curated_news_count` integer
  - `hashtags_count` integer
  - `locations_count` integer
  - `hometeam_events_count` integer
  - `awayteam_events_count` integer
  - `user_events_count` integer
  - `audits_count` integer

---

[API](https://skmtc.dev/sponsorunited/apis/sponsorunited-api.md) - [All operations](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sponsorunited/apis/sponsorunited-api/revisions/cbf1ca5bff8f?raw)
