---
title: "Get users by ids"
method: POST
path: "/aggregations"
---

# Get users by ids

`POST /aggregations`

## Request body

- object
  - `userIds` object[]
    - `id` string — The id of the desired user
    - `segmentType` number — The user's segment to check

## Response `200`

Response

- GetAggregationForUserResponse
  - `parameters` object[]
    - `name` string
    - `value` union
      - string
      - number

## Other responses

- `400` — No id or segmentType were found
- `401` — Unauthorized access - Invalid access token
- `403` — Forbidden - Access token missing the required permissions to preform this action
- `404` — Not found - The route or resource were not found
- `500` — Internal server error

---

[API](https://skmtc.net/open-finance/apis/auth.md) · [All operations](https://skmtc.net/open-finance/apis/auth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/open-finance/auth/versions/b4d401b65c3d/schema)
