---
title: "Count a user's Deal Manager assignments"
method: GET
path: "/api/user/{userId}/dm-assignments/count"
tags: ["User Management"]
---

# Count a user's Deal Manager assignments

`GET /api/user/{userId}/dm-assignments/count`

## 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/user/{userId}/dm-assignments/count`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/user/:userId/dm-assignments/count/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the number of Deal Manager profiles and contacts owned by the user. Used as a cheap precheck before deactivation to decide whether the reassignment modal must be shown.

## Path parameters

- `userId` integer, required

## Response `200`

Assignment counts

- object
  - `profiles` integer
  - `contacts` integer

## Other responses

- `401`: Unauthenticated
- `403`: Forbidden - Not authorized to view this user's Deal Manager assignments
- `404`: User not found

---

[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)
