---
title: "Get default business unit assigned to user"
method: GET
path: "/accounts/{account_id}/users/{user_id}/business-units"
tags: ["Accounts"]
---

# Get default business unit assigned to user

`GET /accounts/{account_id}/users/{user_id}/business-units`

## Request

- Base URL: `https://api.cint.com/v1`
- URL: `https://api.cint.com/v1/accounts/{account_id}/users/{user_id}/business-units`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/cint/apis/demand-api/docs/accounts/:account_id/users/:user_id/business-units/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the business unit ID associated with the specified user's account. 

:::info
This API doesn't return all the business units within an account. To get all the business units for an account use `/accounts/{account_id}/business-units`.
:::

## Response `200`

The business unit associated with the specified user and account.

- UserAccountBusinessUnit: A response containing the business unit of the user's account.
  - `business_unit_id` integer: Unique identifier of the business unit.

## Other responses

- `400`: A request is not valid and can't be processed.
- `401`: A request is unauthorized.
- `403`: A requested is forbidden.
- `404`: A requested resource isn't found.
- `500`: A request failed due to an internal error.

---

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