---
title: "Get entities by IDs as flat list"
method: POST
path: "/api/search/{entity}/by-id/list"
tags: ["Search"]
---

# Get entities by IDs as flat list

`POST /api/search/{entity}/by-id/list`

## 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/search/{entity}/by-id/list`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/sponsorunited/apis/sponsorunited-api/docs/api/search/:entity/by-id/list/post.ts> (a function with typed inputs; its response is checked against the schema)

A dynamic endpoint that returns simple items for the given entity. Supports brand and property entities, returning ID, name, and logo for each item

## Path parameters

- `entity` string, required

## Query parameters

- `SearchEntityByIdRequest` SearchEntityByIdRequest
  - `id` string, required
  - `limit` integer

## Response `200`

An array with simple items.

- GenericEntity[]
  - `id` integer
  - `name` string

---

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